7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/AwsEcsTaskDefinitionProxyConfigurationDetails.h>
11#include <aws/securityhub/model/AwsEcsTaskDefinitionContainerDefinitionsDetails.h>
12#include <aws/securityhub/model/AwsEcsTaskDefinitionInferenceAcceleratorsDetails.h>
13#include <aws/securityhub/model/AwsEcsTaskDefinitionPlacementConstraintsDetails.h>
14#include <aws/securityhub/model/AwsEcsTaskDefinitionVolumesDetails.h>
74 inline void SetCpu(
Aws::String&& value) { m_cpuHasBeenSet =
true; m_cpu = std::move(value); }
75 inline void SetCpu(
const char* value) { m_cpuHasBeenSet =
true; m_cpu.assign(value); }
90 inline void SetExecutionRoleArn(
const char* value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn.assign(value); }
104 inline void SetFamily(
const char* value) { m_familyHasBeenSet =
true; m_family.assign(value); }
135 inline void SetIpcMode(
const char* value) { m_ipcModeHasBeenSet =
true; m_ipcMode.assign(value); }
156 inline void SetMemory(
const char* value) { m_memoryHasBeenSet =
true; m_memory.assign(value); }
173 inline void SetNetworkMode(
const char* value) { m_networkModeHasBeenSet =
true; m_networkMode.assign(value); }
188 inline void SetPidMode(
const char* value) { m_pidModeHasBeenSet =
true; m_pidMode.assign(value); }
244 inline void SetTaskRoleArn(
const char* value) { m_taskRoleArnHasBeenSet =
true; m_taskRoleArn.assign(value); }
272 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
280 bool m_containerDefinitionsHasBeenSet =
false;
283 bool m_cpuHasBeenSet =
false;
286 bool m_executionRoleArnHasBeenSet =
false;
289 bool m_familyHasBeenSet =
false;
292 bool m_inferenceAcceleratorsHasBeenSet =
false;
295 bool m_ipcModeHasBeenSet =
false;
298 bool m_memoryHasBeenSet =
false;
301 bool m_networkModeHasBeenSet =
false;
304 bool m_pidModeHasBeenSet =
false;
307 bool m_placementConstraintsHasBeenSet =
false;
310 bool m_proxyConfigurationHasBeenSet =
false;
313 bool m_requiresCompatibilitiesHasBeenSet =
false;
316 bool m_taskRoleArnHasBeenSet =
false;
319 bool m_volumesHasBeenSet =
false;
322 bool m_statusHasBeenSet =
false;
AwsEcsTaskDefinitionDetails & WithMemory(const char *value)
void SetCpu(Aws::String &&value)
AWS_SECURITYHUB_API AwsEcsTaskDefinitionDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsEcsTaskDefinitionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVolumes(const Aws::Vector< AwsEcsTaskDefinitionVolumesDetails > &value)
bool PlacementConstraintsHasBeenSet() const
bool InferenceAcceleratorsHasBeenSet() const
const Aws::Vector< AwsEcsTaskDefinitionContainerDefinitionsDetails > & GetContainerDefinitions() const
void SetExecutionRoleArn(Aws::String &&value)
void SetStatus(Aws::String &&value)
void SetRequiresCompatibilities(Aws::Vector< Aws::String > &&value)
AwsEcsTaskDefinitionDetails & AddPlacementConstraints(const AwsEcsTaskDefinitionPlacementConstraintsDetails &value)
AwsEcsTaskDefinitionDetails & WithStatus(const char *value)
AwsEcsTaskDefinitionDetails & WithContainerDefinitions(Aws::Vector< AwsEcsTaskDefinitionContainerDefinitionsDetails > &&value)
const Aws::String & GetCpu() const
AwsEcsTaskDefinitionDetails & WithFamily(const Aws::String &value)
AwsEcsTaskDefinitionDetails & WithTaskRoleArn(Aws::String &&value)
void SetFamily(const char *value)
bool ExecutionRoleArnHasBeenSet() const
void SetCpu(const Aws::String &value)
const Aws::String & GetTaskRoleArn() const
const Aws::String & GetPidMode() const
void SetNetworkMode(const char *value)
void SetInferenceAccelerators(const Aws::Vector< AwsEcsTaskDefinitionInferenceAcceleratorsDetails > &value)
const Aws::String & GetFamily() const
AwsEcsTaskDefinitionDetails & WithRequiresCompatibilities(const Aws::Vector< Aws::String > &value)
AwsEcsTaskDefinitionDetails & AddContainerDefinitions(const AwsEcsTaskDefinitionContainerDefinitionsDetails &value)
void SetIpcMode(const char *value)
AwsEcsTaskDefinitionDetails & WithTaskRoleArn(const Aws::String &value)
void SetContainerDefinitions(Aws::Vector< AwsEcsTaskDefinitionContainerDefinitionsDetails > &&value)
AwsEcsTaskDefinitionDetails & WithVolumes(const Aws::Vector< AwsEcsTaskDefinitionVolumesDetails > &value)
bool ContainerDefinitionsHasBeenSet() const
bool MemoryHasBeenSet() const
void SetNetworkMode(const Aws::String &value)
const Aws::Vector< AwsEcsTaskDefinitionInferenceAcceleratorsDetails > & GetInferenceAccelerators() const
void SetNetworkMode(Aws::String &&value)
void SetProxyConfiguration(AwsEcsTaskDefinitionProxyConfigurationDetails &&value)
const Aws::String & GetMemory() const
AwsEcsTaskDefinitionDetails & WithExecutionRoleArn(const Aws::String &value)
AwsEcsTaskDefinitionDetails & AddPlacementConstraints(AwsEcsTaskDefinitionPlacementConstraintsDetails &&value)
AwsEcsTaskDefinitionDetails & WithPlacementConstraints(const Aws::Vector< AwsEcsTaskDefinitionPlacementConstraintsDetails > &value)
AwsEcsTaskDefinitionDetails & WithProxyConfiguration(AwsEcsTaskDefinitionProxyConfigurationDetails &&value)
const Aws::Vector< AwsEcsTaskDefinitionVolumesDetails > & GetVolumes() const
const AwsEcsTaskDefinitionProxyConfigurationDetails & GetProxyConfiguration() const
AwsEcsTaskDefinitionDetails & AddInferenceAccelerators(AwsEcsTaskDefinitionInferenceAcceleratorsDetails &&value)
AwsEcsTaskDefinitionDetails & WithIpcMode(const Aws::String &value)
const Aws::String & GetStatus() const
AwsEcsTaskDefinitionDetails & WithMemory(Aws::String &&value)
bool PidModeHasBeenSet() const
AwsEcsTaskDefinitionDetails & AddRequiresCompatibilities(const Aws::String &value)
AwsEcsTaskDefinitionDetails & AddInferenceAccelerators(const AwsEcsTaskDefinitionInferenceAcceleratorsDetails &value)
AwsEcsTaskDefinitionDetails & AddRequiresCompatibilities(const char *value)
AwsEcsTaskDefinitionDetails & AddContainerDefinitions(AwsEcsTaskDefinitionContainerDefinitionsDetails &&value)
void SetContainerDefinitions(const Aws::Vector< AwsEcsTaskDefinitionContainerDefinitionsDetails > &value)
bool ProxyConfigurationHasBeenSet() const
const Aws::String & GetNetworkMode() const
AwsEcsTaskDefinitionDetails & WithContainerDefinitions(const Aws::Vector< AwsEcsTaskDefinitionContainerDefinitionsDetails > &value)
void SetIpcMode(const Aws::String &value)
bool CpuHasBeenSet() const
AwsEcsTaskDefinitionDetails & WithExecutionRoleArn(Aws::String &&value)
const Aws::Vector< Aws::String > & GetRequiresCompatibilities() const
const Aws::String & GetIpcMode() const
void SetFamily(const Aws::String &value)
AwsEcsTaskDefinitionDetails & WithNetworkMode(const char *value)
AwsEcsTaskDefinitionDetails & WithPidMode(const Aws::String &value)
bool TaskRoleArnHasBeenSet() const
AwsEcsTaskDefinitionDetails & WithProxyConfiguration(const AwsEcsTaskDefinitionProxyConfigurationDetails &value)
void SetPidMode(Aws::String &&value)
const Aws::String & GetExecutionRoleArn() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIpcMode(Aws::String &&value)
void SetMemory(const Aws::String &value)
AwsEcsTaskDefinitionDetails & WithInferenceAccelerators(const Aws::Vector< AwsEcsTaskDefinitionInferenceAcceleratorsDetails > &value)
void SetStatus(const char *value)
AwsEcsTaskDefinitionDetails & WithStatus(const Aws::String &value)
void SetExecutionRoleArn(const char *value)
void SetRequiresCompatibilities(const Aws::Vector< Aws::String > &value)
AwsEcsTaskDefinitionDetails & WithFamily(const char *value)
AwsEcsTaskDefinitionDetails & WithFamily(Aws::String &&value)
void SetProxyConfiguration(const AwsEcsTaskDefinitionProxyConfigurationDetails &value)
bool RequiresCompatibilitiesHasBeenSet() const
AwsEcsTaskDefinitionDetails & WithTaskRoleArn(const char *value)
void SetStatus(const Aws::String &value)
bool VolumesHasBeenSet() const
AwsEcsTaskDefinitionDetails & WithNetworkMode(const Aws::String &value)
AwsEcsTaskDefinitionDetails & WithCpu(const char *value)
bool NetworkModeHasBeenSet() const
bool FamilyHasBeenSet() const
const Aws::Vector< AwsEcsTaskDefinitionPlacementConstraintsDetails > & GetPlacementConstraints() const
bool IpcModeHasBeenSet() const
AwsEcsTaskDefinitionDetails & WithInferenceAccelerators(Aws::Vector< AwsEcsTaskDefinitionInferenceAcceleratorsDetails > &&value)
void SetCpu(const char *value)
void SetPlacementConstraints(const Aws::Vector< AwsEcsTaskDefinitionPlacementConstraintsDetails > &value)
AwsEcsTaskDefinitionDetails & WithExecutionRoleArn(const char *value)
AwsEcsTaskDefinitionDetails & WithIpcMode(const char *value)
void SetPlacementConstraints(Aws::Vector< AwsEcsTaskDefinitionPlacementConstraintsDetails > &&value)
AwsEcsTaskDefinitionDetails & WithNetworkMode(Aws::String &&value)
AwsEcsTaskDefinitionDetails & WithPidMode(const char *value)
AwsEcsTaskDefinitionDetails & AddVolumes(const AwsEcsTaskDefinitionVolumesDetails &value)
void SetMemory(const char *value)
AwsEcsTaskDefinitionDetails & WithIpcMode(Aws::String &&value)
void SetTaskRoleArn(const char *value)
AwsEcsTaskDefinitionDetails & WithStatus(Aws::String &&value)
void SetExecutionRoleArn(const Aws::String &value)
AwsEcsTaskDefinitionDetails & AddVolumes(AwsEcsTaskDefinitionVolumesDetails &&value)
bool StatusHasBeenSet() const
AwsEcsTaskDefinitionDetails & WithRequiresCompatibilities(Aws::Vector< Aws::String > &&value)
void SetTaskRoleArn(const Aws::String &value)
void SetPidMode(const char *value)
void SetPidMode(const Aws::String &value)
void SetInferenceAccelerators(Aws::Vector< AwsEcsTaskDefinitionInferenceAcceleratorsDetails > &&value)
AwsEcsTaskDefinitionDetails & WithVolumes(Aws::Vector< AwsEcsTaskDefinitionVolumesDetails > &&value)
AwsEcsTaskDefinitionDetails & AddRequiresCompatibilities(Aws::String &&value)
void SetMemory(Aws::String &&value)
AwsEcsTaskDefinitionDetails & WithPlacementConstraints(Aws::Vector< AwsEcsTaskDefinitionPlacementConstraintsDetails > &&value)
AwsEcsTaskDefinitionDetails & WithCpu(const Aws::String &value)
void SetTaskRoleArn(Aws::String &&value)
AwsEcsTaskDefinitionDetails & WithPidMode(Aws::String &&value)
void SetFamily(Aws::String &&value)
AWS_SECURITYHUB_API AwsEcsTaskDefinitionDetails()
AwsEcsTaskDefinitionDetails & WithCpu(Aws::String &&value)
AwsEcsTaskDefinitionDetails & WithMemory(const Aws::String &value)
void SetVolumes(Aws::Vector< AwsEcsTaskDefinitionVolumesDetails > &&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