7#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace GameLiftStreams
57 template<
typename LocationNameT = Aws::String>
58 void SetLocationName(LocationNameT&& value) { m_locationNameHasBeenSet =
true; m_locationName = std::forward<LocationNameT>(value); }
59 template<
typename LocationNameT = Aws::String>
72 inline void SetAlwaysOnCapacity(
int value) { m_alwaysOnCapacityHasBeenSet =
true; m_alwaysOnCapacity = value; }
86 inline void SetOnDemandCapacity(
int value) { m_onDemandCapacityHasBeenSet =
true; m_onDemandCapacity = value; }
92 bool m_locationNameHasBeenSet =
false;
94 int m_alwaysOnCapacity{0};
95 bool m_alwaysOnCapacityHasBeenSet =
false;
97 int m_onDemandCapacity{0};
98 bool m_onDemandCapacityHasBeenSet =
false;
bool AlwaysOnCapacityHasBeenSet() const
AWS_GAMELIFTSTREAMS_API LocationConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLocationName() const
LocationConfiguration & WithOnDemandCapacity(int value)
AWS_GAMELIFTSTREAMS_API LocationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAlwaysOnCapacity(int value)
void SetLocationName(LocationNameT &&value)
bool OnDemandCapacityHasBeenSet() const
LocationConfiguration & WithAlwaysOnCapacity(int value)
bool LocationNameHasBeenSet() const
void SetOnDemandCapacity(int value)
int GetAlwaysOnCapacity() const
LocationConfiguration & WithLocationName(LocationNameT &&value)
AWS_GAMELIFTSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const
int GetOnDemandCapacity() const
AWS_GAMELIFTSTREAMS_API LocationConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue