/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { /** *

See Also:

AWS * API Reference

*/ class AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails { public: AWS_SECURITYHUB_API AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails(); AWS_SECURITYHUB_API AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon EFS access point identifier to use.

*/ inline const Aws::String& GetAccessPointId() const{ return m_accessPointId; } /** *

The Amazon EFS access point identifier to use.

*/ inline bool AccessPointIdHasBeenSet() const { return m_accessPointIdHasBeenSet; } /** *

The Amazon EFS access point identifier to use.

*/ inline void SetAccessPointId(const Aws::String& value) { m_accessPointIdHasBeenSet = true; m_accessPointId = value; } /** *

The Amazon EFS access point identifier to use.

*/ inline void SetAccessPointId(Aws::String&& value) { m_accessPointIdHasBeenSet = true; m_accessPointId = std::move(value); } /** *

The Amazon EFS access point identifier to use.

*/ inline void SetAccessPointId(const char* value) { m_accessPointIdHasBeenSet = true; m_accessPointId.assign(value); } /** *

The Amazon EFS access point identifier to use.

*/ inline AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails& WithAccessPointId(const Aws::String& value) { SetAccessPointId(value); return *this;} /** *

The Amazon EFS access point identifier to use.

*/ inline AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails& WithAccessPointId(Aws::String&& value) { SetAccessPointId(std::move(value)); return *this;} /** *

The Amazon EFS access point identifier to use.

*/ inline AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails& WithAccessPointId(const char* value) { SetAccessPointId(value); return *this;} /** *

Whether to use the Amazon ECS task IAM role defined in a task definition when * mounting the Amazon EFS file system.

*/ inline const Aws::String& GetIam() const{ return m_iam; } /** *

Whether to use the Amazon ECS task IAM role defined in a task definition when * mounting the Amazon EFS file system.

*/ inline bool IamHasBeenSet() const { return m_iamHasBeenSet; } /** *

Whether to use the Amazon ECS task IAM role defined in a task definition when * mounting the Amazon EFS file system.

*/ inline void SetIam(const Aws::String& value) { m_iamHasBeenSet = true; m_iam = value; } /** *

Whether to use the Amazon ECS task IAM role defined in a task definition when * mounting the Amazon EFS file system.

*/ inline void SetIam(Aws::String&& value) { m_iamHasBeenSet = true; m_iam = std::move(value); } /** *

Whether to use the Amazon ECS task IAM role defined in a task definition when * mounting the Amazon EFS file system.

*/ inline void SetIam(const char* value) { m_iamHasBeenSet = true; m_iam.assign(value); } /** *

Whether to use the Amazon ECS task IAM role defined in a task definition when * mounting the Amazon EFS file system.

*/ inline AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails& WithIam(const Aws::String& value) { SetIam(value); return *this;} /** *

Whether to use the Amazon ECS task IAM role defined in a task definition when * mounting the Amazon EFS file system.

*/ inline AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails& WithIam(Aws::String&& value) { SetIam(std::move(value)); return *this;} /** *

Whether to use the Amazon ECS task IAM role defined in a task definition when * mounting the Amazon EFS file system.

*/ inline AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails& WithIam(const char* value) { SetIam(value); return *this;} private: Aws::String m_accessPointId; bool m_accessPointIdHasBeenSet = false; Aws::String m_iam; bool m_iamHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws