AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ContainerDefinition.h
Go to the documentation of this file.
1
6#pragma once
27#include <utility>
28
29namespace Aws
30{
31namespace Utils
32{
33namespace Json
34{
35 class JsonValue;
36 class JsonView;
37} // namespace Json
38} // namespace Utils
39namespace ECS
40{
41namespace Model
42{
43
51 {
52 public:
57
58
72 inline const Aws::String& GetName() const{ return m_name; }
73
87 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
88
102 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
103
117 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
118
132 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
133
147 inline ContainerDefinition& WithName(const Aws::String& value) { SetName(value); return *this;}
148
162 inline ContainerDefinition& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
163
177 inline ContainerDefinition& WithName(const char* value) { SetName(value); return *this;}
178
179
210 inline const Aws::String& GetImage() const{ return m_image; }
211
242 inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; }
243
274 inline void SetImage(const Aws::String& value) { m_imageHasBeenSet = true; m_image = value; }
275
306 inline void SetImage(Aws::String&& value) { m_imageHasBeenSet = true; m_image = std::move(value); }
307
338 inline void SetImage(const char* value) { m_imageHasBeenSet = true; m_image.assign(value); }
339
370 inline ContainerDefinition& WithImage(const Aws::String& value) { SetImage(value); return *this;}
371
402 inline ContainerDefinition& WithImage(Aws::String&& value) { SetImage(std::move(value)); return *this;}
403
434 inline ContainerDefinition& WithImage(const char* value) { SetImage(value); return *this;}
435
436
440 inline const RepositoryCredentials& GetRepositoryCredentials() const{ return m_repositoryCredentials; }
441
445 inline bool RepositoryCredentialsHasBeenSet() const { return m_repositoryCredentialsHasBeenSet; }
446
450 inline void SetRepositoryCredentials(const RepositoryCredentials& value) { m_repositoryCredentialsHasBeenSet = true; m_repositoryCredentials = value; }
451
455 inline void SetRepositoryCredentials(RepositoryCredentials&& value) { m_repositoryCredentialsHasBeenSet = true; m_repositoryCredentials = std::move(value); }
456
461
466
467
511 inline int GetCpu() const{ return m_cpu; }
512
556 inline bool CpuHasBeenSet() const { return m_cpuHasBeenSet; }
557
601 inline void SetCpu(int value) { m_cpuHasBeenSet = true; m_cpu = value; }
602
646 inline ContainerDefinition& WithCpu(int value) { SetCpu(value); return *this;}
647
648
673 inline int GetMemory() const{ return m_memory; }
674
699 inline bool MemoryHasBeenSet() const { return m_memoryHasBeenSet; }
700
725 inline void SetMemory(int value) { m_memoryHasBeenSet = true; m_memory = value; }
726
751 inline ContainerDefinition& WithMemory(int value) { SetMemory(value); return *this;}
752
753
785 inline int GetMemoryReservation() const{ return m_memoryReservation; }
786
818 inline bool MemoryReservationHasBeenSet() const { return m_memoryReservationHasBeenSet; }
819
851 inline void SetMemoryReservation(int value) { m_memoryReservationHasBeenSet = true; m_memoryReservation = value; }
852
884 inline ContainerDefinition& WithMemoryReservation(int value) { SetMemoryReservation(value); return *this;}
885
886
908 inline const Aws::Vector<Aws::String>& GetLinks() const{ return m_links; }
909
931 inline bool LinksHasBeenSet() const { return m_linksHasBeenSet; }
932
954 inline void SetLinks(const Aws::Vector<Aws::String>& value) { m_linksHasBeenSet = true; m_links = value; }
955
977 inline void SetLinks(Aws::Vector<Aws::String>&& value) { m_linksHasBeenSet = true; m_links = std::move(value); }
978
1000 inline ContainerDefinition& WithLinks(const Aws::Vector<Aws::String>& value) { SetLinks(value); return *this;}
1001
1023 inline ContainerDefinition& WithLinks(Aws::Vector<Aws::String>&& value) { SetLinks(std::move(value)); return *this;}
1024
1046 inline ContainerDefinition& AddLinks(const Aws::String& value) { m_linksHasBeenSet = true; m_links.push_back(value); return *this; }
1047
1069 inline ContainerDefinition& AddLinks(Aws::String&& value) { m_linksHasBeenSet = true; m_links.push_back(std::move(value)); return *this; }
1070
1092 inline ContainerDefinition& AddLinks(const char* value) { m_linksHasBeenSet = true; m_links.push_back(value); return *this; }
1093
1094
1120 inline const Aws::Vector<PortMapping>& GetPortMappings() const{ return m_portMappings; }
1121
1147 inline bool PortMappingsHasBeenSet() const { return m_portMappingsHasBeenSet; }
1148
1174 inline void SetPortMappings(const Aws::Vector<PortMapping>& value) { m_portMappingsHasBeenSet = true; m_portMappings = value; }
1175
1201 inline void SetPortMappings(Aws::Vector<PortMapping>&& value) { m_portMappingsHasBeenSet = true; m_portMappings = std::move(value); }
1202
1229
1255 inline ContainerDefinition& WithPortMappings(Aws::Vector<PortMapping>&& value) { SetPortMappings(std::move(value)); return *this;}
1256
1282 inline ContainerDefinition& AddPortMappings(const PortMapping& value) { m_portMappingsHasBeenSet = true; m_portMappings.push_back(value); return *this; }
1283
1309 inline ContainerDefinition& AddPortMappings(PortMapping&& value) { m_portMappingsHasBeenSet = true; m_portMappings.push_back(std::move(value)); return *this; }
1310
1311
1327 inline bool GetEssential() const{ return m_essential; }
1328
1344 inline bool EssentialHasBeenSet() const { return m_essentialHasBeenSet; }
1345
1361 inline void SetEssential(bool value) { m_essentialHasBeenSet = true; m_essential = value; }
1362
1378 inline ContainerDefinition& WithEssential(bool value) { SetEssential(value); return *this;}
1379
1380
1396 inline const Aws::Vector<Aws::String>& GetEntryPoint() const{ return m_entryPoint; }
1397
1413 inline bool EntryPointHasBeenSet() const { return m_entryPointHasBeenSet; }
1414
1430 inline void SetEntryPoint(const Aws::Vector<Aws::String>& value) { m_entryPointHasBeenSet = true; m_entryPoint = value; }
1431
1447 inline void SetEntryPoint(Aws::Vector<Aws::String>&& value) { m_entryPointHasBeenSet = true; m_entryPoint = std::move(value); }
1448
1464 inline ContainerDefinition& WithEntryPoint(const Aws::Vector<Aws::String>& value) { SetEntryPoint(value); return *this;}
1465
1481 inline ContainerDefinition& WithEntryPoint(Aws::Vector<Aws::String>&& value) { SetEntryPoint(std::move(value)); return *this;}
1482
1498 inline ContainerDefinition& AddEntryPoint(const Aws::String& value) { m_entryPointHasBeenSet = true; m_entryPoint.push_back(value); return *this; }
1499
1515 inline ContainerDefinition& AddEntryPoint(Aws::String&& value) { m_entryPointHasBeenSet = true; m_entryPoint.push_back(std::move(value)); return *this; }
1516
1532 inline ContainerDefinition& AddEntryPoint(const char* value) { m_entryPointHasBeenSet = true; m_entryPoint.push_back(value); return *this; }
1533
1534
1548 inline const Aws::Vector<Aws::String>& GetCommand() const{ return m_command; }
1549
1563 inline bool CommandHasBeenSet() const { return m_commandHasBeenSet; }
1564
1578 inline void SetCommand(const Aws::Vector<Aws::String>& value) { m_commandHasBeenSet = true; m_command = value; }
1579
1593 inline void SetCommand(Aws::Vector<Aws::String>&& value) { m_commandHasBeenSet = true; m_command = std::move(value); }
1594
1608 inline ContainerDefinition& WithCommand(const Aws::Vector<Aws::String>& value) { SetCommand(value); return *this;}
1609
1623 inline ContainerDefinition& WithCommand(Aws::Vector<Aws::String>&& value) { SetCommand(std::move(value)); return *this;}
1624
1638 inline ContainerDefinition& AddCommand(const Aws::String& value) { m_commandHasBeenSet = true; m_command.push_back(value); return *this; }
1639
1653 inline ContainerDefinition& AddCommand(Aws::String&& value) { m_commandHasBeenSet = true; m_command.push_back(std::move(value)); return *this; }
1654
1668 inline ContainerDefinition& AddCommand(const char* value) { m_commandHasBeenSet = true; m_command.push_back(value); return *this; }
1669
1670
1683 inline const Aws::Vector<KeyValuePair>& GetEnvironment() const{ return m_environment; }
1684
1697 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
1698
1711 inline void SetEnvironment(const Aws::Vector<KeyValuePair>& value) { m_environmentHasBeenSet = true; m_environment = value; }
1712
1725 inline void SetEnvironment(Aws::Vector<KeyValuePair>&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
1726
1740
1753 inline ContainerDefinition& WithEnvironment(Aws::Vector<KeyValuePair>&& value) { SetEnvironment(std::move(value)); return *this;}
1754
1767 inline ContainerDefinition& AddEnvironment(const KeyValuePair& value) { m_environmentHasBeenSet = true; m_environment.push_back(value); return *this; }
1768
1781 inline ContainerDefinition& AddEnvironment(KeyValuePair&& value) { m_environmentHasBeenSet = true; m_environment.push_back(std::move(value)); return *this; }
1782
1783
1804 inline const Aws::Vector<EnvironmentFile>& GetEnvironmentFiles() const{ return m_environmentFiles; }
1805
1826 inline bool EnvironmentFilesHasBeenSet() const { return m_environmentFilesHasBeenSet; }
1827
1848 inline void SetEnvironmentFiles(const Aws::Vector<EnvironmentFile>& value) { m_environmentFilesHasBeenSet = true; m_environmentFiles = value; }
1849
1870 inline void SetEnvironmentFiles(Aws::Vector<EnvironmentFile>&& value) { m_environmentFilesHasBeenSet = true; m_environmentFiles = std::move(value); }
1871
1893
1915
1936 inline ContainerDefinition& AddEnvironmentFiles(const EnvironmentFile& value) { m_environmentFilesHasBeenSet = true; m_environmentFiles.push_back(value); return *this; }
1937
1958 inline ContainerDefinition& AddEnvironmentFiles(EnvironmentFile&& value) { m_environmentFilesHasBeenSet = true; m_environmentFiles.push_back(std::move(value)); return *this; }
1959
1960
1973 inline const Aws::Vector<MountPoint>& GetMountPoints() const{ return m_mountPoints; }
1974
1987 inline bool MountPointsHasBeenSet() const { return m_mountPointsHasBeenSet; }
1988
2001 inline void SetMountPoints(const Aws::Vector<MountPoint>& value) { m_mountPointsHasBeenSet = true; m_mountPoints = value; }
2002
2015 inline void SetMountPoints(Aws::Vector<MountPoint>&& value) { m_mountPointsHasBeenSet = true; m_mountPoints = std::move(value); }
2016
2029 inline ContainerDefinition& WithMountPoints(const Aws::Vector<MountPoint>& value) { SetMountPoints(value); return *this;}
2030
2043 inline ContainerDefinition& WithMountPoints(Aws::Vector<MountPoint>&& value) { SetMountPoints(std::move(value)); return *this;}
2044
2057 inline ContainerDefinition& AddMountPoints(const MountPoint& value) { m_mountPointsHasBeenSet = true; m_mountPoints.push_back(value); return *this; }
2058
2071 inline ContainerDefinition& AddMountPoints(MountPoint&& value) { m_mountPointsHasBeenSet = true; m_mountPoints.push_back(std::move(value)); return *this; }
2072
2073
2084 inline const Aws::Vector<VolumeFrom>& GetVolumesFrom() const{ return m_volumesFrom; }
2085
2096 inline bool VolumesFromHasBeenSet() const { return m_volumesFromHasBeenSet; }
2097
2108 inline void SetVolumesFrom(const Aws::Vector<VolumeFrom>& value) { m_volumesFromHasBeenSet = true; m_volumesFrom = value; }
2109
2120 inline void SetVolumesFrom(Aws::Vector<VolumeFrom>&& value) { m_volumesFromHasBeenSet = true; m_volumesFrom = std::move(value); }
2121
2132 inline ContainerDefinition& WithVolumesFrom(const Aws::Vector<VolumeFrom>& value) { SetVolumesFrom(value); return *this;}
2133
2144 inline ContainerDefinition& WithVolumesFrom(Aws::Vector<VolumeFrom>&& value) { SetVolumesFrom(std::move(value)); return *this;}
2145
2156 inline ContainerDefinition& AddVolumesFrom(const VolumeFrom& value) { m_volumesFromHasBeenSet = true; m_volumesFrom.push_back(value); return *this; }
2157
2168 inline ContainerDefinition& AddVolumesFrom(VolumeFrom&& value) { m_volumesFromHasBeenSet = true; m_volumesFrom.push_back(std::move(value)); return *this; }
2169
2170
2176 inline const LinuxParameters& GetLinuxParameters() const{ return m_linuxParameters; }
2177
2183 inline bool LinuxParametersHasBeenSet() const { return m_linuxParametersHasBeenSet; }
2184
2190 inline void SetLinuxParameters(const LinuxParameters& value) { m_linuxParametersHasBeenSet = true; m_linuxParameters = value; }
2191
2197 inline void SetLinuxParameters(LinuxParameters&& value) { m_linuxParametersHasBeenSet = true; m_linuxParameters = std::move(value); }
2198
2204 inline ContainerDefinition& WithLinuxParameters(const LinuxParameters& value) { SetLinuxParameters(value); return *this;}
2205
2211 inline ContainerDefinition& WithLinuxParameters(LinuxParameters&& value) { SetLinuxParameters(std::move(value)); return *this;}
2212
2213
2220 inline const Aws::Vector<Secret>& GetSecrets() const{ return m_secrets; }
2221
2228 inline bool SecretsHasBeenSet() const { return m_secretsHasBeenSet; }
2229
2236 inline void SetSecrets(const Aws::Vector<Secret>& value) { m_secretsHasBeenSet = true; m_secrets = value; }
2237
2244 inline void SetSecrets(Aws::Vector<Secret>&& value) { m_secretsHasBeenSet = true; m_secrets = std::move(value); }
2245
2252 inline ContainerDefinition& WithSecrets(const Aws::Vector<Secret>& value) { SetSecrets(value); return *this;}
2253
2260 inline ContainerDefinition& WithSecrets(Aws::Vector<Secret>&& value) { SetSecrets(std::move(value)); return *this;}
2261
2268 inline ContainerDefinition& AddSecrets(const Secret& value) { m_secretsHasBeenSet = true; m_secrets.push_back(value); return *this; }
2269
2276 inline ContainerDefinition& AddSecrets(Secret&& value) { m_secretsHasBeenSet = true; m_secrets.push_back(std::move(value)); return *this; }
2277
2278
2302 inline const Aws::Vector<ContainerDependency>& GetDependsOn() const{ return m_dependsOn; }
2303
2327 inline bool DependsOnHasBeenSet() const { return m_dependsOnHasBeenSet; }
2328
2352 inline void SetDependsOn(const Aws::Vector<ContainerDependency>& value) { m_dependsOnHasBeenSet = true; m_dependsOn = value; }
2353
2377 inline void SetDependsOn(Aws::Vector<ContainerDependency>&& value) { m_dependsOnHasBeenSet = true; m_dependsOn = std::move(value); }
2378
2403
2427 inline ContainerDefinition& WithDependsOn(Aws::Vector<ContainerDependency>&& value) { SetDependsOn(std::move(value)); return *this;}
2428
2452 inline ContainerDefinition& AddDependsOn(const ContainerDependency& value) { m_dependsOnHasBeenSet = true; m_dependsOn.push_back(value); return *this; }
2453
2477 inline ContainerDefinition& AddDependsOn(ContainerDependency&& value) { m_dependsOnHasBeenSet = true; m_dependsOn.push_back(std::move(value)); return *this; }
2478
2479
2510 inline int GetStartTimeout() const{ return m_startTimeout; }
2511
2542 inline bool StartTimeoutHasBeenSet() const { return m_startTimeoutHasBeenSet; }
2543
2574 inline void SetStartTimeout(int value) { m_startTimeoutHasBeenSet = true; m_startTimeout = value; }
2575
2606 inline ContainerDefinition& WithStartTimeout(int value) { SetStartTimeout(value); return *this;}
2607
2608
2638 inline int GetStopTimeout() const{ return m_stopTimeout; }
2639
2669 inline bool StopTimeoutHasBeenSet() const { return m_stopTimeoutHasBeenSet; }
2670
2700 inline void SetStopTimeout(int value) { m_stopTimeoutHasBeenSet = true; m_stopTimeout = value; }
2701
2731 inline ContainerDefinition& WithStopTimeout(int value) { SetStopTimeout(value); return *this;}
2732
2733
2745 inline const Aws::String& GetHostname() const{ return m_hostname; }
2746
2758 inline bool HostnameHasBeenSet() const { return m_hostnameHasBeenSet; }
2759
2771 inline void SetHostname(const Aws::String& value) { m_hostnameHasBeenSet = true; m_hostname = value; }
2772
2784 inline void SetHostname(Aws::String&& value) { m_hostnameHasBeenSet = true; m_hostname = std::move(value); }
2785
2797 inline void SetHostname(const char* value) { m_hostnameHasBeenSet = true; m_hostname.assign(value); }
2798
2810 inline ContainerDefinition& WithHostname(const Aws::String& value) { SetHostname(value); return *this;}
2811
2823 inline ContainerDefinition& WithHostname(Aws::String&& value) { SetHostname(std::move(value)); return *this;}
2824
2836 inline ContainerDefinition& WithHostname(const char* value) { SetHostname(value); return *this;}
2837
2838
2858 inline const Aws::String& GetUser() const{ return m_user; }
2859
2879 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
2880
2900 inline void SetUser(const Aws::String& value) { m_userHasBeenSet = true; m_user = value; }
2901
2921 inline void SetUser(Aws::String&& value) { m_userHasBeenSet = true; m_user = std::move(value); }
2922
2942 inline void SetUser(const char* value) { m_userHasBeenSet = true; m_user.assign(value); }
2943
2963 inline ContainerDefinition& WithUser(const Aws::String& value) { SetUser(value); return *this;}
2964
2984 inline ContainerDefinition& WithUser(Aws::String&& value) { SetUser(std::move(value)); return *this;}
2985
3005 inline ContainerDefinition& WithUser(const char* value) { SetUser(value); return *this;}
3006
3007
3018 inline const Aws::String& GetWorkingDirectory() const{ return m_workingDirectory; }
3019
3030 inline bool WorkingDirectoryHasBeenSet() const { return m_workingDirectoryHasBeenSet; }
3031
3042 inline void SetWorkingDirectory(const Aws::String& value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory = value; }
3043
3054 inline void SetWorkingDirectory(Aws::String&& value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory = std::move(value); }
3055
3066 inline void SetWorkingDirectory(const char* value) { m_workingDirectoryHasBeenSet = true; m_workingDirectory.assign(value); }
3067
3078 inline ContainerDefinition& WithWorkingDirectory(const Aws::String& value) { SetWorkingDirectory(value); return *this;}
3079
3090 inline ContainerDefinition& WithWorkingDirectory(Aws::String&& value) { SetWorkingDirectory(std::move(value)); return *this;}
3091
3102 inline ContainerDefinition& WithWorkingDirectory(const char* value) { SetWorkingDirectory(value); return *this;}
3103
3104
3113 inline bool GetDisableNetworking() const{ return m_disableNetworking; }
3114
3123 inline bool DisableNetworkingHasBeenSet() const { return m_disableNetworkingHasBeenSet; }
3124
3133 inline void SetDisableNetworking(bool value) { m_disableNetworkingHasBeenSet = true; m_disableNetworking = value; }
3134
3143 inline ContainerDefinition& WithDisableNetworking(bool value) { SetDisableNetworking(value); return *this;}
3144
3145
3158 inline bool GetPrivileged() const{ return m_privileged; }
3159
3172 inline bool PrivilegedHasBeenSet() const { return m_privilegedHasBeenSet; }
3173
3186 inline void SetPrivileged(bool value) { m_privilegedHasBeenSet = true; m_privileged = value; }
3187
3200 inline ContainerDefinition& WithPrivileged(bool value) { SetPrivileged(value); return *this;}
3201
3202
3214 inline bool GetReadonlyRootFilesystem() const{ return m_readonlyRootFilesystem; }
3215
3227 inline bool ReadonlyRootFilesystemHasBeenSet() const { return m_readonlyRootFilesystemHasBeenSet; }
3228
3240 inline void SetReadonlyRootFilesystem(bool value) { m_readonlyRootFilesystemHasBeenSet = true; m_readonlyRootFilesystem = value; }
3241
3254
3255
3267 inline const Aws::Vector<Aws::String>& GetDnsServers() const{ return m_dnsServers; }
3268
3280 inline bool DnsServersHasBeenSet() const { return m_dnsServersHasBeenSet; }
3281
3293 inline void SetDnsServers(const Aws::Vector<Aws::String>& value) { m_dnsServersHasBeenSet = true; m_dnsServers = value; }
3294
3306 inline void SetDnsServers(Aws::Vector<Aws::String>&& value) { m_dnsServersHasBeenSet = true; m_dnsServers = std::move(value); }
3307
3319 inline ContainerDefinition& WithDnsServers(const Aws::Vector<Aws::String>& value) { SetDnsServers(value); return *this;}
3320
3332 inline ContainerDefinition& WithDnsServers(Aws::Vector<Aws::String>&& value) { SetDnsServers(std::move(value)); return *this;}
3333
3345 inline ContainerDefinition& AddDnsServers(const Aws::String& value) { m_dnsServersHasBeenSet = true; m_dnsServers.push_back(value); return *this; }
3346
3358 inline ContainerDefinition& AddDnsServers(Aws::String&& value) { m_dnsServersHasBeenSet = true; m_dnsServers.push_back(std::move(value)); return *this; }
3359
3371 inline ContainerDefinition& AddDnsServers(const char* value) { m_dnsServersHasBeenSet = true; m_dnsServers.push_back(value); return *this; }
3372
3373
3385 inline const Aws::Vector<Aws::String>& GetDnsSearchDomains() const{ return m_dnsSearchDomains; }
3386
3398 inline bool DnsSearchDomainsHasBeenSet() const { return m_dnsSearchDomainsHasBeenSet; }
3399
3411 inline void SetDnsSearchDomains(const Aws::Vector<Aws::String>& value) { m_dnsSearchDomainsHasBeenSet = true; m_dnsSearchDomains = value; }
3412
3424 inline void SetDnsSearchDomains(Aws::Vector<Aws::String>&& value) { m_dnsSearchDomainsHasBeenSet = true; m_dnsSearchDomains = std::move(value); }
3425
3438
3451
3463 inline ContainerDefinition& AddDnsSearchDomains(const Aws::String& value) { m_dnsSearchDomainsHasBeenSet = true; m_dnsSearchDomains.push_back(value); return *this; }
3464
3476 inline ContainerDefinition& AddDnsSearchDomains(Aws::String&& value) { m_dnsSearchDomainsHasBeenSet = true; m_dnsSearchDomains.push_back(std::move(value)); return *this; }
3477
3489 inline ContainerDefinition& AddDnsSearchDomains(const char* value) { m_dnsSearchDomainsHasBeenSet = true; m_dnsSearchDomains.push_back(value); return *this; }
3490
3491
3504 inline const Aws::Vector<HostEntry>& GetExtraHosts() const{ return m_extraHosts; }
3505
3518 inline bool ExtraHostsHasBeenSet() const { return m_extraHostsHasBeenSet; }
3519
3532 inline void SetExtraHosts(const Aws::Vector<HostEntry>& value) { m_extraHostsHasBeenSet = true; m_extraHosts = value; }
3533
3546 inline void SetExtraHosts(Aws::Vector<HostEntry>&& value) { m_extraHostsHasBeenSet = true; m_extraHosts = std::move(value); }
3547
3560 inline ContainerDefinition& WithExtraHosts(const Aws::Vector<HostEntry>& value) { SetExtraHosts(value); return *this;}
3561
3574 inline ContainerDefinition& WithExtraHosts(Aws::Vector<HostEntry>&& value) { SetExtraHosts(std::move(value)); return *this;}
3575
3588 inline ContainerDefinition& AddExtraHosts(const HostEntry& value) { m_extraHostsHasBeenSet = true; m_extraHosts.push_back(value); return *this; }
3589
3602 inline ContainerDefinition& AddExtraHosts(HostEntry&& value) { m_extraHostsHasBeenSet = true; m_extraHosts.push_back(std::move(value)); return *this; }
3603
3604
3633 inline const Aws::Vector<Aws::String>& GetDockerSecurityOptions() const{ return m_dockerSecurityOptions; }
3634
3663 inline bool DockerSecurityOptionsHasBeenSet() const { return m_dockerSecurityOptionsHasBeenSet; }
3664
3693 inline void SetDockerSecurityOptions(const Aws::Vector<Aws::String>& value) { m_dockerSecurityOptionsHasBeenSet = true; m_dockerSecurityOptions = value; }
3694
3723 inline void SetDockerSecurityOptions(Aws::Vector<Aws::String>&& value) { m_dockerSecurityOptionsHasBeenSet = true; m_dockerSecurityOptions = std::move(value); }
3724
3754
3784
3813 inline ContainerDefinition& AddDockerSecurityOptions(const Aws::String& value) { m_dockerSecurityOptionsHasBeenSet = true; m_dockerSecurityOptions.push_back(value); return *this; }
3814
3843 inline ContainerDefinition& AddDockerSecurityOptions(Aws::String&& value) { m_dockerSecurityOptionsHasBeenSet = true; m_dockerSecurityOptions.push_back(std::move(value)); return *this; }
3844
3873 inline ContainerDefinition& AddDockerSecurityOptions(const char* value) { m_dockerSecurityOptionsHasBeenSet = true; m_dockerSecurityOptions.push_back(value); return *this; }
3874
3875
3887 inline bool GetInteractive() const{ return m_interactive; }
3888
3900 inline bool InteractiveHasBeenSet() const { return m_interactiveHasBeenSet; }
3901
3913 inline void SetInteractive(bool value) { m_interactiveHasBeenSet = true; m_interactive = value; }
3914
3926 inline ContainerDefinition& WithInteractive(bool value) { SetInteractive(value); return *this;}
3927
3928
3939 inline bool GetPseudoTerminal() const{ return m_pseudoTerminal; }
3940
3951 inline bool PseudoTerminalHasBeenSet() const { return m_pseudoTerminalHasBeenSet; }
3952
3963 inline void SetPseudoTerminal(bool value) { m_pseudoTerminalHasBeenSet = true; m_pseudoTerminal = value; }
3964
3975 inline ContainerDefinition& WithPseudoTerminal(bool value) { SetPseudoTerminal(value); return *this;}
3976
3977
3991 inline const Aws::Map<Aws::String, Aws::String>& GetDockerLabels() const{ return m_dockerLabels; }
3992
4006 inline bool DockerLabelsHasBeenSet() const { return m_dockerLabelsHasBeenSet; }
4007
4021 inline void SetDockerLabels(const Aws::Map<Aws::String, Aws::String>& value) { m_dockerLabelsHasBeenSet = true; m_dockerLabels = value; }
4022
4036 inline void SetDockerLabels(Aws::Map<Aws::String, Aws::String>&& value) { m_dockerLabelsHasBeenSet = true; m_dockerLabels = std::move(value); }
4037
4052
4067
4081 inline ContainerDefinition& AddDockerLabels(const Aws::String& key, const Aws::String& value) { m_dockerLabelsHasBeenSet = true; m_dockerLabels.emplace(key, value); return *this; }
4082
4096 inline ContainerDefinition& AddDockerLabels(Aws::String&& key, const Aws::String& value) { m_dockerLabelsHasBeenSet = true; m_dockerLabels.emplace(std::move(key), value); return *this; }
4097
4111 inline ContainerDefinition& AddDockerLabels(const Aws::String& key, Aws::String&& value) { m_dockerLabelsHasBeenSet = true; m_dockerLabels.emplace(key, std::move(value)); return *this; }
4112
4126 inline ContainerDefinition& AddDockerLabels(Aws::String&& key, Aws::String&& value) { m_dockerLabelsHasBeenSet = true; m_dockerLabels.emplace(std::move(key), std::move(value)); return *this; }
4127
4141 inline ContainerDefinition& AddDockerLabels(const char* key, Aws::String&& value) { m_dockerLabelsHasBeenSet = true; m_dockerLabels.emplace(key, std::move(value)); return *this; }
4142
4156 inline ContainerDefinition& AddDockerLabels(Aws::String&& key, const char* value) { m_dockerLabelsHasBeenSet = true; m_dockerLabels.emplace(std::move(key), value); return *this; }
4157
4171 inline ContainerDefinition& AddDockerLabels(const char* key, const char* value) { m_dockerLabelsHasBeenSet = true; m_dockerLabels.emplace(key, value); return *this; }
4172
4173
4197 inline const Aws::Vector<Ulimit>& GetUlimits() const{ return m_ulimits; }
4198
4222 inline bool UlimitsHasBeenSet() const { return m_ulimitsHasBeenSet; }
4223
4247 inline void SetUlimits(const Aws::Vector<Ulimit>& value) { m_ulimitsHasBeenSet = true; m_ulimits = value; }
4248
4272 inline void SetUlimits(Aws::Vector<Ulimit>&& value) { m_ulimitsHasBeenSet = true; m_ulimits = std::move(value); }
4273
4297 inline ContainerDefinition& WithUlimits(const Aws::Vector<Ulimit>& value) { SetUlimits(value); return *this;}
4298
4322 inline ContainerDefinition& WithUlimits(Aws::Vector<Ulimit>&& value) { SetUlimits(std::move(value)); return *this;}
4323
4347 inline ContainerDefinition& AddUlimits(const Ulimit& value) { m_ulimitsHasBeenSet = true; m_ulimits.push_back(value); return *this; }
4348
4372 inline ContainerDefinition& AddUlimits(Ulimit&& value) { m_ulimitsHasBeenSet = true; m_ulimits.push_back(std::move(value)); return *this; }
4373
4374
4408 inline const LogConfiguration& GetLogConfiguration() const{ return m_logConfiguration; }
4409
4443 inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; }
4444
4478 inline void SetLogConfiguration(const LogConfiguration& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = value; }
4479
4513 inline void SetLogConfiguration(LogConfiguration&& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = std::move(value); }
4514
4549
4583 inline ContainerDefinition& WithLogConfiguration(LogConfiguration&& value) { SetLogConfiguration(std::move(value)); return *this;}
4584
4585
4596 inline const HealthCheck& GetHealthCheck() const{ return m_healthCheck; }
4597
4608 inline bool HealthCheckHasBeenSet() const { return m_healthCheckHasBeenSet; }
4609
4620 inline void SetHealthCheck(const HealthCheck& value) { m_healthCheckHasBeenSet = true; m_healthCheck = value; }
4621
4632 inline void SetHealthCheck(HealthCheck&& value) { m_healthCheckHasBeenSet = true; m_healthCheck = std::move(value); }
4633
4644 inline ContainerDefinition& WithHealthCheck(const HealthCheck& value) { SetHealthCheck(value); return *this;}
4645
4656 inline ContainerDefinition& WithHealthCheck(HealthCheck&& value) { SetHealthCheck(std::move(value)); return *this;}
4657
4658
4676 inline const Aws::Vector<SystemControl>& GetSystemControls() const{ return m_systemControls; }
4677
4695 inline bool SystemControlsHasBeenSet() const { return m_systemControlsHasBeenSet; }
4696
4714 inline void SetSystemControls(const Aws::Vector<SystemControl>& value) { m_systemControlsHasBeenSet = true; m_systemControls = value; }
4715
4733 inline void SetSystemControls(Aws::Vector<SystemControl>&& value) { m_systemControlsHasBeenSet = true; m_systemControls = std::move(value); }
4734
4753
4771 inline ContainerDefinition& WithSystemControls(Aws::Vector<SystemControl>&& value) { SetSystemControls(std::move(value)); return *this;}
4772
4790 inline ContainerDefinition& AddSystemControls(const SystemControl& value) { m_systemControlsHasBeenSet = true; m_systemControls.push_back(value); return *this; }
4791
4809 inline ContainerDefinition& AddSystemControls(SystemControl&& value) { m_systemControlsHasBeenSet = true; m_systemControls.push_back(std::move(value)); return *this; }
4810
4811
4816 inline const Aws::Vector<ResourceRequirement>& GetResourceRequirements() const{ return m_resourceRequirements; }
4817
4822 inline bool ResourceRequirementsHasBeenSet() const { return m_resourceRequirementsHasBeenSet; }
4823
4828 inline void SetResourceRequirements(const Aws::Vector<ResourceRequirement>& value) { m_resourceRequirementsHasBeenSet = true; m_resourceRequirements = value; }
4829
4834 inline void SetResourceRequirements(Aws::Vector<ResourceRequirement>&& value) { m_resourceRequirementsHasBeenSet = true; m_resourceRequirements = std::move(value); }
4835
4841
4847
4852 inline ContainerDefinition& AddResourceRequirements(const ResourceRequirement& value) { m_resourceRequirementsHasBeenSet = true; m_resourceRequirements.push_back(value); return *this; }
4853
4858 inline ContainerDefinition& AddResourceRequirements(ResourceRequirement&& value) { m_resourceRequirementsHasBeenSet = true; m_resourceRequirements.push_back(std::move(value)); return *this; }
4859
4860
4868 inline const FirelensConfiguration& GetFirelensConfiguration() const{ return m_firelensConfiguration; }
4869
4877 inline bool FirelensConfigurationHasBeenSet() const { return m_firelensConfigurationHasBeenSet; }
4878
4886 inline void SetFirelensConfiguration(const FirelensConfiguration& value) { m_firelensConfigurationHasBeenSet = true; m_firelensConfiguration = value; }
4887
4895 inline void SetFirelensConfiguration(FirelensConfiguration&& value) { m_firelensConfigurationHasBeenSet = true; m_firelensConfiguration = std::move(value); }
4896
4905
4914
4915 private:
4916
4917 Aws::String m_name;
4918 bool m_nameHasBeenSet = false;
4919
4920 Aws::String m_image;
4921 bool m_imageHasBeenSet = false;
4922
4923 RepositoryCredentials m_repositoryCredentials;
4924 bool m_repositoryCredentialsHasBeenSet = false;
4925
4926 int m_cpu;
4927 bool m_cpuHasBeenSet = false;
4928
4929 int m_memory;
4930 bool m_memoryHasBeenSet = false;
4931
4932 int m_memoryReservation;
4933 bool m_memoryReservationHasBeenSet = false;
4934
4936 bool m_linksHasBeenSet = false;
4937
4938 Aws::Vector<PortMapping> m_portMappings;
4939 bool m_portMappingsHasBeenSet = false;
4940
4941 bool m_essential;
4942 bool m_essentialHasBeenSet = false;
4943
4944 Aws::Vector<Aws::String> m_entryPoint;
4945 bool m_entryPointHasBeenSet = false;
4946
4947 Aws::Vector<Aws::String> m_command;
4948 bool m_commandHasBeenSet = false;
4949
4950 Aws::Vector<KeyValuePair> m_environment;
4951 bool m_environmentHasBeenSet = false;
4952
4953 Aws::Vector<EnvironmentFile> m_environmentFiles;
4954 bool m_environmentFilesHasBeenSet = false;
4955
4956 Aws::Vector<MountPoint> m_mountPoints;
4957 bool m_mountPointsHasBeenSet = false;
4958
4959 Aws::Vector<VolumeFrom> m_volumesFrom;
4960 bool m_volumesFromHasBeenSet = false;
4961
4962 LinuxParameters m_linuxParameters;
4963 bool m_linuxParametersHasBeenSet = false;
4964
4965 Aws::Vector<Secret> m_secrets;
4966 bool m_secretsHasBeenSet = false;
4967
4969 bool m_dependsOnHasBeenSet = false;
4970
4971 int m_startTimeout;
4972 bool m_startTimeoutHasBeenSet = false;
4973
4974 int m_stopTimeout;
4975 bool m_stopTimeoutHasBeenSet = false;
4976
4977 Aws::String m_hostname;
4978 bool m_hostnameHasBeenSet = false;
4979
4980 Aws::String m_user;
4981 bool m_userHasBeenSet = false;
4982
4983 Aws::String m_workingDirectory;
4984 bool m_workingDirectoryHasBeenSet = false;
4985
4986 bool m_disableNetworking;
4987 bool m_disableNetworkingHasBeenSet = false;
4988
4989 bool m_privileged;
4990 bool m_privilegedHasBeenSet = false;
4991
4992 bool m_readonlyRootFilesystem;
4993 bool m_readonlyRootFilesystemHasBeenSet = false;
4994
4995 Aws::Vector<Aws::String> m_dnsServers;
4996 bool m_dnsServersHasBeenSet = false;
4997
4998 Aws::Vector<Aws::String> m_dnsSearchDomains;
4999 bool m_dnsSearchDomainsHasBeenSet = false;
5000
5001 Aws::Vector<HostEntry> m_extraHosts;
5002 bool m_extraHostsHasBeenSet = false;
5003
5004 Aws::Vector<Aws::String> m_dockerSecurityOptions;
5005 bool m_dockerSecurityOptionsHasBeenSet = false;
5006
5007 bool m_interactive;
5008 bool m_interactiveHasBeenSet = false;
5009
5010 bool m_pseudoTerminal;
5011 bool m_pseudoTerminalHasBeenSet = false;
5012
5014 bool m_dockerLabelsHasBeenSet = false;
5015
5016 Aws::Vector<Ulimit> m_ulimits;
5017 bool m_ulimitsHasBeenSet = false;
5018
5019 LogConfiguration m_logConfiguration;
5020 bool m_logConfigurationHasBeenSet = false;
5021
5022 HealthCheck m_healthCheck;
5023 bool m_healthCheckHasBeenSet = false;
5024
5025 Aws::Vector<SystemControl> m_systemControls;
5026 bool m_systemControlsHasBeenSet = false;
5027
5028 Aws::Vector<ResourceRequirement> m_resourceRequirements;
5029 bool m_resourceRequirementsHasBeenSet = false;
5030
5031 FirelensConfiguration m_firelensConfiguration;
5032 bool m_firelensConfigurationHasBeenSet = false;
5033 };
5034
5035} // namespace Model
5036} // namespace ECS
5037} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
ContainerDefinition & AddDockerSecurityOptions(const Aws::String &value)
ContainerDefinition & WithStopTimeout(int value)
void SetMountPoints(const Aws::Vector< MountPoint > &value)
ContainerDefinition & WithLinuxParameters(LinuxParameters &&value)
ContainerDefinition & WithName(const Aws::String &value)
ContainerDefinition & WithPseudoTerminal(bool value)
ContainerDefinition & WithEnvironmentFiles(Aws::Vector< EnvironmentFile > &&value)
ContainerDefinition & WithReadonlyRootFilesystem(bool value)
void SetEnvironmentFiles(const Aws::Vector< EnvironmentFile > &value)
const Aws::Vector< Aws::String > & GetEntryPoint() const
const Aws::Vector< ContainerDependency > & GetDependsOn() const
ContainerDefinition & WithSecrets(Aws::Vector< Secret > &&value)
ContainerDefinition & WithEntryPoint(const Aws::Vector< Aws::String > &value)
ContainerDefinition & AddCommand(const Aws::String &value)
ContainerDefinition & AddPortMappings(const PortMapping &value)
void SetLinks(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetLinks() const
const Aws::Vector< Aws::String > & GetDockerSecurityOptions() const
ContainerDefinition & AddDockerLabels(Aws::String &&key, const char *value)
void SetDependsOn(Aws::Vector< ContainerDependency > &&value)
ContainerDefinition & WithName(Aws::String &&value)
void SetRepositoryCredentials(RepositoryCredentials &&value)
ContainerDefinition & WithMountPoints(const Aws::Vector< MountPoint > &value)
void SetDockerLabels(const Aws::Map< Aws::String, Aws::String > &value)
ContainerDefinition & WithEssential(bool value)
ContainerDefinition & WithDependsOn(const Aws::Vector< ContainerDependency > &value)
void SetLinuxParameters(LinuxParameters &&value)
void SetSystemControls(Aws::Vector< SystemControl > &&value)
void SetDockerSecurityOptions(Aws::Vector< Aws::String > &&value)
void SetDockerLabels(Aws::Map< Aws::String, Aws::String > &&value)
ContainerDefinition & AddCommand(const char *value)
ContainerDefinition & WithEnvironment(const Aws::Vector< KeyValuePair > &value)
ContainerDefinition & WithUlimits(Aws::Vector< Ulimit > &&value)
ContainerDefinition & WithLogConfiguration(const LogConfiguration &value)
ContainerDefinition & AddPortMappings(PortMapping &&value)
ContainerDefinition & WithMemoryReservation(int value)
ContainerDefinition & WithName(const char *value)
void SetDnsServers(Aws::Vector< Aws::String > &&value)
ContainerDefinition & AddResourceRequirements(ResourceRequirement &&value)
ContainerDefinition & WithLinuxParameters(const LinuxParameters &value)
void SetEnvironment(const Aws::Vector< KeyValuePair > &value)
ContainerDefinition & WithFirelensConfiguration(const FirelensConfiguration &value)
const Aws::String & GetWorkingDirectory() const
const Aws::Vector< Aws::String > & GetDnsServers() const
const LinuxParameters & GetLinuxParameters() const
void SetSecrets(const Aws::Vector< Secret > &value)
const LogConfiguration & GetLogConfiguration() const
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLinuxParameters(const LinuxParameters &value)
ContainerDefinition & WithDisableNetworking(bool value)
ContainerDefinition & AddMountPoints(MountPoint &&value)
void SetCommand(Aws::Vector< Aws::String > &&value)
void SetLogConfiguration(LogConfiguration &&value)
ContainerDefinition & AddCommand(Aws::String &&value)
ContainerDefinition & AddSecrets(const Secret &value)
ContainerDefinition & WithSystemControls(const Aws::Vector< SystemControl > &value)
void SetFirelensConfiguration(FirelensConfiguration &&value)
ContainerDefinition & WithImage(const Aws::String &value)
void SetHostname(const Aws::String &value)
ContainerDefinition & AddEnvironment(const KeyValuePair &value)
ContainerDefinition & AddEnvironmentFiles(EnvironmentFile &&value)
void SetEntryPoint(Aws::Vector< Aws::String > &&value)
ContainerDefinition & AddSystemControls(SystemControl &&value)
ContainerDefinition & AddUlimits(const Ulimit &value)
const Aws::Vector< VolumeFrom > & GetVolumesFrom() const
ContainerDefinition & WithDockerSecurityOptions(const Aws::Vector< Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetDockerLabels() const
ContainerDefinition & WithFirelensConfiguration(FirelensConfiguration &&value)
void SetRepositoryCredentials(const RepositoryCredentials &value)
const Aws::String & GetImage() const
ContainerDefinition & WithResourceRequirements(Aws::Vector< ResourceRequirement > &&value)
ContainerDefinition & AddMountPoints(const MountPoint &value)
void SetDockerSecurityOptions(const Aws::Vector< Aws::String > &value)
ContainerDefinition & AddDockerLabels(const char *key, const char *value)
ContainerDefinition & AddDockerLabels(Aws::String &&key, const Aws::String &value)
void SetExtraHosts(const Aws::Vector< HostEntry > &value)
ContainerDefinition & AddDockerSecurityOptions(Aws::String &&value)
const Aws::Vector< ResourceRequirement > & GetResourceRequirements() const
void SetHealthCheck(HealthCheck &&value)
ContainerDefinition & AddDnsServers(const Aws::String &value)
void SetDnsServers(const Aws::Vector< Aws::String > &value)
ContainerDefinition & AddLinks(const char *value)
ContainerDefinition & WithSecrets(const Aws::Vector< Secret > &value)
ContainerDefinition & AddDockerSecurityOptions(const char *value)
void SetPortMappings(const Aws::Vector< PortMapping > &value)
ContainerDefinition & AddDnsServers(Aws::String &&value)
const Aws::Vector< KeyValuePair > & GetEnvironment() const
ContainerDefinition & WithMemory(int value)
void SetFirelensConfiguration(const FirelensConfiguration &value)
ContainerDefinition & WithWorkingDirectory(const char *value)
ContainerDefinition & AddSecrets(Secret &&value)
void SetVolumesFrom(Aws::Vector< VolumeFrom > &&value)
ContainerDefinition & WithLinks(const Aws::Vector< Aws::String > &value)
ContainerDefinition & AddExtraHosts(HostEntry &&value)
void SetLinks(const Aws::Vector< Aws::String > &value)
void SetUlimits(const Aws::Vector< Ulimit > &value)
void SetResourceRequirements(Aws::Vector< ResourceRequirement > &&value)
ContainerDefinition & AddEntryPoint(Aws::String &&value)
const Aws::Vector< PortMapping > & GetPortMappings() const
ContainerDefinition & AddDnsSearchDomains(const Aws::String &value)
ContainerDefinition & WithResourceRequirements(const Aws::Vector< ResourceRequirement > &value)
ContainerDefinition & WithWorkingDirectory(const Aws::String &value)
ContainerDefinition & AddResourceRequirements(const ResourceRequirement &value)
ContainerDefinition & AddDnsServers(const char *value)
ContainerDefinition & WithDnsSearchDomains(Aws::Vector< Aws::String > &&value)
ContainerDefinition & WithHostname(const Aws::String &value)
ContainerDefinition & WithDependsOn(Aws::Vector< ContainerDependency > &&value)
void SetUlimits(Aws::Vector< Ulimit > &&value)
const Aws::Vector< Secret > & GetSecrets() const
const Aws::Vector< Aws::String > & GetDnsSearchDomains() const
ContainerDefinition & WithDockerLabels(Aws::Map< Aws::String, Aws::String > &&value)
void SetName(const Aws::String &value)
ContainerDefinition & AddVolumesFrom(const VolumeFrom &value)
ContainerDefinition & WithHealthCheck(const HealthCheck &value)
ContainerDefinition & AddLinks(Aws::String &&value)
void SetExtraHosts(Aws::Vector< HostEntry > &&value)
ContainerDefinition & WithLogConfiguration(LogConfiguration &&value)
ContainerDefinition & WithPortMappings(Aws::Vector< PortMapping > &&value)
void SetWorkingDirectory(const Aws::String &value)
ContainerDefinition & WithCommand(Aws::Vector< Aws::String > &&value)
ContainerDefinition & AddSystemControls(const SystemControl &value)
ContainerDefinition & WithDockerLabels(const Aws::Map< Aws::String, Aws::String > &value)
ContainerDefinition & WithMountPoints(Aws::Vector< MountPoint > &&value)
ContainerDefinition & AddDockerLabels(const Aws::String &key, Aws::String &&value)
ContainerDefinition & WithHealthCheck(HealthCheck &&value)
ContainerDefinition & AddDnsSearchDomains(Aws::String &&value)
ContainerDefinition & WithHostname(const char *value)
ContainerDefinition & WithWorkingDirectory(Aws::String &&value)
const HealthCheck & GetHealthCheck() const
void SetSecrets(Aws::Vector< Secret > &&value)
ContainerDefinition & WithUser(const char *value)
ContainerDefinition & AddDockerLabels(const Aws::String &key, const Aws::String &value)
void SetDependsOn(const Aws::Vector< ContainerDependency > &value)
ContainerDefinition & AddDependsOn(ContainerDependency &&value)
void SetSystemControls(const Aws::Vector< SystemControl > &value)
ContainerDefinition & WithExtraHosts(Aws::Vector< HostEntry > &&value)
const Aws::Vector< Aws::String > & GetCommand() const
const Aws::Vector< Ulimit > & GetUlimits() const
void SetEntryPoint(const Aws::Vector< Aws::String > &value)
void SetResourceRequirements(const Aws::Vector< ResourceRequirement > &value)
const Aws::Vector< MountPoint > & GetMountPoints() const
ContainerDefinition & WithVolumesFrom(const Aws::Vector< VolumeFrom > &value)
ContainerDefinition & WithInteractive(bool value)
ContainerDefinition & WithDockerSecurityOptions(Aws::Vector< Aws::String > &&value)
void SetWorkingDirectory(Aws::String &&value)
void SetDnsSearchDomains(Aws::Vector< Aws::String > &&value)
ContainerDefinition & WithUser(Aws::String &&value)
ContainerDefinition & WithCpu(int value)
ContainerDefinition & WithUlimits(const Aws::Vector< Ulimit > &value)
ContainerDefinition & WithVolumesFrom(Aws::Vector< VolumeFrom > &&value)
void SetPortMappings(Aws::Vector< PortMapping > &&value)
ContainerDefinition & AddDockerLabels(const char *key, Aws::String &&value)
void SetVolumesFrom(const Aws::Vector< VolumeFrom > &value)
ContainerDefinition & WithPrivileged(bool value)
ContainerDefinition & WithSystemControls(Aws::Vector< SystemControl > &&value)
ContainerDefinition & AddDnsSearchDomains(const char *value)
ContainerDefinition & AddDockerLabels(Aws::String &&key, Aws::String &&value)
AWS_ECS_API ContainerDefinition(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< EnvironmentFile > & GetEnvironmentFiles() const
ContainerDefinition & AddDependsOn(const ContainerDependency &value)
const Aws::Vector< SystemControl > & GetSystemControls() const
ContainerDefinition & WithDnsSearchDomains(const Aws::Vector< Aws::String > &value)
ContainerDefinition & AddEntryPoint(const char *value)
ContainerDefinition & WithImage(Aws::String &&value)
ContainerDefinition & WithDnsServers(const Aws::Vector< Aws::String > &value)
void SetHealthCheck(const HealthCheck &value)
void SetEnvironment(Aws::Vector< KeyValuePair > &&value)
ContainerDefinition & WithUser(const Aws::String &value)
ContainerDefinition & WithDnsServers(Aws::Vector< Aws::String > &&value)
AWS_ECS_API ContainerDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< HostEntry > & GetExtraHosts() const
ContainerDefinition & AddEntryPoint(const Aws::String &value)
void SetLogConfiguration(const LogConfiguration &value)
void SetDnsSearchDomains(const Aws::Vector< Aws::String > &value)
ContainerDefinition & AddEnvironmentFiles(const EnvironmentFile &value)
ContainerDefinition & WithImage(const char *value)
const FirelensConfiguration & GetFirelensConfiguration() const
ContainerDefinition & WithHostname(Aws::String &&value)
const Aws::String & GetName() const
void SetUser(const Aws::String &value)
ContainerDefinition & WithCommand(const Aws::Vector< Aws::String > &value)
ContainerDefinition & WithRepositoryCredentials(RepositoryCredentials &&value)
ContainerDefinition & WithEnvironmentFiles(const Aws::Vector< EnvironmentFile > &value)
void SetEnvironmentFiles(Aws::Vector< EnvironmentFile > &&value)
void SetImage(const Aws::String &value)
ContainerDefinition & AddExtraHosts(const HostEntry &value)
void SetCommand(const Aws::Vector< Aws::String > &value)
ContainerDefinition & WithExtraHosts(const Aws::Vector< HostEntry > &value)
ContainerDefinition & WithPortMappings(const Aws::Vector< PortMapping > &value)
ContainerDefinition & AddEnvironment(KeyValuePair &&value)
ContainerDefinition & AddLinks(const Aws::String &value)
ContainerDefinition & WithStartTimeout(int value)
ContainerDefinition & AddUlimits(Ulimit &&value)
ContainerDefinition & WithRepositoryCredentials(const RepositoryCredentials &value)
ContainerDefinition & WithEntryPoint(Aws::Vector< Aws::String > &&value)
ContainerDefinition & WithLinks(Aws::Vector< Aws::String > &&value)
ContainerDefinition & AddVolumesFrom(VolumeFrom &&value)
void SetMountPoints(Aws::Vector< MountPoint > &&value)
const Aws::String & GetHostname() const
ContainerDefinition & WithEnvironment(Aws::Vector< KeyValuePair > &&value)
const RepositoryCredentials & GetRepositoryCredentials() const
Definition: HostEntry.h:34
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