7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/gamelift/GameLift_EXPORTS.h>
11#include <aws/gamelift/model/ContainerGroupDefinitionStatus.h>
12#include <aws/gamelift/model/ContainerGroupType.h>
13#include <aws/gamelift/model/ContainerOperatingSystem.h>
14#include <aws/gamelift/model/GameServerContainerDefinition.h>
15#include <aws/gamelift/model/SupportContainerDefinition.h>
63 template <
typename ContainerGroupDefinitionArnT = Aws::String>
65 m_containerGroupDefinitionArnHasBeenSet =
true;
66 m_containerGroupDefinitionArn = std::forward<ContainerGroupDefinitionArnT>(value);
68 template <
typename ContainerGroupDefinitionArnT = Aws::String>
83 template <
typename CreationTimeT = Aws::Utils::DateTime>
85 m_creationTimeHasBeenSet =
true;
86 m_creationTime = std::forward<CreationTimeT>(value);
88 template <
typename CreationTimeT = Aws::Utils::DateTime>
110 m_operatingSystemHasBeenSet =
true;
111 m_operatingSystem = value;
126 template <
typename NameT = Aws::String>
128 m_nameHasBeenSet =
true;
129 m_name = std::forward<NameT>(value);
131 template <
typename NameT = Aws::String>
133 SetName(std::forward<NameT>(value));
146 m_containerGroupTypeHasBeenSet =
true;
147 m_containerGroupType = value;
166 m_totalMemoryLimitMebibytesHasBeenSet =
true;
167 m_totalMemoryLimitMebibytes = value;
186 m_totalVcpuLimitHasBeenSet =
true;
187 m_totalVcpuLimit = value;
204 template <
typename GameServerContainerDefinitionT = GameServerContainerDefinition>
206 m_gameServerContainerDefinitionHasBeenSet =
true;
207 m_gameServerContainerDefinition = std::forward<GameServerContainerDefinitionT>(value);
209 template <
typename GameServerContainerDefinitionT = GameServerContainerDefinition>
224 template <
typename SupportContainerDefinitionsT = Aws::Vector<SupportContainerDefinition>>
226 m_supportContainerDefinitionsHasBeenSet =
true;
227 m_supportContainerDefinitions = std::forward<SupportContainerDefinitionsT>(value);
229 template <
typename SupportContainerDefinitionsT = Aws::Vector<SupportContainerDefinition>>
234 template <
typename SupportContainerDefinitionsT = SupportContainerDefinition>
236 m_supportContainerDefinitionsHasBeenSet =
true;
237 m_supportContainerDefinitions.emplace_back(std::forward<SupportContainerDefinitionsT>(value));
252 m_versionNumberHasBeenSet =
true;
253 m_versionNumber = value;
268 template <
typename VersionDescriptionT = Aws::String>
270 m_versionDescriptionHasBeenSet =
true;
271 m_versionDescription = std::forward<VersionDescriptionT>(value);
273 template <
typename VersionDescriptionT = Aws::String>
298 m_statusHasBeenSet =
true;
330 template <
typename StatusReasonT = Aws::String>
332 m_statusReasonHasBeenSet =
true;
333 m_statusReason = std::forward<StatusReasonT>(value);
335 template <
typename StatusReasonT = Aws::String>
352 int m_totalMemoryLimitMebibytes{0};
354 double m_totalVcpuLimit{0.0};
356 GameServerContainerDefinition m_gameServerContainerDefinition;
360 int m_versionNumber{0};
367 bool m_containerGroupDefinitionArnHasBeenSet =
false;
368 bool m_creationTimeHasBeenSet =
false;
369 bool m_operatingSystemHasBeenSet =
false;
370 bool m_nameHasBeenSet =
false;
371 bool m_containerGroupTypeHasBeenSet =
false;
372 bool m_totalMemoryLimitMebibytesHasBeenSet =
false;
373 bool m_totalVcpuLimitHasBeenSet =
false;
374 bool m_gameServerContainerDefinitionHasBeenSet =
false;
375 bool m_supportContainerDefinitionsHasBeenSet =
false;
376 bool m_versionNumberHasBeenSet =
false;
377 bool m_versionDescriptionHasBeenSet =
false;
378 bool m_statusHasBeenSet =
false;
379 bool m_statusReasonHasBeenSet =
false;
void SetContainerGroupType(ContainerGroupType value)
void SetStatusReason(StatusReasonT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
bool CreationTimeHasBeenSet() const
const Aws::Vector< SupportContainerDefinition > & GetSupportContainerDefinitions() const
ContainerGroupDefinition & WithVersionDescription(VersionDescriptionT &&value)
bool OperatingSystemHasBeenSet() const
const Aws::String & GetName() const
void SetVersionNumber(int value)
int GetVersionNumber() const
ContainerGroupDefinition & WithOperatingSystem(ContainerOperatingSystem value)
int GetTotalMemoryLimitMebibytes() const
const GameServerContainerDefinition & GetGameServerContainerDefinition() const
bool VersionNumberHasBeenSet() const
bool SupportContainerDefinitionsHasBeenSet() const
ContainerGroupDefinition & WithTotalVcpuLimit(double value)
double GetTotalVcpuLimit() const
void SetTotalMemoryLimitMebibytes(int value)
bool GameServerContainerDefinitionHasBeenSet() const
bool ContainerGroupDefinitionArnHasBeenSet() const
const Aws::String & GetStatusReason() const
ContainerGroupDefinition & WithContainerGroupType(ContainerGroupType value)
void SetSupportContainerDefinitions(SupportContainerDefinitionsT &&value)
ContainerGroupDefinition & WithContainerGroupDefinitionArn(ContainerGroupDefinitionArnT &&value)
ContainerGroupDefinition & WithStatus(ContainerGroupDefinitionStatus value)
ContainerGroupDefinition & WithName(NameT &&value)
ContainerGroupDefinition & WithVersionNumber(int value)
AWS_GAMELIFT_API ContainerGroupDefinition()=default
ContainerGroupDefinition & AddSupportContainerDefinitions(SupportContainerDefinitionsT &&value)
const Aws::String & GetVersionDescription() const
void SetTotalVcpuLimit(double value)
bool TotalVcpuLimitHasBeenSet() const
bool NameHasBeenSet() const
void SetOperatingSystem(ContainerOperatingSystem value)
bool VersionDescriptionHasBeenSet() const
ContainerGroupDefinition & WithSupportContainerDefinitions(SupportContainerDefinitionsT &&value)
const Aws::String & GetContainerGroupDefinitionArn() const
void SetName(NameT &&value)
ContainerGroupDefinition & WithGameServerContainerDefinition(GameServerContainerDefinitionT &&value)
AWS_GAMELIFT_API ContainerGroupDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusReasonHasBeenSet() const
ContainerGroupDefinition & WithStatusReason(StatusReasonT &&value)
void SetGameServerContainerDefinition(GameServerContainerDefinitionT &&value)
void SetCreationTime(CreationTimeT &&value)
AWS_GAMELIFT_API ContainerGroupDefinition(Aws::Utils::Json::JsonView jsonValue)
bool ContainerGroupTypeHasBeenSet() const
bool TotalMemoryLimitMebibytesHasBeenSet() const
ContainerGroupDefinition & WithTotalMemoryLimitMebibytes(int value)
ContainerGroupDefinitionStatus GetStatus() const
ContainerOperatingSystem GetOperatingSystem() const
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
ContainerGroupType GetContainerGroupType() const
ContainerGroupDefinition & WithCreationTime(CreationTimeT &&value)
void SetVersionDescription(VersionDescriptionT &&value)
bool StatusHasBeenSet() const
void SetContainerGroupDefinitionArn(ContainerGroupDefinitionArnT &&value)
void SetStatus(ContainerGroupDefinitionStatus value)
ContainerGroupDefinitionStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue