/** * 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 KinesisAnalyticsV2 { namespace Model { /** *

Describes the parameters of a VPC used by the application.

See * Also:

AWS * API Reference

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

The ID of the VPC configuration.

*/ inline const Aws::String& GetVpcConfigurationId() const{ return m_vpcConfigurationId; } /** *

The ID of the VPC configuration.

*/ inline bool VpcConfigurationIdHasBeenSet() const { return m_vpcConfigurationIdHasBeenSet; } /** *

The ID of the VPC configuration.

*/ inline void SetVpcConfigurationId(const Aws::String& value) { m_vpcConfigurationIdHasBeenSet = true; m_vpcConfigurationId = value; } /** *

The ID of the VPC configuration.

*/ inline void SetVpcConfigurationId(Aws::String&& value) { m_vpcConfigurationIdHasBeenSet = true; m_vpcConfigurationId = std::move(value); } /** *

The ID of the VPC configuration.

*/ inline void SetVpcConfigurationId(const char* value) { m_vpcConfigurationIdHasBeenSet = true; m_vpcConfigurationId.assign(value); } /** *

The ID of the VPC configuration.

*/ inline VpcConfigurationDescription& WithVpcConfigurationId(const Aws::String& value) { SetVpcConfigurationId(value); return *this;} /** *

The ID of the VPC configuration.

*/ inline VpcConfigurationDescription& WithVpcConfigurationId(Aws::String&& value) { SetVpcConfigurationId(std::move(value)); return *this;} /** *

The ID of the VPC configuration.

*/ inline VpcConfigurationDescription& WithVpcConfigurationId(const char* value) { SetVpcConfigurationId(value); return *this;} /** *

The ID of the associated VPC.

*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *

The ID of the associated VPC.

*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *

The ID of the associated VPC.

*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *

The ID of the associated VPC.

*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *

The ID of the associated VPC.

*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *

The ID of the associated VPC.

*/ inline VpcConfigurationDescription& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *

The ID of the associated VPC.

*/ inline VpcConfigurationDescription& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *

The ID of the associated VPC.

*/ inline VpcConfigurationDescription& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *

The array of Subnet * IDs used by the VPC configuration.

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

The array of Subnet * IDs used by the VPC configuration.

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

The array of Subnet * IDs used by the VPC configuration.

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

The array of Subnet * IDs used by the VPC configuration.

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

The array of Subnet * IDs used by the VPC configuration.

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

The array of Subnet * IDs used by the VPC configuration.

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

The array of Subnet * IDs used by the VPC configuration.

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

The array of Subnet * IDs used by the VPC configuration.

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

The array of Subnet * IDs used by the VPC configuration.

*/ inline VpcConfigurationDescription& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *

The array of SecurityGroup * IDs used by the VPC configuration.

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

The array of SecurityGroup * IDs used by the VPC configuration.

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

The array of SecurityGroup * IDs used by the VPC configuration.

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

The array of SecurityGroup * IDs used by the VPC configuration.

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

The array of SecurityGroup * IDs used by the VPC configuration.

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

The array of SecurityGroup * IDs used by the VPC configuration.

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

The array of SecurityGroup * IDs used by the VPC configuration.

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

The array of SecurityGroup * IDs used by the VPC configuration.

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

The array of SecurityGroup * IDs used by the VPC configuration.

*/ inline VpcConfigurationDescription& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } private: Aws::String m_vpcConfigurationId; bool m_vpcConfigurationIdHasBeenSet = false; Aws::String m_vpcId; bool m_vpcIdHasBeenSet = false; Aws::Vector m_subnetIds; bool m_subnetIdsHasBeenSet = false; Aws::Vector m_securityGroupIds; bool m_securityGroupIdsHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws