7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10#include <aws/gamelift/model/EC2InstanceType.h>
36 AWS_GAMELIFT_API
EC2InstanceLimit(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
38 AWS_GAMELIFT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
49 m_eC2InstanceTypeHasBeenSet =
true;
50 m_eC2InstanceType = value;
66 m_currentInstancesHasBeenSet =
true;
67 m_currentInstances = value;
83 m_instanceLimitHasBeenSet =
true;
84 m_instanceLimit = value;
98 template <
typename LocationT = Aws::String>
100 m_locationHasBeenSet =
true;
101 m_location = std::forward<LocationT>(value);
103 template <
typename LocationT = Aws::String>
112 int64_t m_currentInstances{0};
114 int64_t m_instanceLimit{0};
117 bool m_eC2InstanceTypeHasBeenSet =
false;
118 bool m_currentInstancesHasBeenSet =
false;
119 bool m_instanceLimitHasBeenSet =
false;
120 bool m_locationHasBeenSet =
false;
const Aws::String & GetLocation() const
AWS_GAMELIFT_API EC2InstanceLimit()=default
void SetInstanceLimit(int64_t value)
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_GAMELIFT_API EC2InstanceLimit(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
EC2InstanceLimit & WithEC2InstanceType(EC2InstanceType value)
void SetCurrentInstances(int64_t value)
int64_t GetCurrentInstances() const
EC2InstanceType GetEC2InstanceType() const
EC2InstanceLimit & WithLocation(LocationT &&value)
bool CurrentInstancesHasBeenSet() const
EC2InstanceLimit & WithInstanceLimit(int64_t value)
void SetLocation(LocationT &&value)
AWS_GAMELIFT_API EC2InstanceLimit & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool EC2InstanceTypeHasBeenSet() const
bool LocationHasBeenSet() const
void SetEC2InstanceType(EC2InstanceType value)
bool InstanceLimitHasBeenSet() const
int64_t GetInstanceLimit() const
EC2InstanceLimit & WithCurrentInstances(int64_t value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String