7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
19namespace GameLiftStreams {
51 template <
typename LocationNameT = Aws::String>
53 m_locationNameHasBeenSet =
true;
54 m_locationName = std::forward<LocationNameT>(value);
56 template <
typename LocationNameT = Aws::String>
72 m_alwaysOnCapacityHasBeenSet =
true;
73 m_alwaysOnCapacity = value;
91 m_targetIdleCapacityHasBeenSet =
true;
92 m_targetIdleCapacity = value;
110 m_maximumCapacityHasBeenSet =
true;
111 m_maximumCapacity = value;
121 int m_alwaysOnCapacity{0};
123 int m_targetIdleCapacity{0};
125 int m_maximumCapacity{0};
126 bool m_locationNameHasBeenSet =
false;
127 bool m_alwaysOnCapacityHasBeenSet =
false;
128 bool m_targetIdleCapacityHasBeenSet =
false;
129 bool m_maximumCapacityHasBeenSet =
false;
bool AlwaysOnCapacityHasBeenSet() const
AWS_GAMELIFTSTREAMS_API LocationConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLocationName() const
bool TargetIdleCapacityHasBeenSet() const
AWS_GAMELIFTSTREAMS_API LocationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAlwaysOnCapacity(int value)
void SetLocationName(LocationNameT &&value)
int GetMaximumCapacity() const
LocationConfiguration & WithAlwaysOnCapacity(int value)
void SetMaximumCapacity(int value)
void SetTargetIdleCapacity(int value)
bool LocationNameHasBeenSet() const
int GetTargetIdleCapacity() const
int GetAlwaysOnCapacity() const
LocationConfiguration & WithLocationName(LocationNameT &&value)
AWS_GAMELIFTSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const
LocationConfiguration & WithTargetIdleCapacity(int value)
bool MaximumCapacityHasBeenSet() const
AWS_GAMELIFTSTREAMS_API LocationConfiguration()=default
LocationConfiguration & WithMaximumCapacity(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue