7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pipes/model/EcsEnvironmentVariable.h>
11#include <aws/pipes/model/EcsEnvironmentFile.h>
12#include <aws/pipes/model/EcsResourceRequirement.h>
71 inline int GetCpu()
const{
return m_cpu; }
73 inline void SetCpu(
int value) { m_cpuHasBeenSet =
true; m_cpu = value; }
118 inline void SetMemory(
int value) { m_memoryHasBeenSet =
true; m_memory = value; }
130 inline void SetMemoryReservation(
int value) { m_memoryReservationHasBeenSet =
true; m_memoryReservation = value; }
143 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
167 bool m_commandHasBeenSet =
false;
170 bool m_cpuHasBeenSet =
false;
173 bool m_environmentHasBeenSet =
false;
176 bool m_environmentFilesHasBeenSet =
false;
179 bool m_memoryHasBeenSet =
false;
181 int m_memoryReservation;
182 bool m_memoryReservationHasBeenSet =
false;
185 bool m_nameHasBeenSet =
false;
188 bool m_resourceRequirementsHasBeenSet =
false;
bool NameHasBeenSet() const
void SetName(const char *value)
EcsContainerOverride & AddResourceRequirements(EcsResourceRequirement &&value)
EcsContainerOverride & AddEnvironmentFiles(EcsEnvironmentFile &&value)
const Aws::Vector< EcsResourceRequirement > & GetResourceRequirements() const
const Aws::String & GetName() const
void SetMemory(int value)
EcsContainerOverride & AddEnvironment(EcsEnvironmentVariable &&value)
EcsContainerOverride & WithEnvironmentFiles(const Aws::Vector< EcsEnvironmentFile > &value)
void SetName(const Aws::String &value)
bool EnvironmentHasBeenSet() const
EcsContainerOverride & WithName(const char *value)
bool CpuHasBeenSet() const
bool EnvironmentFilesHasBeenSet() const
const Aws::Vector< Aws::String > & GetCommand() const
void SetEnvironment(Aws::Vector< EcsEnvironmentVariable > &&value)
void SetEnvironmentFiles(const Aws::Vector< EcsEnvironmentFile > &value)
EcsContainerOverride & WithEnvironment(Aws::Vector< EcsEnvironmentVariable > &&value)
int GetMemoryReservation() const
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
EcsContainerOverride & WithResourceRequirements(const Aws::Vector< EcsResourceRequirement > &value)
EcsContainerOverride & AddEnvironmentFiles(const EcsEnvironmentFile &value)
EcsContainerOverride & AddEnvironment(const EcsEnvironmentVariable &value)
EcsContainerOverride & WithEnvironment(const Aws::Vector< EcsEnvironmentVariable > &value)
EcsContainerOverride & WithCommand(Aws::Vector< Aws::String > &&value)
EcsContainerOverride & AddResourceRequirements(const EcsResourceRequirement &value)
EcsContainerOverride & WithResourceRequirements(Aws::Vector< EcsResourceRequirement > &&value)
EcsContainerOverride & WithCpu(int value)
EcsContainerOverride & AddCommand(Aws::String &&value)
EcsContainerOverride & AddCommand(const char *value)
const Aws::Vector< EcsEnvironmentVariable > & GetEnvironment() const
EcsContainerOverride & WithEnvironmentFiles(Aws::Vector< EcsEnvironmentFile > &&value)
bool MemoryHasBeenSet() const
void SetResourceRequirements(const Aws::Vector< EcsResourceRequirement > &value)
bool CommandHasBeenSet() const
void SetCommand(Aws::Vector< Aws::String > &&value)
EcsContainerOverride & WithCommand(const Aws::Vector< Aws::String > &value)
void SetCommand(const Aws::Vector< Aws::String > &value)
EcsContainerOverride & AddCommand(const Aws::String &value)
void SetName(Aws::String &&value)
EcsContainerOverride & WithMemoryReservation(int value)
AWS_PIPES_API EcsContainerOverride & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMemoryReservation(int value)
AWS_PIPES_API EcsContainerOverride()
bool MemoryReservationHasBeenSet() const
EcsContainerOverride & WithName(Aws::String &&value)
void SetResourceRequirements(Aws::Vector< EcsResourceRequirement > &&value)
void SetEnvironmentFiles(Aws::Vector< EcsEnvironmentFile > &&value)
const Aws::Vector< EcsEnvironmentFile > & GetEnvironmentFiles() const
EcsContainerOverride & WithName(const Aws::String &value)
EcsContainerOverride & WithMemory(int value)
AWS_PIPES_API EcsContainerOverride(Aws::Utils::Json::JsonView jsonValue)
bool ResourceRequirementsHasBeenSet() const
void SetEnvironment(const Aws::Vector< EcsEnvironmentVariable > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue