AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TaskContainerDetails.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/batch/model/LinuxParameters.h>
11#include <aws/batch/model/LogConfiguration.h>
12#include <aws/batch/model/RepositoryCredentials.h>
13#include <aws/batch/model/TaskContainerDependency.h>
14#include <aws/batch/model/KeyValuePair.h>
15#include <aws/batch/model/MountPoint.h>
16#include <aws/batch/model/ResourceRequirement.h>
17#include <aws/batch/model/Secret.h>
18#include <aws/batch/model/Ulimit.h>
19#include <aws/batch/model/NetworkInterface.h>
20#include <utility>
21
22namespace Aws
23{
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29 class JsonView;
30} // namespace Json
31} // namespace Utils
32namespace Batch
33{
34namespace Model
35{
36
44 {
45 public:
46 AWS_BATCH_API TaskContainerDetails();
49 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
64 inline const Aws::Vector<Aws::String>& GetCommand() const{ return m_command; }
65 inline bool CommandHasBeenSet() const { return m_commandHasBeenSet; }
66 inline void SetCommand(const Aws::Vector<Aws::String>& value) { m_commandHasBeenSet = true; m_command = value; }
67 inline void SetCommand(Aws::Vector<Aws::String>&& value) { m_commandHasBeenSet = true; m_command = std::move(value); }
68 inline TaskContainerDetails& WithCommand(const Aws::Vector<Aws::String>& value) { SetCommand(value); return *this;}
69 inline TaskContainerDetails& WithCommand(Aws::Vector<Aws::String>&& value) { SetCommand(std::move(value)); return *this;}
70 inline TaskContainerDetails& AddCommand(const Aws::String& value) { m_commandHasBeenSet = true; m_command.push_back(value); return *this; }
71 inline TaskContainerDetails& AddCommand(Aws::String&& value) { m_commandHasBeenSet = true; m_command.push_back(std::move(value)); return *this; }
72 inline TaskContainerDetails& AddCommand(const char* value) { m_commandHasBeenSet = true; m_command.push_back(value); return *this; }
74
76
79 inline const Aws::Vector<TaskContainerDependency>& GetDependsOn() const{ return m_dependsOn; }
80 inline bool DependsOnHasBeenSet() const { return m_dependsOnHasBeenSet; }
81 inline void SetDependsOn(const Aws::Vector<TaskContainerDependency>& value) { m_dependsOnHasBeenSet = true; m_dependsOn = value; }
82 inline void SetDependsOn(Aws::Vector<TaskContainerDependency>&& value) { m_dependsOnHasBeenSet = true; m_dependsOn = std::move(value); }
84 inline TaskContainerDetails& WithDependsOn(Aws::Vector<TaskContainerDependency>&& value) { SetDependsOn(std::move(value)); return *this;}
85 inline TaskContainerDetails& AddDependsOn(const TaskContainerDependency& value) { m_dependsOnHasBeenSet = true; m_dependsOn.push_back(value); return *this; }
86 inline TaskContainerDetails& AddDependsOn(TaskContainerDependency&& value) { m_dependsOnHasBeenSet = true; m_dependsOn.push_back(std::move(value)); return *this; }
88
90
101 inline const Aws::Vector<KeyValuePair>& GetEnvironment() const{ return m_environment; }
102 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
103 inline void SetEnvironment(const Aws::Vector<KeyValuePair>& value) { m_environmentHasBeenSet = true; m_environment = value; }
104 inline void SetEnvironment(Aws::Vector<KeyValuePair>&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
106 inline TaskContainerDetails& WithEnvironment(Aws::Vector<KeyValuePair>&& value) { SetEnvironment(std::move(value)); return *this;}
107 inline TaskContainerDetails& AddEnvironment(const KeyValuePair& value) { m_environmentHasBeenSet = true; m_environment.push_back(value); return *this; }
108 inline TaskContainerDetails& AddEnvironment(KeyValuePair&& value) { m_environmentHasBeenSet = true; m_environment.push_back(std::move(value)); return *this; }
110
112
126 inline bool GetEssential() const{ return m_essential; }
127 inline bool EssentialHasBeenSet() const { return m_essentialHasBeenSet; }
128 inline void SetEssential(bool value) { m_essentialHasBeenSet = true; m_essential = value; }
129 inline TaskContainerDetails& WithEssential(bool value) { SetEssential(value); return *this;}
131
133
148 inline const Aws::String& GetImage() const{ return m_image; }
149 inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; }
150 inline void SetImage(const Aws::String& value) { m_imageHasBeenSet = true; m_image = value; }
151 inline void SetImage(Aws::String&& value) { m_imageHasBeenSet = true; m_image = std::move(value); }
152 inline void SetImage(const char* value) { m_imageHasBeenSet = true; m_image.assign(value); }
153 inline TaskContainerDetails& WithImage(const Aws::String& value) { SetImage(value); return *this;}
154 inline TaskContainerDetails& WithImage(Aws::String&& value) { SetImage(std::move(value)); return *this;}
155 inline TaskContainerDetails& WithImage(const char* value) { SetImage(value); return *this;}
157
159
165 inline const LinuxParameters& GetLinuxParameters() const{ return m_linuxParameters; }
166 inline bool LinuxParametersHasBeenSet() const { return m_linuxParametersHasBeenSet; }
167 inline void SetLinuxParameters(const LinuxParameters& value) { m_linuxParametersHasBeenSet = true; m_linuxParameters = value; }
168 inline void SetLinuxParameters(LinuxParameters&& value) { m_linuxParametersHasBeenSet = true; m_linuxParameters = std::move(value); }
169 inline TaskContainerDetails& WithLinuxParameters(const LinuxParameters& value) { SetLinuxParameters(value); return *this;}
170 inline TaskContainerDetails& WithLinuxParameters(LinuxParameters&& value) { SetLinuxParameters(std::move(value)); return *this;}
172
174
207 inline const LogConfiguration& GetLogConfiguration() const{ return m_logConfiguration; }
208 inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; }
209 inline void SetLogConfiguration(const LogConfiguration& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = value; }
210 inline void SetLogConfiguration(LogConfiguration&& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = std::move(value); }
212 inline TaskContainerDetails& WithLogConfiguration(LogConfiguration&& value) { SetLogConfiguration(std::move(value)); return *this;}
214
216
228 inline const Aws::Vector<MountPoint>& GetMountPoints() const{ return m_mountPoints; }
229 inline bool MountPointsHasBeenSet() const { return m_mountPointsHasBeenSet; }
230 inline void SetMountPoints(const Aws::Vector<MountPoint>& value) { m_mountPointsHasBeenSet = true; m_mountPoints = value; }
231 inline void SetMountPoints(Aws::Vector<MountPoint>&& value) { m_mountPointsHasBeenSet = true; m_mountPoints = std::move(value); }
232 inline TaskContainerDetails& WithMountPoints(const Aws::Vector<MountPoint>& value) { SetMountPoints(value); return *this;}
233 inline TaskContainerDetails& WithMountPoints(Aws::Vector<MountPoint>&& value) { SetMountPoints(std::move(value)); return *this;}
234 inline TaskContainerDetails& AddMountPoints(const MountPoint& value) { m_mountPointsHasBeenSet = true; m_mountPoints.push_back(value); return *this; }
235 inline TaskContainerDetails& AddMountPoints(MountPoint&& value) { m_mountPointsHasBeenSet = true; m_mountPoints.push_back(std::move(value)); return *this; }
237
239
242 inline const Aws::String& GetName() const{ return m_name; }
243 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
244 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
245 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
246 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
247 inline TaskContainerDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
248 inline TaskContainerDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
249 inline TaskContainerDetails& WithName(const char* value) { SetName(value); return *this;}
251
253
265 inline bool GetPrivileged() const{ return m_privileged; }
266 inline bool PrivilegedHasBeenSet() const { return m_privilegedHasBeenSet; }
267 inline void SetPrivileged(bool value) { m_privilegedHasBeenSet = true; m_privileged = value; }
268 inline TaskContainerDetails& WithPrivileged(bool value) { SetPrivileged(value); return *this;}
270
272
283 inline bool GetReadonlyRootFilesystem() const{ return m_readonlyRootFilesystem; }
284 inline bool ReadonlyRootFilesystemHasBeenSet() const { return m_readonlyRootFilesystemHasBeenSet; }
285 inline void SetReadonlyRootFilesystem(bool value) { m_readonlyRootFilesystemHasBeenSet = true; m_readonlyRootFilesystem = value; }
288
290
293 inline const RepositoryCredentials& GetRepositoryCredentials() const{ return m_repositoryCredentials; }
294 inline bool RepositoryCredentialsHasBeenSet() const { return m_repositoryCredentialsHasBeenSet; }
295 inline void SetRepositoryCredentials(const RepositoryCredentials& value) { m_repositoryCredentialsHasBeenSet = true; m_repositoryCredentials = value; }
296 inline void SetRepositoryCredentials(RepositoryCredentials&& value) { m_repositoryCredentialsHasBeenSet = true; m_repositoryCredentials = std::move(value); }
300
302
306 inline const Aws::Vector<ResourceRequirement>& GetResourceRequirements() const{ return m_resourceRequirements; }
307 inline bool ResourceRequirementsHasBeenSet() const { return m_resourceRequirementsHasBeenSet; }
308 inline void SetResourceRequirements(const Aws::Vector<ResourceRequirement>& value) { m_resourceRequirementsHasBeenSet = true; m_resourceRequirements = value; }
309 inline void SetResourceRequirements(Aws::Vector<ResourceRequirement>&& value) { m_resourceRequirementsHasBeenSet = true; m_resourceRequirements = std::move(value); }
312 inline TaskContainerDetails& AddResourceRequirements(const ResourceRequirement& value) { m_resourceRequirementsHasBeenSet = true; m_resourceRequirements.push_back(value); return *this; }
313 inline TaskContainerDetails& AddResourceRequirements(ResourceRequirement&& value) { m_resourceRequirementsHasBeenSet = true; m_resourceRequirements.push_back(std::move(value)); return *this; }
315
317
322 inline const Aws::Vector<Secret>& GetSecrets() const{ return m_secrets; }
323 inline bool SecretsHasBeenSet() const { return m_secretsHasBeenSet; }
324 inline void SetSecrets(const Aws::Vector<Secret>& value) { m_secretsHasBeenSet = true; m_secrets = value; }
325 inline void SetSecrets(Aws::Vector<Secret>&& value) { m_secretsHasBeenSet = true; m_secrets = std::move(value); }
326 inline TaskContainerDetails& WithSecrets(const Aws::Vector<Secret>& value) { SetSecrets(value); return *this;}
327 inline TaskContainerDetails& WithSecrets(Aws::Vector<Secret>&& value) { SetSecrets(std::move(value)); return *this;}
328 inline TaskContainerDetails& AddSecrets(const Secret& value) { m_secretsHasBeenSet = true; m_secrets.push_back(value); return *this; }
329 inline TaskContainerDetails& AddSecrets(Secret&& value) { m_secretsHasBeenSet = true; m_secrets.push_back(std::move(value)); return *this; }
331
333
355 inline const Aws::Vector<Ulimit>& GetUlimits() const{ return m_ulimits; }
356 inline bool UlimitsHasBeenSet() const { return m_ulimitsHasBeenSet; }
357 inline void SetUlimits(const Aws::Vector<Ulimit>& value) { m_ulimitsHasBeenSet = true; m_ulimits = value; }
358 inline void SetUlimits(Aws::Vector<Ulimit>&& value) { m_ulimitsHasBeenSet = true; m_ulimits = std::move(value); }
359 inline TaskContainerDetails& WithUlimits(const Aws::Vector<Ulimit>& value) { SetUlimits(value); return *this;}
360 inline TaskContainerDetails& WithUlimits(Aws::Vector<Ulimit>&& value) { SetUlimits(std::move(value)); return *this;}
361 inline TaskContainerDetails& AddUlimits(const Ulimit& value) { m_ulimitsHasBeenSet = true; m_ulimits.push_back(value); return *this; }
362 inline TaskContainerDetails& AddUlimits(Ulimit&& value) { m_ulimitsHasBeenSet = true; m_ulimits.push_back(std::move(value)); return *this; }
364
366
380 inline const Aws::String& GetUser() const{ return m_user; }
381 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
382 inline void SetUser(const Aws::String& value) { m_userHasBeenSet = true; m_user = value; }
383 inline void SetUser(Aws::String&& value) { m_userHasBeenSet = true; m_user = std::move(value); }
384 inline void SetUser(const char* value) { m_userHasBeenSet = true; m_user.assign(value); }
385 inline TaskContainerDetails& WithUser(const Aws::String& value) { SetUser(value); return *this;}
386 inline TaskContainerDetails& WithUser(Aws::String&& value) { SetUser(std::move(value)); return *this;}
387 inline TaskContainerDetails& WithUser(const char* value) { SetUser(value); return *this;}
389
391
394 inline int GetExitCode() const{ return m_exitCode; }
395 inline bool ExitCodeHasBeenSet() const { return m_exitCodeHasBeenSet; }
396 inline void SetExitCode(int value) { m_exitCodeHasBeenSet = true; m_exitCode = value; }
397 inline TaskContainerDetails& WithExitCode(int value) { SetExitCode(value); return *this;}
399
401
405 inline const Aws::String& GetReason() const{ return m_reason; }
406 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
407 inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
408 inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
409 inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
410 inline TaskContainerDetails& WithReason(const Aws::String& value) { SetReason(value); return *this;}
411 inline TaskContainerDetails& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
412 inline TaskContainerDetails& WithReason(const char* value) { SetReason(value); return *this;}
414
416
422 inline const Aws::String& GetLogStreamName() const{ return m_logStreamName; }
423 inline bool LogStreamNameHasBeenSet() const { return m_logStreamNameHasBeenSet; }
424 inline void SetLogStreamName(const Aws::String& value) { m_logStreamNameHasBeenSet = true; m_logStreamName = value; }
425 inline void SetLogStreamName(Aws::String&& value) { m_logStreamNameHasBeenSet = true; m_logStreamName = std::move(value); }
426 inline void SetLogStreamName(const char* value) { m_logStreamNameHasBeenSet = true; m_logStreamName.assign(value); }
427 inline TaskContainerDetails& WithLogStreamName(const Aws::String& value) { SetLogStreamName(value); return *this;}
428 inline TaskContainerDetails& WithLogStreamName(Aws::String&& value) { SetLogStreamName(std::move(value)); return *this;}
429 inline TaskContainerDetails& WithLogStreamName(const char* value) { SetLogStreamName(value); return *this;}
431
433
436 inline const Aws::Vector<NetworkInterface>& GetNetworkInterfaces() const{ return m_networkInterfaces; }
437 inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; }
438 inline void SetNetworkInterfaces(const Aws::Vector<NetworkInterface>& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = value; }
439 inline void SetNetworkInterfaces(Aws::Vector<NetworkInterface>&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = std::move(value); }
442 inline TaskContainerDetails& AddNetworkInterfaces(const NetworkInterface& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(value); return *this; }
443 inline TaskContainerDetails& AddNetworkInterfaces(NetworkInterface&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(std::move(value)); return *this; }
445 private:
446
447 Aws::Vector<Aws::String> m_command;
448 bool m_commandHasBeenSet = false;
449
451 bool m_dependsOnHasBeenSet = false;
452
453 Aws::Vector<KeyValuePair> m_environment;
454 bool m_environmentHasBeenSet = false;
455
456 bool m_essential;
457 bool m_essentialHasBeenSet = false;
458
459 Aws::String m_image;
460 bool m_imageHasBeenSet = false;
461
462 LinuxParameters m_linuxParameters;
463 bool m_linuxParametersHasBeenSet = false;
464
465 LogConfiguration m_logConfiguration;
466 bool m_logConfigurationHasBeenSet = false;
467
468 Aws::Vector<MountPoint> m_mountPoints;
469 bool m_mountPointsHasBeenSet = false;
470
471 Aws::String m_name;
472 bool m_nameHasBeenSet = false;
473
474 bool m_privileged;
475 bool m_privilegedHasBeenSet = false;
476
477 bool m_readonlyRootFilesystem;
478 bool m_readonlyRootFilesystemHasBeenSet = false;
479
480 RepositoryCredentials m_repositoryCredentials;
481 bool m_repositoryCredentialsHasBeenSet = false;
482
483 Aws::Vector<ResourceRequirement> m_resourceRequirements;
484 bool m_resourceRequirementsHasBeenSet = false;
485
486 Aws::Vector<Secret> m_secrets;
487 bool m_secretsHasBeenSet = false;
488
489 Aws::Vector<Ulimit> m_ulimits;
490 bool m_ulimitsHasBeenSet = false;
491
492 Aws::String m_user;
493 bool m_userHasBeenSet = false;
494
495 int m_exitCode;
496 bool m_exitCodeHasBeenSet = false;
497
498 Aws::String m_reason;
499 bool m_reasonHasBeenSet = false;
500
501 Aws::String m_logStreamName;
502 bool m_logStreamNameHasBeenSet = false;
503
504 Aws::Vector<NetworkInterface> m_networkInterfaces;
505 bool m_networkInterfacesHasBeenSet = false;
506 };
507
508} // namespace Model
509} // namespace Batch
510} // namespace Aws
TaskContainerDetails & WithLinuxParameters(const LinuxParameters &value)
void SetImage(const Aws::String &value)
TaskContainerDetails & WithUser(Aws::String &&value)
void SetLogConfiguration(LogConfiguration &&value)
const Aws::Vector< Aws::String > & GetCommand() const
TaskContainerDetails & WithDependsOn(const Aws::Vector< TaskContainerDependency > &value)
TaskContainerDetails & WithLogConfiguration(const LogConfiguration &value)
TaskContainerDetails & AddDependsOn(TaskContainerDependency &&value)
const Aws::Vector< ResourceRequirement > & GetResourceRequirements() const
void SetMountPoints(const Aws::Vector< MountPoint > &value)
void SetResourceRequirements(Aws::Vector< ResourceRequirement > &&value)
TaskContainerDetails & WithCommand(const Aws::Vector< Aws::String > &value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
TaskContainerDetails & WithLogConfiguration(LogConfiguration &&value)
TaskContainerDetails & AddNetworkInterfaces(NetworkInterface &&value)
void SetEnvironment(const Aws::Vector< KeyValuePair > &value)
void SetLogConfiguration(const LogConfiguration &value)
const Aws::Vector< TaskContainerDependency > & GetDependsOn() const
TaskContainerDetails & AddUlimits(const Ulimit &value)
void SetDependsOn(Aws::Vector< TaskContainerDependency > &&value)
TaskContainerDetails & WithName(const Aws::String &value)
void SetRepositoryCredentials(const RepositoryCredentials &value)
TaskContainerDetails & WithName(Aws::String &&value)
TaskContainerDetails & AddEnvironment(KeyValuePair &&value)
TaskContainerDetails & AddSecrets(Secret &&value)
TaskContainerDetails & WithReason(const char *value)
void SetSecrets(Aws::Vector< Secret > &&value)
TaskContainerDetails & WithLogStreamName(const Aws::String &value)
void SetUlimits(Aws::Vector< Ulimit > &&value)
void SetRepositoryCredentials(RepositoryCredentials &&value)
void SetLinuxParameters(const LinuxParameters &value)
const Aws::Vector< KeyValuePair > & GetEnvironment() const
void SetNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
const RepositoryCredentials & GetRepositoryCredentials() const
TaskContainerDetails & WithEssential(bool value)
TaskContainerDetails & WithUser(const char *value)
TaskContainerDetails & WithSecrets(const Aws::Vector< Secret > &value)
void SetLogStreamName(const Aws::String &value)
const Aws::Vector< NetworkInterface > & GetNetworkInterfaces() const
TaskContainerDetails & WithPrivileged(bool value)
void SetUlimits(const Aws::Vector< Ulimit > &value)
TaskContainerDetails & WithUlimits(Aws::Vector< Ulimit > &&value)
void SetEnvironment(Aws::Vector< KeyValuePair > &&value)
void SetDependsOn(const Aws::Vector< TaskContainerDependency > &value)
TaskContainerDetails & AddResourceRequirements(const ResourceRequirement &value)
TaskContainerDetails & AddNetworkInterfaces(const NetworkInterface &value)
void SetCommand(const Aws::Vector< Aws::String > &value)
TaskContainerDetails & WithUser(const Aws::String &value)
TaskContainerDetails & WithRepositoryCredentials(const RepositoryCredentials &value)
TaskContainerDetails & WithNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
TaskContainerDetails & WithRepositoryCredentials(RepositoryCredentials &&value)
void SetCommand(Aws::Vector< Aws::String > &&value)
TaskContainerDetails & WithImage(Aws::String &&value)
TaskContainerDetails & AddEnvironment(const KeyValuePair &value)
TaskContainerDetails & WithReason(Aws::String &&value)
const LinuxParameters & GetLinuxParameters() const
TaskContainerDetails & WithMountPoints(const Aws::Vector< MountPoint > &value)
TaskContainerDetails & WithImage(const Aws::String &value)
TaskContainerDetails & WithResourceRequirements(Aws::Vector< ResourceRequirement > &&value)
void SetLinuxParameters(LinuxParameters &&value)
AWS_BATCH_API TaskContainerDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const LogConfiguration & GetLogConfiguration() const
TaskContainerDetails & AddCommand(const char *value)
void SetNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
void SetSecrets(const Aws::Vector< Secret > &value)
TaskContainerDetails & WithExitCode(int value)
AWS_BATCH_API TaskContainerDetails(Aws::Utils::Json::JsonView jsonValue)
TaskContainerDetails & WithCommand(Aws::Vector< Aws::String > &&value)
TaskContainerDetails & WithDependsOn(Aws::Vector< TaskContainerDependency > &&value)
TaskContainerDetails & WithReason(const Aws::String &value)
TaskContainerDetails & WithResourceRequirements(const Aws::Vector< ResourceRequirement > &value)
TaskContainerDetails & AddResourceRequirements(ResourceRequirement &&value)
void SetResourceRequirements(const Aws::Vector< ResourceRequirement > &value)
TaskContainerDetails & WithLinuxParameters(LinuxParameters &&value)
TaskContainerDetails & WithLogStreamName(const char *value)
void SetMountPoints(Aws::Vector< MountPoint > &&value)
const Aws::Vector< Secret > & GetSecrets() const
TaskContainerDetails & AddMountPoints(const MountPoint &value)
TaskContainerDetails & AddCommand(const Aws::String &value)
TaskContainerDetails & AddDependsOn(const TaskContainerDependency &value)
const Aws::Vector< MountPoint > & GetMountPoints() const
TaskContainerDetails & WithName(const char *value)
TaskContainerDetails & AddMountPoints(MountPoint &&value)
TaskContainerDetails & WithEnvironment(Aws::Vector< KeyValuePair > &&value)
TaskContainerDetails & AddSecrets(const Secret &value)
TaskContainerDetails & WithReadonlyRootFilesystem(bool value)
TaskContainerDetails & AddUlimits(Ulimit &&value)
TaskContainerDetails & AddCommand(Aws::String &&value)
TaskContainerDetails & WithLogStreamName(Aws::String &&value)
TaskContainerDetails & WithEnvironment(const Aws::Vector< KeyValuePair > &value)
TaskContainerDetails & WithImage(const char *value)
TaskContainerDetails & WithNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
TaskContainerDetails & WithSecrets(Aws::Vector< Secret > &&value)
const Aws::Vector< Ulimit > & GetUlimits() const
TaskContainerDetails & WithUlimits(const Aws::Vector< Ulimit > &value)
TaskContainerDetails & WithMountPoints(Aws::Vector< MountPoint > &&value)
void SetReason(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue