7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gamelift/model/ContainerMemoryLimits.h>
10#include <aws/gamelift/model/ContainerPortConfiguration.h>
11#include <aws/gamelift/model/ContainerHealthCheck.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/gamelift/model/ContainerEnvironment.h>
14#include <aws/gamelift/model/ContainerDependency.h>
63 inline void SetContainerName(
const char* value) { m_containerNameHasBeenSet =
true; m_containerName.assign(value); }
78 inline void SetImageUri(
const char* value) { m_imageUriHasBeenSet =
true; m_imageUri.assign(value); }
94 inline void SetResolvedImageDigest(
const char* value) { m_resolvedImageDigestHasBeenSet =
true; m_resolvedImageDigest.assign(value); }
139 inline int GetCpu()
const{
return m_cpu; }
141 inline void SetCpu(
int value) { m_cpuHasBeenSet =
true; m_cpu = value; }
187 inline void SetEssential(
bool value) { m_essentialHasBeenSet =
true; m_essential = value; }
220 inline void SetWorkingDirectory(
const char* value) { m_workingDirectoryHasBeenSet =
true; m_workingDirectory.assign(value); }
261 bool m_containerNameHasBeenSet =
false;
264 bool m_imageUriHasBeenSet =
false;
267 bool m_resolvedImageDigestHasBeenSet =
false;
270 bool m_memoryLimitsHasBeenSet =
false;
273 bool m_portConfigurationHasBeenSet =
false;
276 bool m_cpuHasBeenSet =
false;
279 bool m_healthCheckHasBeenSet =
false;
282 bool m_commandHasBeenSet =
false;
285 bool m_essentialHasBeenSet =
false;
288 bool m_entryPointHasBeenSet =
false;
291 bool m_workingDirectoryHasBeenSet =
false;
294 bool m_environmentHasBeenSet =
false;
297 bool m_dependsOnHasBeenSet =
false;
void SetHealthCheck(ContainerHealthCheck &&value)
ContainerDefinition & WithCommand(Aws::Vector< Aws::String > &&value)
void SetResolvedImageDigest(const char *value)
const Aws::String & GetWorkingDirectory() const
ContainerDefinition & WithContainerName(const char *value)
void SetImageUri(const char *value)
bool EntryPointHasBeenSet() const
void SetImageUri(Aws::String &&value)
ContainerDefinition & WithWorkingDirectory(const Aws::String &value)
const Aws::Vector< Aws::String > & GetEntryPoint() const
void SetWorkingDirectory(const char *value)
bool EssentialHasBeenSet() const
AWS_GAMELIFT_API ContainerDefinition()
void SetContainerName(const Aws::String &value)
void SetMemoryLimits(const ContainerMemoryLimits &value)
void SetEntryPoint(const Aws::Vector< Aws::String > &value)
void SetHealthCheck(const ContainerHealthCheck &value)
ContainerDefinition & WithMemoryLimits(ContainerMemoryLimits &&value)
void SetPortConfiguration(ContainerPortConfiguration &&value)
ContainerDefinition & WithResolvedImageDigest(const Aws::String &value)
void SetResolvedImageDigest(const Aws::String &value)
const Aws::String & GetContainerName() const
void SetPortConfiguration(const ContainerPortConfiguration &value)
ContainerDefinition & WithDependsOn(const Aws::Vector< ContainerDependency > &value)
ContainerDefinition & AddCommand(Aws::String &&value)
ContainerDefinition & AddCommand(const Aws::String &value)
const Aws::String & GetImageUri() const
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
bool PortConfigurationHasBeenSet() const
void SetEnvironment(Aws::Vector< ContainerEnvironment > &&value)
void SetDependsOn(const Aws::Vector< ContainerDependency > &value)
ContainerDefinition & WithCommand(const Aws::Vector< Aws::String > &value)
void SetWorkingDirectory(const Aws::String &value)
ContainerDefinition & WithMemoryLimits(const ContainerMemoryLimits &value)
ContainerDefinition & WithEssential(bool value)
ContainerDefinition & AddEntryPoint(Aws::String &&value)
void SetWorkingDirectory(Aws::String &&value)
bool ContainerNameHasBeenSet() const
ContainerDefinition & WithWorkingDirectory(Aws::String &&value)
bool HealthCheckHasBeenSet() const
bool CpuHasBeenSet() const
void SetCommand(const Aws::Vector< Aws::String > &value)
bool CommandHasBeenSet() const
bool ImageUriHasBeenSet() const
ContainerDefinition & WithImageUri(const Aws::String &value)
bool EnvironmentHasBeenSet() const
ContainerDefinition & WithWorkingDirectory(const char *value)
void SetEntryPoint(Aws::Vector< Aws::String > &&value)
void SetCommand(Aws::Vector< Aws::String > &&value)
const Aws::Vector< ContainerDependency > & GetDependsOn() const
bool ResolvedImageDigestHasBeenSet() const
bool DependsOnHasBeenSet() const
const ContainerPortConfiguration & GetPortConfiguration() const
ContainerDefinition & AddCommand(const char *value)
ContainerDefinition & WithDependsOn(Aws::Vector< ContainerDependency > &&value)
ContainerDefinition & AddEnvironment(const ContainerEnvironment &value)
const ContainerHealthCheck & GetHealthCheck() const
void SetImageUri(const Aws::String &value)
ContainerDefinition & WithHealthCheck(ContainerHealthCheck &&value)
void SetDependsOn(Aws::Vector< ContainerDependency > &&value)
const ContainerMemoryLimits & GetMemoryLimits() const
void SetEnvironment(const Aws::Vector< ContainerEnvironment > &value)
ContainerDefinition & WithImageUri(Aws::String &&value)
ContainerDefinition & WithContainerName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetCommand() const
ContainerDefinition & WithPortConfiguration(ContainerPortConfiguration &&value)
ContainerDefinition & WithResolvedImageDigest(const char *value)
ContainerDefinition & WithContainerName(const Aws::String &value)
ContainerDefinition & WithResolvedImageDigest(Aws::String &&value)
const Aws::Vector< ContainerEnvironment > & GetEnvironment() const
ContainerDefinition & AddEntryPoint(const Aws::String &value)
void SetMemoryLimits(ContainerMemoryLimits &&value)
ContainerDefinition & AddEnvironment(ContainerEnvironment &&value)
ContainerDefinition & AddDependsOn(ContainerDependency &&value)
bool GetEssential() const
ContainerDefinition & WithEntryPoint(const Aws::Vector< Aws::String > &value)
void SetResolvedImageDigest(Aws::String &&value)
void SetEssential(bool value)
bool WorkingDirectoryHasBeenSet() const
ContainerDefinition & AddEntryPoint(const char *value)
void SetContainerName(const char *value)
ContainerDefinition & WithEnvironment(const Aws::Vector< ContainerEnvironment > &value)
ContainerDefinition & WithCpu(int value)
ContainerDefinition & WithHealthCheck(const ContainerHealthCheck &value)
AWS_GAMELIFT_API ContainerDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContainerName(Aws::String &&value)
ContainerDefinition & AddDependsOn(const ContainerDependency &value)
ContainerDefinition & WithPortConfiguration(const ContainerPortConfiguration &value)
ContainerDefinition & WithEnvironment(Aws::Vector< ContainerEnvironment > &&value)
ContainerDefinition & WithEntryPoint(Aws::Vector< Aws::String > &&value)
ContainerDefinition & WithImageUri(const char *value)
AWS_GAMELIFT_API ContainerDefinition(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetResolvedImageDigest() const
bool MemoryLimitsHasBeenSet() 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