7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
9#include <aws/gameliftstreams/model/StreamGroupLocationStatus.h>
20namespace GameLiftStreams {
46 template <
typename LocationNameT = Aws::String>
48 m_locationNameHasBeenSet =
true;
49 m_locationName = std::forward<LocationNameT>(value);
51 template <
typename LocationNameT = Aws::String>
76 m_statusHasBeenSet =
true;
94 m_alwaysOnCapacityHasBeenSet =
true;
95 m_alwaysOnCapacity = value;
114 m_onDemandCapacityHasBeenSet =
true;
115 m_onDemandCapacity = value;
133 m_targetIdleCapacityHasBeenSet =
true;
134 m_targetIdleCapacity = value;
152 m_maximumCapacityHasBeenSet =
true;
153 m_maximumCapacity = value;
174 m_requestedCapacityHasBeenSet =
true;
175 m_requestedCapacity = value;
200 m_allocatedCapacityHasBeenSet =
true;
201 m_allocatedCapacity = value;
218 m_idleCapacityHasBeenSet =
true;
219 m_idleCapacity = value;
231 int m_alwaysOnCapacity{0};
233 int m_onDemandCapacity{0};
235 int m_targetIdleCapacity{0};
237 int m_maximumCapacity{0};
239 int m_requestedCapacity{0};
241 int m_allocatedCapacity{0};
243 int m_idleCapacity{0};
244 bool m_locationNameHasBeenSet =
false;
245 bool m_statusHasBeenSet =
false;
246 bool m_alwaysOnCapacityHasBeenSet =
false;
247 bool m_onDemandCapacityHasBeenSet =
false;
248 bool m_targetIdleCapacityHasBeenSet =
false;
249 bool m_maximumCapacityHasBeenSet =
false;
250 bool m_requestedCapacityHasBeenSet =
false;
251 bool m_allocatedCapacityHasBeenSet =
false;
252 bool m_idleCapacityHasBeenSet =
false;
const Aws::String & GetLocationName() const
LocationState & WithAlwaysOnCapacity(int value)
void SetOnDemandCapacity(int value)
void SetLocationName(LocationNameT &&value)
AWS_GAMELIFTSTREAMS_API LocationState & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFTSTREAMS_API LocationState()=default
void SetAlwaysOnCapacity(int value)
int GetRequestedCapacity() const
LocationState & WithLocationName(LocationNameT &&value)
bool AlwaysOnCapacityHasBeenSet() const
bool MaximumCapacityHasBeenSet() const
bool TargetIdleCapacityHasBeenSet() const
int GetAlwaysOnCapacity() const
void SetTargetIdleCapacity(int value)
AWS_GAMELIFTSTREAMS_API LocationState(Aws::Utils::Json::JsonView jsonValue)
void SetRequestedCapacity(int value)
bool OnDemandCapacityHasBeenSet() const
AWS_GAMELIFTSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const
bool AllocatedCapacityHasBeenSet() const
LocationState & WithOnDemandCapacity(int value)
LocationState & WithRequestedCapacity(int value)
bool RequestedCapacityHasBeenSet() const
void SetStatus(StreamGroupLocationStatus value)
LocationState & WithMaximumCapacity(int value)
int GetTargetIdleCapacity() const
LocationState & WithAllocatedCapacity(int value)
void SetAllocatedCapacity(int value)
bool LocationNameHasBeenSet() const
LocationState & WithTargetIdleCapacity(int value)
LocationState & WithStatus(StreamGroupLocationStatus value)
void SetMaximumCapacity(int value)
bool IdleCapacityHasBeenSet() const
bool StatusHasBeenSet() const
int GetAllocatedCapacity() const
void SetIdleCapacity(int value)
int GetIdleCapacity() const
int GetMaximumCapacity() const
LocationState & WithIdleCapacity(int value)
StreamGroupLocationStatus GetStatus() const
int GetOnDemandCapacity() const
StreamGroupLocationStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue