7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
32 AWS_GAMELIFT_API
FleetUtilization(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_GAMELIFT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 template <
typename FleetIdT = Aws::String>
44 m_fleetIdHasBeenSet =
true;
45 m_fleetId = std::forward<FleetIdT>(value);
47 template <
typename FleetIdT = Aws::String>
64 template <
typename FleetArnT = Aws::String>
66 m_fleetArnHasBeenSet =
true;
67 m_fleetArn = std::forward<FleetArnT>(value);
69 template <
typename FleetArnT = Aws::String>
84 m_activeServerProcessCountHasBeenSet =
true;
85 m_activeServerProcessCount = value;
101 m_activeGameSessionCountHasBeenSet =
true;
102 m_activeGameSessionCount = value;
118 m_currentPlayerSessionCountHasBeenSet =
true;
119 m_currentPlayerSessionCount = value;
135 m_maximumPlayerSessionCountHasBeenSet =
true;
136 m_maximumPlayerSessionCount = value;
151 template <
typename LocationT = Aws::String>
153 m_locationHasBeenSet =
true;
154 m_location = std::forward<LocationT>(value);
156 template <
typename LocationT = Aws::String>
167 int64_t m_activeServerProcessCount{0};
169 int64_t m_activeGameSessionCount{0};
171 int64_t m_currentPlayerSessionCount{0};
173 int64_t m_maximumPlayerSessionCount{0};
176 bool m_fleetIdHasBeenSet =
false;
177 bool m_fleetArnHasBeenSet =
false;
178 bool m_activeServerProcessCountHasBeenSet =
false;
179 bool m_activeGameSessionCountHasBeenSet =
false;
180 bool m_currentPlayerSessionCountHasBeenSet =
false;
181 bool m_maximumPlayerSessionCountHasBeenSet =
false;
182 bool m_locationHasBeenSet =
false;
const Aws::String & GetFleetArn() const
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetFleetId() const
int64_t GetActiveServerProcessCount() const
bool LocationHasBeenSet() const
FleetUtilization & WithActiveServerProcessCount(int64_t value)
bool CurrentPlayerSessionCountHasBeenSet() const
AWS_GAMELIFT_API FleetUtilization(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetActiveServerProcessCount(int64_t value)
FleetUtilization & WithLocation(LocationT &&value)
int64_t GetCurrentPlayerSessionCount() const
void SetFleetArn(FleetArnT &&value)
bool FleetArnHasBeenSet() const
AWS_GAMELIFT_API FleetUtilization()=default
void SetCurrentPlayerSessionCount(int64_t value)
void SetLocation(LocationT &&value)
void SetActiveGameSessionCount(int64_t value)
bool MaximumPlayerSessionCountHasBeenSet() const
FleetUtilization & WithCurrentPlayerSessionCount(int64_t value)
AWS_GAMELIFT_API FleetUtilization & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
int64_t GetActiveGameSessionCount() const
bool ActiveGameSessionCountHasBeenSet() const
FleetUtilization & WithFleetArn(FleetArnT &&value)
const Aws::String & GetLocation() const
void SetFleetId(FleetIdT &&value)
FleetUtilization & WithActiveGameSessionCount(int64_t value)
void SetMaximumPlayerSessionCount(int64_t value)
FleetUtilization & WithFleetId(FleetIdT &&value)
bool FleetIdHasBeenSet() const
int64_t GetMaximumPlayerSessionCount() const
bool ActiveServerProcessCountHasBeenSet() const
FleetUtilization & WithMaximumPlayerSessionCount(int64_t value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String