7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/gamelift/model/ContainerOperatingSystem.h>
11#include <aws/gamelift/model/ContainerSchedulingStrategy.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/gamelift/model/ContainerGroupDefinitionStatus.h>
14#include <aws/gamelift/model/ContainerDefinition.h>
66 inline void SetContainerGroupDefinitionArn(
const char* value) { m_containerGroupDefinitionArnHasBeenSet =
true; m_containerGroupDefinitionArn.assign(value); }
115 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
150 inline void SetTotalMemoryLimit(
int value) { m_totalMemoryLimitHasBeenSet =
true; m_totalMemoryLimit = value; }
168 inline void SetTotalCpuLimit(
int value) { m_totalCpuLimitHasBeenSet =
true; m_totalCpuLimit = value; }
234 inline void SetStatusReason(
const char* value) { m_statusReasonHasBeenSet =
true; m_statusReason.assign(value); }
242 bool m_containerGroupDefinitionArnHasBeenSet =
false;
245 bool m_creationTimeHasBeenSet =
false;
248 bool m_operatingSystemHasBeenSet =
false;
251 bool m_nameHasBeenSet =
false;
254 bool m_schedulingStrategyHasBeenSet =
false;
256 int m_totalMemoryLimit;
257 bool m_totalMemoryLimitHasBeenSet =
false;
260 bool m_totalCpuLimitHasBeenSet =
false;
263 bool m_containerDefinitionsHasBeenSet =
false;
266 bool m_statusHasBeenSet =
false;
269 bool m_statusReasonHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreationTime() const
bool CreationTimeHasBeenSet() const
void SetName(const char *value)
int GetTotalMemoryLimit() const
ContainerGroupDefinition & WithName(const Aws::String &value)
ContainerGroupDefinition & WithContainerGroupDefinitionArn(const char *value)
const Aws::Vector< ContainerDefinition > & GetContainerDefinitions() const
bool TotalCpuLimitHasBeenSet() const
bool OperatingSystemHasBeenSet() const
void SetCreationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetName() const
void SetContainerGroupDefinitionArn(const char *value)
ContainerGroupDefinition & WithContainerDefinitions(Aws::Vector< ContainerDefinition > &&value)
void SetContainerGroupDefinitionArn(const Aws::String &value)
ContainerGroupDefinition & WithStatusReason(const char *value)
ContainerGroupDefinition & WithStatus(ContainerGroupDefinitionStatus &&value)
void SetContainerDefinitions(const Aws::Vector< ContainerDefinition > &value)
const ContainerSchedulingStrategy & GetSchedulingStrategy() const
void SetOperatingSystem(const ContainerOperatingSystem &value)
ContainerGroupDefinition & WithOperatingSystem(const ContainerOperatingSystem &value)
ContainerGroupDefinition & WithContainerDefinitions(const Aws::Vector< ContainerDefinition > &value)
ContainerGroupDefinition & WithSchedulingStrategy(ContainerSchedulingStrategy &&value)
bool ContainerGroupDefinitionArnHasBeenSet() const
void SetCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetStatusReason() const
ContainerGroupDefinition & WithStatusReason(const Aws::String &value)
ContainerGroupDefinition & AddContainerDefinitions(ContainerDefinition &&value)
ContainerGroupDefinition & WithTotalMemoryLimit(int value)
ContainerGroupDefinition & WithTotalCpuLimit(int value)
bool SchedulingStrategyHasBeenSet() const
void SetStatus(ContainerGroupDefinitionStatus &&value)
ContainerGroupDefinition & AddContainerDefinitions(const ContainerDefinition &value)
ContainerGroupDefinition & WithOperatingSystem(ContainerOperatingSystem &&value)
void SetTotalCpuLimit(int value)
ContainerGroupDefinition & WithStatusReason(Aws::String &&value)
const ContainerOperatingSystem & GetOperatingSystem() const
bool NameHasBeenSet() const
ContainerGroupDefinition & WithCreationTime(const Aws::Utils::DateTime &value)
bool TotalMemoryLimitHasBeenSet() const
ContainerGroupDefinition & WithContainerGroupDefinitionArn(const Aws::String &value)
void SetContainerDefinitions(Aws::Vector< ContainerDefinition > &&value)
void SetContainerGroupDefinitionArn(Aws::String &&value)
void SetSchedulingStrategy(ContainerSchedulingStrategy &&value)
const ContainerGroupDefinitionStatus & GetStatus() const
ContainerGroupDefinition & WithCreationTime(Aws::Utils::DateTime &&value)
ContainerGroupDefinition & WithName(Aws::String &&value)
ContainerGroupDefinition & WithName(const char *value)
bool ContainerDefinitionsHasBeenSet() const
const Aws::String & GetContainerGroupDefinitionArn() const
AWS_GAMELIFT_API ContainerGroupDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusReasonHasBeenSet() const
void SetStatusReason(const Aws::String &value)
AWS_GAMELIFT_API ContainerGroupDefinition(Aws::Utils::Json::JsonView jsonValue)
void SetStatusReason(Aws::String &&value)
void SetName(const Aws::String &value)
void SetTotalMemoryLimit(int value)
ContainerGroupDefinition & WithSchedulingStrategy(const ContainerSchedulingStrategy &value)
int GetTotalCpuLimit() const
void SetSchedulingStrategy(const ContainerSchedulingStrategy &value)
void SetOperatingSystem(ContainerOperatingSystem &&value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GAMELIFT_API ContainerGroupDefinition()
void SetStatusReason(const char *value)
void SetStatus(const ContainerGroupDefinitionStatus &value)
ContainerGroupDefinition & WithStatus(const ContainerGroupDefinitionStatus &value)
void SetName(Aws::String &&value)
bool StatusHasBeenSet() const
ContainerGroupDefinition & WithContainerGroupDefinitionArn(Aws::String &&value)
ContainerGroupDefinitionStatus
ContainerSchedulingStrategy
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue