7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ecs/ECS_EXPORTS.h>
11#include <aws/ecs/model/ContainerDependency.h>
12#include <aws/ecs/model/ContainerRestartPolicy.h>
13#include <aws/ecs/model/EnvironmentFile.h>
14#include <aws/ecs/model/FirelensConfiguration.h>
15#include <aws/ecs/model/HealthCheck.h>
16#include <aws/ecs/model/HostEntry.h>
17#include <aws/ecs/model/KeyValuePair.h>
18#include <aws/ecs/model/LinuxParameters.h>
19#include <aws/ecs/model/LogConfiguration.h>
20#include <aws/ecs/model/MountPoint.h>
21#include <aws/ecs/model/PortMapping.h>
22#include <aws/ecs/model/RepositoryCredentials.h>
23#include <aws/ecs/model/ResourceRequirement.h>
24#include <aws/ecs/model/Secret.h>
25#include <aws/ecs/model/SystemControl.h>
26#include <aws/ecs/model/Ulimit.h>
27#include <aws/ecs/model/VersionConsistency.h>
28#include <aws/ecs/model/VolumeFrom.h>
66 template <
typename NameT = Aws::String>
68 m_nameHasBeenSet =
true;
69 m_name = std::forward<NameT>(value);
71 template <
typename NameT = Aws::String>
73 SetName(std::forward<NameT>(value));
112 template <
typename ImageT = Aws::String>
114 m_imageHasBeenSet =
true;
115 m_image = std::forward<ImageT>(value);
117 template <
typename ImageT = Aws::String>
119 SetImage(std::forward<ImageT>(value));
130 template <
typename RepositoryCredentialsT = RepositoryCredentials>
132 m_repositoryCredentialsHasBeenSet =
true;
133 m_repositoryCredentials = std::forward<RepositoryCredentialsT>(value);
135 template <
typename RepositoryCredentialsT = RepositoryCredentials>
183 inline int GetCpu()
const {
return m_cpu; }
186 m_cpuHasBeenSet =
true;
219 m_memoryHasBeenSet =
true;
259 m_memoryReservationHasBeenSet =
true;
260 m_memoryReservation = value;
285 template <
typename LinksT = Aws::Vector<Aws::String>>
287 m_linksHasBeenSet =
true;
288 m_links = std::forward<LinksT>(value);
290 template <
typename LinksT = Aws::Vector<Aws::String>>
292 SetLinks(std::forward<LinksT>(value));
295 template <
typename LinksT = Aws::String>
297 m_linksHasBeenSet =
true;
298 m_links.emplace_back(std::forward<LinksT>(value));
328 template <
typename PortMappingsT = Aws::Vector<PortMapping>>
330 m_portMappingsHasBeenSet =
true;
331 m_portMappings = std::forward<PortMappingsT>(value);
333 template <
typename PortMappingsT = Aws::Vector<PortMapping>>
338 template <
typename PortMappingsT = PortMapping>
340 m_portMappingsHasBeenSet =
true;
341 m_portMappings.emplace_back(std::forward<PortMappingsT>(value));
365 m_essentialHasBeenSet =
true;
385 template <
typename RestartPolicyT = ContainerRestartPolicy>
387 m_restartPolicyHasBeenSet =
true;
388 m_restartPolicy = std::forward<RestartPolicyT>(value);
390 template <
typename RestartPolicyT = ContainerRestartPolicy>
409 template <
typename EntryPo
intT = Aws::Vector<Aws::String>>
411 m_entryPointHasBeenSet =
true;
412 m_entryPoint = std::forward<EntryPointT>(value);
414 template <
typename EntryPo
intT = Aws::Vector<Aws::String>>
419 template <
typename EntryPo
intT = Aws::String>
421 m_entryPointHasBeenSet =
true;
422 m_entryPoint.emplace_back(std::forward<EntryPointT>(value));
436 template <
typename CommandT = Aws::Vector<Aws::String>>
438 m_commandHasBeenSet =
true;
439 m_command = std::forward<CommandT>(value);
441 template <
typename CommandT = Aws::Vector<Aws::String>>
446 template <
typename CommandT = Aws::String>
448 m_commandHasBeenSet =
true;
449 m_command.emplace_back(std::forward<CommandT>(value));
464 template <
typename EnvironmentT = Aws::Vector<KeyValuePair>>
466 m_environmentHasBeenSet =
true;
467 m_environment = std::forward<EnvironmentT>(value);
469 template <
typename EnvironmentT = Aws::Vector<KeyValuePair>>
474 template <
typename EnvironmentT = KeyValuePair>
476 m_environmentHasBeenSet =
true;
477 m_environment.emplace_back(std::forward<EnvironmentT>(value));
501 template <
typename EnvironmentFilesT = Aws::Vector<EnvironmentFile>>
503 m_environmentFilesHasBeenSet =
true;
504 m_environmentFiles = std::forward<EnvironmentFilesT>(value);
506 template <
typename EnvironmentFilesT = Aws::Vector<EnvironmentFile>>
511 template <
typename EnvironmentFilesT = EnvironmentFile>
513 m_environmentFilesHasBeenSet =
true;
514 m_environmentFiles.emplace_back(std::forward<EnvironmentFilesT>(value));
530 template <
typename MountPo
intsT = Aws::Vector<MountPo
int>>
532 m_mountPointsHasBeenSet =
true;
533 m_mountPoints = std::forward<MountPointsT>(value);
535 template <
typename MountPo
intsT = Aws::Vector<MountPo
int>>
540 template <
typename MountPo
intsT = MountPo
int>
542 m_mountPointsHasBeenSet =
true;
543 m_mountPoints.emplace_back(std::forward<MountPointsT>(value));
556 template <
typename VolumesFromT = Aws::Vector<VolumeFrom>>
558 m_volumesFromHasBeenSet =
true;
559 m_volumesFrom = std::forward<VolumesFromT>(value);
561 template <
typename VolumesFromT = Aws::Vector<VolumeFrom>>
566 template <
typename VolumesFromT = VolumeFrom>
568 m_volumesFromHasBeenSet =
true;
569 m_volumesFrom.emplace_back(std::forward<VolumesFromT>(value));
583 template <
typename LinuxParametersT = LinuxParameters>
585 m_linuxParametersHasBeenSet =
true;
586 m_linuxParameters = std::forward<LinuxParametersT>(value);
588 template <
typename LinuxParametersT = LinuxParameters>
604 template <
typename SecretsT = Aws::Vector<Secret>>
606 m_secretsHasBeenSet =
true;
607 m_secrets = std::forward<SecretsT>(value);
609 template <
typename SecretsT = Aws::Vector<Secret>>
614 template <
typename SecretsT = Secret>
616 m_secretsHasBeenSet =
true;
617 m_secrets.emplace_back(std::forward<SecretsT>(value));
648 template <
typename DependsOnT = Aws::Vector<ContainerDependency>>
650 m_dependsOnHasBeenSet =
true;
651 m_dependsOn = std::forward<DependsOnT>(value);
653 template <
typename DependsOnT = Aws::Vector<ContainerDependency>>
658 template <
typename DependsOnT = ContainerDependency>
660 m_dependsOnHasBeenSet =
true;
661 m_dependsOn.emplace_back(std::forward<DependsOnT>(value));
700 m_startTimeoutHasBeenSet =
true;
701 m_startTimeout = value;
742 m_stopTimeoutHasBeenSet =
true;
743 m_stopTimeout = value;
766 m_versionConsistencyHasBeenSet =
true;
767 m_versionConsistency = value;
785 template <
typename HostnameT = Aws::String>
787 m_hostnameHasBeenSet =
true;
788 m_hostname = std::forward<HostnameT>(value);
790 template <
typename HostnameT = Aws::String>
814 template <
typename UserT = Aws::String>
816 m_userHasBeenSet =
true;
817 m_user = std::forward<UserT>(value);
819 template <
typename UserT = Aws::String>
821 SetUser(std::forward<UserT>(value));
834 template <
typename WorkingDirectoryT = Aws::String>
836 m_workingDirectoryHasBeenSet =
true;
837 m_workingDirectory = std::forward<WorkingDirectoryT>(value);
839 template <
typename WorkingDirectoryT = Aws::String>
856 m_disableNetworkingHasBeenSet =
true;
857 m_disableNetworking = value;
877 m_privilegedHasBeenSet =
true;
878 m_privileged = value;
897 m_readonlyRootFilesystemHasBeenSet =
true;
898 m_readonlyRootFilesystem = value;
915 template <
typename DnsServersT = Aws::Vector<Aws::String>>
917 m_dnsServersHasBeenSet =
true;
918 m_dnsServers = std::forward<DnsServersT>(value);
920 template <
typename DnsServersT = Aws::Vector<Aws::String>>
925 template <
typename DnsServersT = Aws::String>
927 m_dnsServersHasBeenSet =
true;
928 m_dnsServers.emplace_back(std::forward<DnsServersT>(value));
942 template <
typename DnsSearchDomainsT = Aws::Vector<Aws::String>>
944 m_dnsSearchDomainsHasBeenSet =
true;
945 m_dnsSearchDomains = std::forward<DnsSearchDomainsT>(value);
947 template <
typename DnsSearchDomainsT = Aws::Vector<Aws::String>>
952 template <
typename DnsSearchDomainsT = Aws::String>
954 m_dnsSearchDomainsHasBeenSet =
true;
955 m_dnsSearchDomains.emplace_back(std::forward<DnsSearchDomainsT>(value));
971 template <
typename ExtraHostsT = Aws::Vector<HostEntry>>
973 m_extraHostsHasBeenSet =
true;
974 m_extraHosts = std::forward<ExtraHostsT>(value);
976 template <
typename ExtraHostsT = Aws::Vector<HostEntry>>
981 template <
typename ExtraHostsT = HostEntry>
983 m_extraHostsHasBeenSet =
true;
984 m_extraHosts.emplace_back(std::forward<ExtraHostsT>(value));
1016 template <
typename DockerSecurityOptionsT = Aws::Vector<Aws::String>>
1018 m_dockerSecurityOptionsHasBeenSet =
true;
1019 m_dockerSecurityOptions = std::forward<DockerSecurityOptionsT>(value);
1021 template <
typename DockerSecurityOptionsT = Aws::Vector<Aws::String>>
1026 template <
typename DockerSecurityOptionsT = Aws::String>
1028 m_dockerSecurityOptionsHasBeenSet =
true;
1029 m_dockerSecurityOptions.emplace_back(std::forward<DockerSecurityOptionsT>(value));
1044 m_interactiveHasBeenSet =
true;
1045 m_interactive = value;
1062 m_pseudoTerminalHasBeenSet =
true;
1063 m_pseudoTerminal = value;
1083 template <
typename DockerLabelsT = Aws::Map<Aws::String, Aws::String>>
1085 m_dockerLabelsHasBeenSet =
true;
1086 m_dockerLabels = std::forward<DockerLabelsT>(value);
1088 template <
typename DockerLabelsT = Aws::Map<Aws::String, Aws::String>>
1093 template <
typename DockerLabelsKeyT = Aws::String,
typename DockerLabelsValueT = Aws::String>
1095 m_dockerLabelsHasBeenSet =
true;
1096 m_dockerLabels.emplace(std::forward<DockerLabelsKeyT>(key), std::forward<DockerLabelsValueT>(value));
1123 template <
typename UlimitsT = Aws::Vector<Ulimit>>
1125 m_ulimitsHasBeenSet =
true;
1126 m_ulimits = std::forward<UlimitsT>(value);
1128 template <
typename UlimitsT = Aws::Vector<Ulimit>>
1133 template <
typename UlimitsT = Ulimit>
1135 m_ulimitsHasBeenSet =
true;
1136 m_ulimits.emplace_back(std::forward<UlimitsT>(value));
1170 template <
typename LogConfigurationT = LogConfiguration>
1172 m_logConfigurationHasBeenSet =
true;
1173 m_logConfiguration = std::forward<LogConfigurationT>(value);
1175 template <
typename LogConfigurationT = LogConfiguration>
1191 template <
typename HealthCheckT = HealthCheck>
1193 m_healthCheckHasBeenSet =
true;
1194 m_healthCheck = std::forward<HealthCheckT>(value);
1196 template <
typename HealthCheckT = HealthCheck>
1213 template <
typename SystemControlsT = Aws::Vector<SystemControl>>
1215 m_systemControlsHasBeenSet =
true;
1216 m_systemControls = std::forward<SystemControlsT>(value);
1218 template <
typename SystemControlsT = Aws::Vector<SystemControl>>
1223 template <
typename SystemControlsT = SystemControl>
1225 m_systemControlsHasBeenSet =
true;
1226 m_systemControls.emplace_back(std::forward<SystemControlsT>(value));
1238 template <
typename ResourceRequirementsT = Aws::Vector<ResourceRequirement>>
1240 m_resourceRequirementsHasBeenSet =
true;
1241 m_resourceRequirements = std::forward<ResourceRequirementsT>(value);
1243 template <
typename ResourceRequirementsT = Aws::Vector<ResourceRequirement>>
1248 template <
typename ResourceRequirementsT = ResourceRequirement>
1250 m_resourceRequirementsHasBeenSet =
true;
1251 m_resourceRequirements.emplace_back(std::forward<ResourceRequirementsT>(value));
1266 template <
typename FirelensConfigurationT = FirelensConfiguration>
1268 m_firelensConfigurationHasBeenSet =
true;
1269 m_firelensConfiguration = std::forward<FirelensConfigurationT>(value);
1271 template <
typename FirelensConfigurationT = FirelensConfiguration>
1310 template <
typename CredentialSpecsT = Aws::Vector<Aws::String>>
1312 m_credentialSpecsHasBeenSet =
true;
1313 m_credentialSpecs = std::forward<CredentialSpecsT>(value);
1315 template <
typename CredentialSpecsT = Aws::Vector<Aws::String>>
1320 template <
typename CredentialSpecsT = Aws::String>
1322 m_credentialSpecsHasBeenSet =
true;
1323 m_credentialSpecs.emplace_back(std::forward<CredentialSpecsT>(value));
1338 int m_memoryReservation{0};
1344 bool m_essential{
false};
1346 ContainerRestartPolicy m_restartPolicy;
1360 LinuxParameters m_linuxParameters;
1366 int m_startTimeout{0};
1368 int m_stopTimeout{0};
1378 bool m_disableNetworking{
false};
1380 bool m_privileged{
false};
1382 bool m_readonlyRootFilesystem{
false};
1392 bool m_interactive{
false};
1394 bool m_pseudoTerminal{
false};
1400 LogConfiguration m_logConfiguration;
1402 HealthCheck m_healthCheck;
1408 FirelensConfiguration m_firelensConfiguration;
1411 bool m_nameHasBeenSet =
false;
1412 bool m_imageHasBeenSet =
false;
1413 bool m_repositoryCredentialsHasBeenSet =
false;
1414 bool m_cpuHasBeenSet =
false;
1415 bool m_memoryHasBeenSet =
false;
1416 bool m_memoryReservationHasBeenSet =
false;
1417 bool m_linksHasBeenSet =
false;
1418 bool m_portMappingsHasBeenSet =
false;
1419 bool m_essentialHasBeenSet =
false;
1420 bool m_restartPolicyHasBeenSet =
false;
1421 bool m_entryPointHasBeenSet =
false;
1422 bool m_commandHasBeenSet =
false;
1423 bool m_environmentHasBeenSet =
false;
1424 bool m_environmentFilesHasBeenSet =
false;
1425 bool m_mountPointsHasBeenSet =
false;
1426 bool m_volumesFromHasBeenSet =
false;
1427 bool m_linuxParametersHasBeenSet =
false;
1428 bool m_secretsHasBeenSet =
false;
1429 bool m_dependsOnHasBeenSet =
false;
1430 bool m_startTimeoutHasBeenSet =
false;
1431 bool m_stopTimeoutHasBeenSet =
false;
1432 bool m_versionConsistencyHasBeenSet =
false;
1433 bool m_hostnameHasBeenSet =
false;
1434 bool m_userHasBeenSet =
false;
1435 bool m_workingDirectoryHasBeenSet =
false;
1436 bool m_disableNetworkingHasBeenSet =
false;
1437 bool m_privilegedHasBeenSet =
false;
1438 bool m_readonlyRootFilesystemHasBeenSet =
false;
1439 bool m_dnsServersHasBeenSet =
false;
1440 bool m_dnsSearchDomainsHasBeenSet =
false;
1441 bool m_extraHostsHasBeenSet =
false;
1442 bool m_dockerSecurityOptionsHasBeenSet =
false;
1443 bool m_interactiveHasBeenSet =
false;
1444 bool m_pseudoTerminalHasBeenSet =
false;
1445 bool m_dockerLabelsHasBeenSet =
false;
1446 bool m_ulimitsHasBeenSet =
false;
1447 bool m_logConfigurationHasBeenSet =
false;
1448 bool m_healthCheckHasBeenSet =
false;
1449 bool m_systemControlsHasBeenSet =
false;
1450 bool m_resourceRequirementsHasBeenSet =
false;
1451 bool m_firelensConfigurationHasBeenSet =
false;
1452 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