7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/gamelift/model/ContainerSchedulingStrategy.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/gamelift/model/ContainerOperatingSystem.h>
13#include <aws/gamelift/model/ContainerDefinitionInput.h>
14#include <aws/gamelift/model/Tag.h>
51 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
83 inline void SetTotalMemoryLimit(
int value) { m_totalMemoryLimitHasBeenSet =
true; m_totalMemoryLimit = value; }
98 inline void SetTotalCpuLimit(
int value) { m_totalCpuLimitHasBeenSet =
true; m_totalCpuLimit = value; }
162 bool m_nameHasBeenSet =
false;
165 bool m_schedulingStrategyHasBeenSet =
false;
167 int m_totalMemoryLimit;
168 bool m_totalMemoryLimitHasBeenSet =
false;
171 bool m_totalCpuLimitHasBeenSet =
false;
174 bool m_containerDefinitionsHasBeenSet =
false;
177 bool m_operatingSystemHasBeenSet =
false;
180 bool m_tagsHasBeenSet =
false;
void SetName(const Aws::String &value)
CreateContainerGroupDefinitionRequest & WithName(Aws::String &&value)
bool SchedulingStrategyHasBeenSet() const
int GetTotalCpuLimit() const
CreateContainerGroupDefinitionRequest & AddTags(const Tag &value)
void SetTotalMemoryLimit(int value)
bool NameHasBeenSet() const
CreateContainerGroupDefinitionRequest & AddContainerDefinitions(const ContainerDefinitionInput &value)
CreateContainerGroupDefinitionRequest & WithTags(const Aws::Vector< Tag > &value)
CreateContainerGroupDefinitionRequest & AddContainerDefinitions(ContainerDefinitionInput &&value)
bool TagsHasBeenSet() const
const Aws::Vector< ContainerDefinitionInput > & GetContainerDefinitions() const
CreateContainerGroupDefinitionRequest & WithTotalMemoryLimit(int value)
const ContainerSchedulingStrategy & GetSchedulingStrategy() const
void SetSchedulingStrategy(ContainerSchedulingStrategy &&value)
CreateContainerGroupDefinitionRequest & WithName(const Aws::String &value)
void SetName(const char *value)
const Aws::String & GetName() const
void SetOperatingSystem(const ContainerOperatingSystem &value)
CreateContainerGroupDefinitionRequest & WithContainerDefinitions(Aws::Vector< ContainerDefinitionInput > &&value)
bool TotalMemoryLimitHasBeenSet() const
bool TotalCpuLimitHasBeenSet() const
bool OperatingSystemHasBeenSet() const
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSchedulingStrategy(const ContainerSchedulingStrategy &value)
void SetContainerDefinitions(Aws::Vector< ContainerDefinitionInput > &&value)
void SetTags(Aws::Vector< Tag > &&value)
CreateContainerGroupDefinitionRequest & WithName(const char *value)
void SetTotalCpuLimit(int value)
CreateContainerGroupDefinitionRequest & WithContainerDefinitions(const Aws::Vector< ContainerDefinitionInput > &value)
CreateContainerGroupDefinitionRequest & WithTotalCpuLimit(int value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
AWS_GAMELIFT_API CreateContainerGroupDefinitionRequest()
bool ContainerDefinitionsHasBeenSet() const
CreateContainerGroupDefinitionRequest & WithTags(Aws::Vector< Tag > &&value)
void SetContainerDefinitions(const Aws::Vector< ContainerDefinitionInput > &value)
void SetTags(const Aws::Vector< Tag > &value)
CreateContainerGroupDefinitionRequest & WithSchedulingStrategy(ContainerSchedulingStrategy &&value)
CreateContainerGroupDefinitionRequest & WithOperatingSystem(ContainerOperatingSystem &&value)
CreateContainerGroupDefinitionRequest & WithOperatingSystem(const ContainerOperatingSystem &value)
CreateContainerGroupDefinitionRequest & WithSchedulingStrategy(const ContainerSchedulingStrategy &value)
void SetOperatingSystem(ContainerOperatingSystem &&value)
CreateContainerGroupDefinitionRequest & AddTags(Tag &&value)
const Aws::Vector< Tag > & GetTags() const
void SetName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
const ContainerOperatingSystem & GetOperatingSystem() const
int GetTotalMemoryLimit() const
ContainerSchedulingStrategy
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector