7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ecs/model/KeyValuePair.h>
11#include <aws/ecs/model/EnvironmentFile.h>
12#include <aws/ecs/model/ResourceRequirement.h>
61 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
122 inline int GetCpu()
const{
return m_cpu; }
124 inline void SetCpu(
int value) { m_cpuHasBeenSet =
true; m_cpu = value; }
137 inline void SetMemory(
int value) { m_memoryHasBeenSet =
true; m_memory = value; }
149 inline void SetMemoryReservation(
int value) { m_memoryReservationHasBeenSet =
true; m_memoryReservation = value; }
171 bool m_nameHasBeenSet =
false;
174 bool m_commandHasBeenSet =
false;
177 bool m_environmentHasBeenSet =
false;
180 bool m_environmentFilesHasBeenSet =
false;
183 bool m_cpuHasBeenSet =
false;
186 bool m_memoryHasBeenSet =
false;
188 int m_memoryReservation;
189 bool m_memoryReservationHasBeenSet =
false;
192 bool m_resourceRequirementsHasBeenSet =
false;
void SetCommand(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetCommand() const
bool CpuHasBeenSet() const
ContainerOverride & WithCommand(Aws::Vector< Aws::String > &&value)
AWS_ECS_API ContainerOverride()
void SetMemory(int value)
void SetEnvironment(const Aws::Vector< KeyValuePair > &value)
void SetEnvironment(Aws::Vector< KeyValuePair > &&value)
void SetResourceRequirements(const Aws::Vector< ResourceRequirement > &value)
void SetEnvironmentFiles(const Aws::Vector< EnvironmentFile > &value)
bool CommandHasBeenSet() const
ContainerOverride & AddEnvironment(const KeyValuePair &value)
void SetEnvironmentFiles(Aws::Vector< EnvironmentFile > &&value)
ContainerOverride & AddEnvironment(KeyValuePair &&value)
AWS_ECS_API ContainerOverride & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetMemoryReservation() const
ContainerOverride & WithName(const char *value)
ContainerOverride & AddCommand(const Aws::String &value)
void SetName(Aws::String &&value)
void SetMemoryReservation(int value)
bool EnvironmentHasBeenSet() const
const Aws::String & GetName() const
bool NameHasBeenSet() const
ContainerOverride & AddEnvironmentFiles(const EnvironmentFile &value)
bool MemoryReservationHasBeenSet() const
ContainerOverride & AddEnvironmentFiles(EnvironmentFile &&value)
ContainerOverride & AddResourceRequirements(ResourceRequirement &&value)
bool EnvironmentFilesHasBeenSet() const
ContainerOverride & WithName(Aws::String &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< EnvironmentFile > & GetEnvironmentFiles() const
bool ResourceRequirementsHasBeenSet() const
ContainerOverride & AddResourceRequirements(const ResourceRequirement &value)
ContainerOverride & WithResourceRequirements(Aws::Vector< ResourceRequirement > &&value)
ContainerOverride & WithName(const Aws::String &value)
ContainerOverride & WithEnvironmentFiles(const Aws::Vector< EnvironmentFile > &value)
const Aws::Vector< ResourceRequirement > & GetResourceRequirements() const
AWS_ECS_API ContainerOverride(Aws::Utils::Json::JsonView jsonValue)
ContainerOverride & WithCpu(int value)
ContainerOverride & WithResourceRequirements(const Aws::Vector< ResourceRequirement > &value)
ContainerOverride & AddCommand(const char *value)
ContainerOverride & WithEnvironmentFiles(Aws::Vector< EnvironmentFile > &&value)
void SetName(const char *value)
ContainerOverride & AddCommand(Aws::String &&value)
void SetCommand(Aws::Vector< Aws::String > &&value)
ContainerOverride & WithMemory(int value)
ContainerOverride & WithEnvironment(const Aws::Vector< KeyValuePair > &value)
ContainerOverride & WithMemoryReservation(int value)
void SetName(const Aws::String &value)
void SetResourceRequirements(Aws::Vector< ResourceRequirement > &&value)
ContainerOverride & WithCommand(const Aws::Vector< Aws::String > &value)
const Aws::Vector< KeyValuePair > & GetEnvironment() const
ContainerOverride & WithEnvironment(Aws::Vector< KeyValuePair > &&value)
bool MemoryHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue