7#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gameliftstreams/model/StreamGroupLocationStatus.h>
22namespace GameLiftStreams
51 inline void SetAllocatedCapacity(
int value) { m_allocatedCapacityHasBeenSet =
true; m_allocatedCapacity = value; }
63 inline void SetAlwaysOnCapacity(
int value) { m_alwaysOnCapacityHasBeenSet =
true; m_alwaysOnCapacity = value; }
75 inline void SetIdleCapacity(
int value) { m_idleCapacityHasBeenSet =
true; m_idleCapacity = value; }
89 template<
typename LocationNameT = Aws::String>
90 void SetLocationName(LocationNameT&& value) { m_locationNameHasBeenSet =
true; m_locationName = std::forward<LocationNameT>(value); }
91 template<
typename LocationNameT = Aws::String>
104 inline void SetOnDemandCapacity(
int value) { m_onDemandCapacityHasBeenSet =
true; m_onDemandCapacity = value; }
117 inline void SetRequestedCapacity(
int value) { m_requestedCapacityHasBeenSet =
true; m_requestedCapacity = value; }
142 int m_allocatedCapacity{0};
143 bool m_allocatedCapacityHasBeenSet =
false;
145 int m_alwaysOnCapacity{0};
146 bool m_alwaysOnCapacityHasBeenSet =
false;
148 int m_idleCapacity{0};
149 bool m_idleCapacityHasBeenSet =
false;
152 bool m_locationNameHasBeenSet =
false;
154 int m_onDemandCapacity{0};
155 bool m_onDemandCapacityHasBeenSet =
false;
157 int m_requestedCapacity{0};
158 bool m_requestedCapacityHasBeenSet =
false;
161 bool m_statusHasBeenSet =
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
int GetAlwaysOnCapacity() const
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 & WithAllocatedCapacity(int value)
void SetAllocatedCapacity(int value)
bool LocationNameHasBeenSet() const
LocationState & WithStatus(StreamGroupLocationStatus value)
bool IdleCapacityHasBeenSet() const
bool StatusHasBeenSet() const
int GetAllocatedCapacity() const
void SetIdleCapacity(int value)
int GetIdleCapacity() 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