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

Describes the VPC networking components used to secure and enable network * traffic between the Amazon Web Services resources for your environment. For more * information, see About * networking on Amazon MWAA.

See Also:

AWS * API Reference

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

A list of security group IDs. For more information, see Security * in your VPC on Amazon MWAA.

*/ inline const Aws::Vector& GetSecurityGroupIds() const{ return m_securityGroupIds; } /** *

A list of security group IDs. For more information, see Security * in your VPC on Amazon MWAA.

*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *

A list of security group IDs. For more information, see Security * in your VPC on Amazon MWAA.

*/ inline void SetSecurityGroupIds(const Aws::Vector& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; } /** *

A list of security group IDs. For more information, see Security * in your VPC on Amazon MWAA.

*/ inline void SetSecurityGroupIds(Aws::Vector&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); } /** *

A list of security group IDs. For more information, see Security * in your VPC on Amazon MWAA.

*/ inline NetworkConfiguration& WithSecurityGroupIds(const Aws::Vector& value) { SetSecurityGroupIds(value); return *this;} /** *

A list of security group IDs. For more information, see Security * in your VPC on Amazon MWAA.

*/ inline NetworkConfiguration& WithSecurityGroupIds(Aws::Vector&& value) { SetSecurityGroupIds(std::move(value)); return *this;} /** *

A list of security group IDs. For more information, see Security * in your VPC on Amazon MWAA.

*/ inline NetworkConfiguration& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *

A list of security group IDs. For more information, see Security * in your VPC on Amazon MWAA.

*/ inline NetworkConfiguration& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *

A list of security group IDs. For more information, see Security * in your VPC on Amazon MWAA.

*/ inline NetworkConfiguration& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *

A list of subnet IDs. For more information, see About * networking on Amazon MWAA.

*/ inline const Aws::Vector& GetSubnetIds() const{ return m_subnetIds; } /** *

A list of subnet IDs. For more information, see About * networking on Amazon MWAA.

*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *

A list of subnet IDs. For more information, see About * networking on Amazon MWAA.

*/ inline void SetSubnetIds(const Aws::Vector& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; } /** *

A list of subnet IDs. For more information, see About * networking on Amazon MWAA.

*/ inline void SetSubnetIds(Aws::Vector&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); } /** *

A list of subnet IDs. For more information, see About * networking on Amazon MWAA.

*/ inline NetworkConfiguration& WithSubnetIds(const Aws::Vector& value) { SetSubnetIds(value); return *this;} /** *

A list of subnet IDs. For more information, see About * networking on Amazon MWAA.

*/ inline NetworkConfiguration& WithSubnetIds(Aws::Vector&& value) { SetSubnetIds(std::move(value)); return *this;} /** *

A list of subnet IDs. For more information, see About * networking on Amazon MWAA.

*/ inline NetworkConfiguration& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *

A list of subnet IDs. For more information, see About * networking on Amazon MWAA.

*/ inline NetworkConfiguration& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *

A list of subnet IDs. For more information, see About * networking on Amazon MWAA.

*/ inline NetworkConfiguration& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } private: Aws::Vector m_securityGroupIds; bool m_securityGroupIdsHasBeenSet = false; Aws::Vector m_subnetIds; bool m_subnetIdsHasBeenSet = false; }; } // namespace Model } // namespace MWAA } // namespace Aws