/** * 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 { /** *

For tasks that use the awsvpc networking mode, the VPC subnet * and security group configuration.

See Also:

AWS * API Reference

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

The VPC subnet and security group configuration.

*/ inline const AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails& GetAwsVpcConfiguration() const{ return m_awsVpcConfiguration; } /** *

The VPC subnet and security group configuration.

*/ inline bool AwsVpcConfigurationHasBeenSet() const { return m_awsVpcConfigurationHasBeenSet; } /** *

The VPC subnet and security group configuration.

*/ inline void SetAwsVpcConfiguration(const AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails& value) { m_awsVpcConfigurationHasBeenSet = true; m_awsVpcConfiguration = value; } /** *

The VPC subnet and security group configuration.

*/ inline void SetAwsVpcConfiguration(AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails&& value) { m_awsVpcConfigurationHasBeenSet = true; m_awsVpcConfiguration = std::move(value); } /** *

The VPC subnet and security group configuration.

*/ inline AwsEcsServiceNetworkConfigurationDetails& WithAwsVpcConfiguration(const AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails& value) { SetAwsVpcConfiguration(value); return *this;} /** *

The VPC subnet and security group configuration.

*/ inline AwsEcsServiceNetworkConfigurationDetails& WithAwsVpcConfiguration(AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails&& value) { SetAwsVpcConfiguration(std::move(value)); return *this;} private: AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails m_awsVpcConfiguration; bool m_awsVpcConfigurationHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws