7#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace GameLiftStreams
55 inline void SetAlwaysOnCapacity(
int value) { m_alwaysOnCapacityHasBeenSet =
true; m_alwaysOnCapacity = value; }
69 template<
typename LocationNameT = Aws::String>
70 void SetLocationName(LocationNameT&& value) { m_locationNameHasBeenSet =
true; m_locationName = std::forward<LocationNameT>(value); }
71 template<
typename LocationNameT = Aws::String>
84 inline void SetOnDemandCapacity(
int value) { m_onDemandCapacityHasBeenSet =
true; m_onDemandCapacity = value; }
89 int m_alwaysOnCapacity{0};
90 bool m_alwaysOnCapacityHasBeenSet =
false;
93 bool m_locationNameHasBeenSet =
false;
95 int m_onDemandCapacity{0};
96 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