7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecs/model/RepositoryCredentials.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ecs/model/ContainerRestartPolicy.h>
12#include <aws/ecs/model/LinuxParameters.h>
13#include <aws/ecs/model/VersionConsistency.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/ecs/model/LogConfiguration.h>
16#include <aws/ecs/model/HealthCheck.h>
17#include <aws/ecs/model/FirelensConfiguration.h>
18#include <aws/ecs/model/PortMapping.h>
19#include <aws/ecs/model/KeyValuePair.h>
20#include <aws/ecs/model/EnvironmentFile.h>
21#include <aws/ecs/model/MountPoint.h>
22#include <aws/ecs/model/VolumeFrom.h>
23#include <aws/ecs/model/Secret.h>
24#include <aws/ecs/model/ContainerDependency.h>
25#include <aws/ecs/model/HostEntry.h>
26#include <aws/ecs/model/Ulimit.h>
27#include <aws/ecs/model/SystemControl.h>
28#include <aws/ecs/model/ResourceRequirement.h>
72 template<
typename NameT = Aws::String>
73 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
74 template<
typename NameT = Aws::String>
112 template<
typename ImageT = Aws::String>
113 void SetImage(ImageT&& value) { m_imageHasBeenSet =
true; m_image = std::forward<ImageT>(value); }
114 template<
typename ImageT = Aws::String>
124 template<
typename RepositoryCredentialsT = RepositoryCredentials>
125 void SetRepositoryCredentials(RepositoryCredentialsT&& value) { m_repositoryCredentialsHasBeenSet =
true; m_repositoryCredentials = std::forward<RepositoryCredentialsT>(value); }
126 template<
typename RepositoryCredentialsT = RepositoryCredentials>
171 inline int GetCpu()
const {
return m_cpu; }
173 inline void SetCpu(
int value) { m_cpuHasBeenSet =
true; m_cpu = value; }
200 inline void SetMemory(
int value) { m_memoryHasBeenSet =
true; m_memory = value; }
234 inline void SetMemoryReservation(
int value) { m_memoryReservationHasBeenSet =
true; m_memoryReservation = value; }
255 template<
typename LinksT = Aws::Vector<Aws::String>>
256 void SetLinks(LinksT&& value) { m_linksHasBeenSet =
true; m_links = std::forward<LinksT>(value); }
257 template<
typename LinksT = Aws::Vector<Aws::String>>
259 template<
typename LinksT = Aws::String>
288 template<
typename PortMappingsT = Aws::Vector<PortMapping>>
289 void SetPortMappings(PortMappingsT&& value) { m_portMappingsHasBeenSet =
true; m_portMappings = std::forward<PortMappingsT>(value); }
290 template<
typename PortMappingsT = Aws::Vector<PortMapping>>
292 template<
typename PortMappingsT = PortMapping>
314 inline void SetEssential(
bool value) { m_essentialHasBeenSet =
true; m_essential = value; }
329 template<
typename RestartPolicyT = ContainerRestartPolicy>
330 void SetRestartPolicy(RestartPolicyT&& value) { m_restartPolicyHasBeenSet =
true; m_restartPolicy = std::forward<RestartPolicyT>(value); }
331 template<
typename RestartPolicyT = ContainerRestartPolicy>
347 template<
typename EntryPo
intT = Aws::Vector<Aws::String>>
348 void SetEntryPoint(EntryPointT&& value) { m_entryPointHasBeenSet =
true; m_entryPoint = std::forward<EntryPointT>(value); }
349 template<
typename EntryPo
intT = Aws::Vector<Aws::String>>
351 template<
typename EntryPo
intT = Aws::String>
364 template<
typename CommandT = Aws::Vector<Aws::String>>
365 void SetCommand(CommandT&& value) { m_commandHasBeenSet =
true; m_command = std::forward<CommandT>(value); }
366 template<
typename CommandT = Aws::Vector<Aws::String>>
368 template<
typename CommandT = Aws::String>
382 template<
typename EnvironmentT = Aws::Vector<KeyValuePair>>
383 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet =
true; m_environment = std::forward<EnvironmentT>(value); }
384 template<
typename EnvironmentT = Aws::Vector<KeyValuePair>>
386 template<
typename EnvironmentT = KeyValuePair>
409 template<
typename EnvironmentFilesT = Aws::Vector<EnvironmentFile>>
410 void SetEnvironmentFiles(EnvironmentFilesT&& value) { m_environmentFilesHasBeenSet =
true; m_environmentFiles = std::forward<EnvironmentFilesT>(value); }
411 template<
typename EnvironmentFilesT = Aws::Vector<EnvironmentFile>>
413 template<
typename EnvironmentFilesT = EnvironmentFile>
428 template<
typename MountPo
intsT = Aws::Vector<MountPo
int>>
429 void SetMountPoints(MountPointsT&& value) { m_mountPointsHasBeenSet =
true; m_mountPoints = std::forward<MountPointsT>(value); }
430 template<
typename MountPo
intsT = Aws::Vector<MountPo
int>>
432 template<
typename MountPo
intsT = MountPo
int>
444 template<
typename VolumesFromT = Aws::Vector<VolumeFrom>>
445 void SetVolumesFrom(VolumesFromT&& value) { m_volumesFromHasBeenSet =
true; m_volumesFrom = std::forward<VolumesFromT>(value); }
446 template<
typename VolumesFromT = Aws::Vector<VolumeFrom>>
448 template<
typename VolumesFromT = VolumeFrom>
461 template<
typename LinuxParametersT = LinuxParameters>
462 void SetLinuxParameters(LinuxParametersT&& value) { m_linuxParametersHasBeenSet =
true; m_linuxParameters = std::forward<LinuxParametersT>(value); }
463 template<
typename LinuxParametersT = LinuxParameters>
476 template<
typename SecretsT = Aws::Vector<Secret>>
477 void SetSecrets(SecretsT&& value) { m_secretsHasBeenSet =
true; m_secrets = std::forward<SecretsT>(value); }
478 template<
typename SecretsT = Aws::Vector<Secret>>
480 template<
typename SecretsT = Secret>
510 template<
typename DependsOnT = Aws::Vector<ContainerDependency>>
511 void SetDependsOn(DependsOnT&& value) { m_dependsOnHasBeenSet =
true; m_dependsOn = std::forward<DependsOnT>(value); }
512 template<
typename DependsOnT = Aws::Vector<ContainerDependency>>
514 template<
typename DependsOnT = ContainerDependency>
551 inline void SetStartTimeout(
int value) { m_startTimeoutHasBeenSet =
true; m_startTimeout = value; }
587 inline void SetStopTimeout(
int value) { m_stopTimeoutHasBeenSet =
true; m_stopTimeout = value; }
619 template<
typename HostnameT = Aws::String>
620 void SetHostname(HostnameT&& value) { m_hostnameHasBeenSet =
true; m_hostname = std::forward<HostnameT>(value); }
621 template<
typename HostnameT = Aws::String>
642 template<
typename UserT = Aws::String>
643 void SetUser(UserT&& value) { m_userHasBeenSet =
true; m_user = std::forward<UserT>(value); }
644 template<
typename UserT = Aws::String>
656 template<
typename WorkingDirectoryT = Aws::String>
657 void SetWorkingDirectory(WorkingDirectoryT&& value) { m_workingDirectoryHasBeenSet =
true; m_workingDirectory = std::forward<WorkingDirectoryT>(value); }
658 template<
typename WorkingDirectoryT = Aws::String>
671 inline void SetDisableNetworking(
bool value) { m_disableNetworkingHasBeenSet =
true; m_disableNetworking = value; }
686 inline void SetPrivileged(
bool value) { m_privilegedHasBeenSet =
true; m_privileged = value; }
713 template<
typename DnsServersT = Aws::Vector<Aws::String>>
714 void SetDnsServers(DnsServersT&& value) { m_dnsServersHasBeenSet =
true; m_dnsServers = std::forward<DnsServersT>(value); }
715 template<
typename DnsServersT = Aws::Vector<Aws::String>>
717 template<
typename DnsServersT = Aws::String>
730 template<
typename DnsSearchDomainsT = Aws::Vector<Aws::String>>
731 void SetDnsSearchDomains(DnsSearchDomainsT&& value) { m_dnsSearchDomainsHasBeenSet =
true; m_dnsSearchDomains = std::forward<DnsSearchDomainsT>(value); }
732 template<
typename DnsSearchDomainsT = Aws::Vector<Aws::String>>
734 template<
typename DnsSearchDomainsT = Aws::String>
749 template<
typename ExtraHostsT = Aws::Vector<HostEntry>>
750 void SetExtraHosts(ExtraHostsT&& value) { m_extraHostsHasBeenSet =
true; m_extraHosts = std::forward<ExtraHostsT>(value); }
751 template<
typename ExtraHostsT = Aws::Vector<HostEntry>>
753 template<
typename ExtraHostsT = HostEntry>
784 template<
typename DockerSecurityOptionsT = Aws::Vector<Aws::String>>
785 void SetDockerSecurityOptions(DockerSecurityOptionsT&& value) { m_dockerSecurityOptionsHasBeenSet =
true; m_dockerSecurityOptions = std::forward<DockerSecurityOptionsT>(value); }
786 template<
typename DockerSecurityOptionsT = Aws::Vector<Aws::String>>
788 template<
typename DockerSecurityOptionsT = Aws::String>
801 inline void SetInteractive(
bool value) { m_interactiveHasBeenSet =
true; m_interactive = value; }
813 inline void SetPseudoTerminal(
bool value) { m_pseudoTerminalHasBeenSet =
true; m_pseudoTerminal = value; }
829 template<
typename DockerLabelsT = Aws::Map<Aws::String, Aws::String>>
830 void SetDockerLabels(DockerLabelsT&& value) { m_dockerLabelsHasBeenSet =
true; m_dockerLabels = std::forward<DockerLabelsT>(value); }
831 template<
typename DockerLabelsT = Aws::Map<Aws::String, Aws::String>>
833 template<
typename DockerLabelsKeyT = Aws::String,
typename DockerLabelsValueT = Aws::String>
835 m_dockerLabelsHasBeenSet =
true; m_dockerLabels.emplace(std::forward<DockerLabelsKeyT>(key), std::forward<DockerLabelsValueT>(value));
return *
this;
861 template<
typename UlimitsT = Aws::Vector<Ulimit>>
862 void SetUlimits(UlimitsT&& value) { m_ulimitsHasBeenSet =
true; m_ulimits = std::forward<UlimitsT>(value); }
863 template<
typename UlimitsT = Aws::Vector<Ulimit>>
865 template<
typename UlimitsT = Ulimit>
898 template<
typename LogConfigurationT = LogConfiguration>
899 void SetLogConfiguration(LogConfigurationT&& value) { m_logConfigurationHasBeenSet =
true; m_logConfiguration = std::forward<LogConfigurationT>(value); }
900 template<
typename LogConfigurationT = LogConfiguration>
913 template<
typename HealthCheckT = HealthCheck>
914 void SetHealthCheck(HealthCheckT&& value) { m_healthCheckHasBeenSet =
true; m_healthCheck = std::forward<HealthCheckT>(value); }
915 template<
typename HealthCheckT = HealthCheck>
929 template<
typename SystemControlsT = Aws::Vector<SystemControl>>
930 void SetSystemControls(SystemControlsT&& value) { m_systemControlsHasBeenSet =
true; m_systemControls = std::forward<SystemControlsT>(value); }
931 template<
typename SystemControlsT = Aws::Vector<SystemControl>>
933 template<
typename SystemControlsT = SystemControl>
944 template<
typename ResourceRequirementsT = Aws::Vector<ResourceRequirement>>
945 void SetResourceRequirements(ResourceRequirementsT&& value) { m_resourceRequirementsHasBeenSet =
true; m_resourceRequirements = std::forward<ResourceRequirementsT>(value); }
946 template<
typename ResourceRequirementsT = Aws::Vector<ResourceRequirement>>
948 template<
typename ResourceRequirementsT = ResourceRequirement>
962 template<
typename FirelensConfigurationT = FirelensConfiguration>
963 void SetFirelensConfiguration(FirelensConfigurationT&& value) { m_firelensConfigurationHasBeenSet =
true; m_firelensConfiguration = std::forward<FirelensConfigurationT>(value); }
964 template<
typename FirelensConfigurationT = FirelensConfiguration>
1000 template<
typename CredentialSpecsT = Aws::Vector<Aws::String>>
1001 void SetCredentialSpecs(CredentialSpecsT&& value) { m_credentialSpecsHasBeenSet =
true; m_credentialSpecs = std::forward<CredentialSpecsT>(value); }
1002 template<
typename CredentialSpecsT = Aws::Vector<Aws::String>>
1004 template<
typename CredentialSpecsT = Aws::String>
1010 bool m_nameHasBeenSet =
false;
1013 bool m_imageHasBeenSet =
false;
1016 bool m_repositoryCredentialsHasBeenSet =
false;
1019 bool m_cpuHasBeenSet =
false;
1022 bool m_memoryHasBeenSet =
false;
1024 int m_memoryReservation{0};
1025 bool m_memoryReservationHasBeenSet =
false;
1028 bool m_linksHasBeenSet =
false;
1031 bool m_portMappingsHasBeenSet =
false;
1033 bool m_essential{
false};
1034 bool m_essentialHasBeenSet =
false;
1036 ContainerRestartPolicy m_restartPolicy;
1037 bool m_restartPolicyHasBeenSet =
false;
1040 bool m_entryPointHasBeenSet =
false;
1043 bool m_commandHasBeenSet =
false;
1046 bool m_environmentHasBeenSet =
false;
1049 bool m_environmentFilesHasBeenSet =
false;
1052 bool m_mountPointsHasBeenSet =
false;
1055 bool m_volumesFromHasBeenSet =
false;
1057 LinuxParameters m_linuxParameters;
1058 bool m_linuxParametersHasBeenSet =
false;
1061 bool m_secretsHasBeenSet =
false;
1064 bool m_dependsOnHasBeenSet =
false;
1066 int m_startTimeout{0};
1067 bool m_startTimeoutHasBeenSet =
false;
1069 int m_stopTimeout{0};
1070 bool m_stopTimeoutHasBeenSet =
false;
1073 bool m_versionConsistencyHasBeenSet =
false;
1076 bool m_hostnameHasBeenSet =
false;
1079 bool m_userHasBeenSet =
false;
1082 bool m_workingDirectoryHasBeenSet =
false;
1084 bool m_disableNetworking{
false};
1085 bool m_disableNetworkingHasBeenSet =
false;
1087 bool m_privileged{
false};
1088 bool m_privilegedHasBeenSet =
false;
1090 bool m_readonlyRootFilesystem{
false};
1091 bool m_readonlyRootFilesystemHasBeenSet =
false;
1094 bool m_dnsServersHasBeenSet =
false;
1097 bool m_dnsSearchDomainsHasBeenSet =
false;
1100 bool m_extraHostsHasBeenSet =
false;
1103 bool m_dockerSecurityOptionsHasBeenSet =
false;
1105 bool m_interactive{
false};
1106 bool m_interactiveHasBeenSet =
false;
1108 bool m_pseudoTerminal{
false};
1109 bool m_pseudoTerminalHasBeenSet =
false;
1112 bool m_dockerLabelsHasBeenSet =
false;
1115 bool m_ulimitsHasBeenSet =
false;
1117 LogConfiguration m_logConfiguration;
1118 bool m_logConfigurationHasBeenSet =
false;
1120 HealthCheck m_healthCheck;
1121 bool m_healthCheckHasBeenSet =
false;
1124 bool m_systemControlsHasBeenSet =
false;
1127 bool m_resourceRequirementsHasBeenSet =
false;
1129 FirelensConfiguration m_firelensConfiguration;
1130 bool m_firelensConfigurationHasBeenSet =
false;
1133 bool m_credentialSpecsHasBeenSet =
false;
int GetStopTimeout() const
void SetDependsOn(DependsOnT &&value)
ContainerDefinition & WithStopTimeout(int value)
ContainerDefinition & AddDockerLabels(DockerLabelsKeyT &&key, DockerLabelsValueT &&value)
ContainerDefinition & WithPseudoTerminal(bool value)
ContainerDefinition & WithReadonlyRootFilesystem(bool value)
void SetMemory(int value)
void SetDnsServers(DnsServersT &&value)
const Aws::Vector< Aws::String > & GetEntryPoint() const
const Aws::Vector< ContainerDependency > & GetDependsOn() const
bool DependsOnHasBeenSet() const
bool ImageHasBeenSet() const
void SetUser(UserT &&value)
void SetCommand(CommandT &&value)
bool DockerLabelsHasBeenSet() const
const Aws::Vector< Aws::String > & GetLinks() const
bool GetPrivileged() const
const Aws::Vector< Aws::String > & GetDockerSecurityOptions() const
void SetName(NameT &&value)
ContainerDefinition & WithEssential(bool value)
void SetRepositoryCredentials(RepositoryCredentialsT &&value)
bool GetInteractive() const
ContainerDefinition & AddSystemControls(SystemControlsT &&value)
void SetResourceRequirements(ResourceRequirementsT &&value)
ContainerDefinition & AddDnsSearchDomains(DnsSearchDomainsT &&value)
void SetLinuxParameters(LinuxParametersT &&value)
bool CommandHasBeenSet() const
bool StopTimeoutHasBeenSet() const
bool DockerSecurityOptionsHasBeenSet() const
ContainerDefinition & WithSystemControls(SystemControlsT &&value)
ContainerDefinition & WithUlimits(UlimitsT &&value)
bool GetDisableNetworking() const
void SetDockerLabels(DockerLabelsT &&value)
ContainerDefinition & WithMemoryReservation(int value)
ContainerDefinition & WithEnvironmentFiles(EnvironmentFilesT &&value)
ContainerDefinition & WithName(NameT &&value)
bool StartTimeoutHasBeenSet() const
const Aws::String & GetWorkingDirectory() const
const Aws::Vector< Aws::String > & GetDnsServers() const
const LinuxParameters & GetLinuxParameters() const
ContainerDefinition & AddMountPoints(MountPointsT &&value)
const LogConfiguration & GetLogConfiguration() const
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
bool UlimitsHasBeenSet() const
int GetStartTimeout() const
ContainerDefinition & WithDisableNetworking(bool value)
bool WorkingDirectoryHasBeenSet() const
bool EssentialHasBeenSet() const
ContainerDefinition & AddDockerSecurityOptions(DockerSecurityOptionsT &&value)
bool HealthCheckHasBeenSet() const
void SetStartTimeout(int value)
bool EntryPointHasBeenSet() const
void SetEnvironment(EnvironmentT &&value)
ContainerDefinition & WithRestartPolicy(RestartPolicyT &&value)
const Aws::String & GetUser() const
const Aws::Vector< VolumeFrom > & GetVolumesFrom() const
const Aws::Vector< Aws::String > & GetCredentialSpecs() const
ContainerDefinition & WithWorkingDirectory(WorkingDirectoryT &&value)
const Aws::Map< Aws::String, Aws::String > & GetDockerLabels() const
void SetPseudoTerminal(bool value)
bool EnvironmentHasBeenSet() const
ContainerDefinition & WithPortMappings(PortMappingsT &&value)
const Aws::String & GetImage() const
ContainerDefinition & AddCredentialSpecs(CredentialSpecsT &&value)
bool PortMappingsHasBeenSet() const
void SetHostname(HostnameT &&value)
void SetDnsSearchDomains(DnsSearchDomainsT &&value)
ContainerDefinition & AddEntryPoint(EntryPointT &&value)
ContainerDefinition & AddLinks(LinksT &&value)
void SetSecrets(SecretsT &&value)
ContainerDefinition & AddDnsServers(DnsServersT &&value)
const Aws::Vector< ResourceRequirement > & GetResourceRequirements() const
bool DnsSearchDomainsHasBeenSet() const
void SetExtraHosts(ExtraHostsT &&value)
bool LinksHasBeenSet() const
ContainerDefinition & AddVolumesFrom(VolumesFromT &&value)
bool PrivilegedHasBeenSet() const
ContainerDefinition & WithCommand(CommandT &&value)
void SetEnvironmentFiles(EnvironmentFilesT &&value)
const Aws::Vector< KeyValuePair > & GetEnvironment() const
ContainerDefinition & WithMemory(int value)
bool ResourceRequirementsHasBeenSet() const
ContainerDefinition & AddEnvironment(EnvironmentT &&value)
bool CredentialSpecsHasBeenSet() const
bool MemoryReservationHasBeenSet() const
void SetMountPoints(MountPointsT &&value)
int GetMemoryReservation() const
AWS_ECS_API ContainerDefinition()=default
void SetReadonlyRootFilesystem(bool value)
const Aws::Vector< PortMapping > & GetPortMappings() const
ContainerDefinition & WithDependsOn(DependsOnT &&value)
bool DisableNetworkingHasBeenSet() const
ContainerDefinition & WithDnsServers(DnsServersT &&value)
void SetFirelensConfiguration(FirelensConfigurationT &&value)
void SetVersionConsistency(VersionConsistency value)
const Aws::Vector< Secret > & GetSecrets() const
void SetHealthCheck(HealthCheckT &&value)
ContainerDefinition & AddDependsOn(DependsOnT &&value)
const Aws::Vector< Aws::String > & GetDnsSearchDomains() const
void SetSystemControls(SystemControlsT &&value)
ContainerDefinition & WithLinuxParameters(LinuxParametersT &&value)
bool GetPseudoTerminal() const
bool RepositoryCredentialsHasBeenSet() const
bool SystemControlsHasBeenSet() const
void SetInteractive(bool value)
ContainerDefinition & WithEnvironment(EnvironmentT &&value)
void SetRestartPolicy(RestartPolicyT &&value)
void SetStopTimeout(int value)
ContainerDefinition & WithEntryPoint(EntryPointT &&value)
bool PseudoTerminalHasBeenSet() const
void SetWorkingDirectory(WorkingDirectoryT &&value)
bool ReadonlyRootFilesystemHasBeenSet() const
ContainerDefinition & WithDockerLabels(DockerLabelsT &&value)
bool CpuHasBeenSet() const
bool RestartPolicyHasBeenSet() const
bool MountPointsHasBeenSet() const
ContainerDefinition & AddExtraHosts(ExtraHostsT &&value)
bool FirelensConfigurationHasBeenSet() const
bool NameHasBeenSet() const
bool InteractiveHasBeenSet() const
bool LogConfigurationHasBeenSet() const
const HealthCheck & GetHealthCheck() const
void SetLogConfiguration(LogConfigurationT &&value)
bool GetReadonlyRootFilesystem() const
void SetCredentialSpecs(CredentialSpecsT &&value)
ContainerDefinition & AddResourceRequirements(ResourceRequirementsT &&value)
ContainerDefinition & WithLinks(LinksT &&value)
ContainerDefinition & WithVersionConsistency(VersionConsistency value)
void SetMemoryReservation(int value)
bool MemoryHasBeenSet() const
void SetUlimits(UlimitsT &&value)
const Aws::Vector< Aws::String > & GetCommand() const
const Aws::Vector< Ulimit > & GetUlimits() const
bool EnvironmentFilesHasBeenSet() const
bool SecretsHasBeenSet() const
void SetLinks(LinksT &&value)
ContainerDefinition & WithHealthCheck(HealthCheckT &&value)
const Aws::Vector< MountPoint > & GetMountPoints() const
ContainerDefinition & AddPortMappings(PortMappingsT &&value)
ContainerDefinition & WithInteractive(bool value)
void SetPrivileged(bool value)
ContainerDefinition & WithResourceRequirements(ResourceRequirementsT &&value)
void SetDockerSecurityOptions(DockerSecurityOptionsT &&value)
ContainerDefinition & WithCpu(int value)
ContainerDefinition & WithCredentialSpecs(CredentialSpecsT &&value)
bool VolumesFromHasBeenSet() const
ContainerDefinition & AddCommand(CommandT &&value)
void SetVolumesFrom(VolumesFromT &&value)
ContainerDefinition & WithMountPoints(MountPointsT &&value)
ContainerDefinition & WithDockerSecurityOptions(DockerSecurityOptionsT &&value)
ContainerDefinition & WithPrivileged(bool value)
void SetDisableNetworking(bool value)
AWS_ECS_API ContainerDefinition(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< EnvironmentFile > & GetEnvironmentFiles() const
const ContainerRestartPolicy & GetRestartPolicy() const
void SetEntryPoint(EntryPointT &&value)
ContainerDefinition & WithVolumesFrom(VolumesFromT &&value)
const Aws::Vector< SystemControl > & GetSystemControls() const
ContainerDefinition & WithDnsSearchDomains(DnsSearchDomainsT &&value)
bool DnsServersHasBeenSet() const
ContainerDefinition & AddUlimits(UlimitsT &&value)
void SetEssential(bool value)
AWS_ECS_API ContainerDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< HostEntry > & GetExtraHosts() const
bool GetEssential() const
ContainerDefinition & AddEnvironmentFiles(EnvironmentFilesT &&value)
const FirelensConfiguration & GetFirelensConfiguration() const
const Aws::String & GetName() const
bool UserHasBeenSet() const
ContainerDefinition & WithLogConfiguration(LogConfigurationT &&value)
ContainerDefinition & WithUser(UserT &&value)
VersionConsistency GetVersionConsistency() const
ContainerDefinition & WithExtraHosts(ExtraHostsT &&value)
bool HostnameHasBeenSet() const
bool VersionConsistencyHasBeenSet() const
ContainerDefinition & WithStartTimeout(int value)
ContainerDefinition & WithRepositoryCredentials(RepositoryCredentialsT &&value)
void SetImage(ImageT &&value)
ContainerDefinition & AddSecrets(SecretsT &&value)
ContainerDefinition & WithSecrets(SecretsT &&value)
bool LinuxParametersHasBeenSet() const
ContainerDefinition & WithFirelensConfiguration(FirelensConfigurationT &&value)
bool ExtraHostsHasBeenSet() const
void SetPortMappings(PortMappingsT &&value)
ContainerDefinition & WithImage(ImageT &&value)
const Aws::String & GetHostname() const
ContainerDefinition & WithHostname(HostnameT &&value)
const RepositoryCredentials & GetRepositoryCredentials() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue