/** * 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 updates to the VPC configuration used by the * application.

See Also:

AWS * API Reference

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

Describes an update to the ID of the VPC configuration.

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

Describes an update to the ID of the VPC configuration.

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

Describes an update to the ID of the VPC configuration.

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

Describes an update to the ID of the VPC configuration.

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

Describes an update to the ID of the VPC configuration.

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

Describes an update to the ID of the VPC configuration.

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

Describes an update to the ID of the VPC configuration.

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

Describes an update to the ID of the VPC configuration.

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

Describes updates to the array of Subnet * IDs used by the VPC configuration.

*/ inline const Aws::Vector& GetSubnetIdUpdates() const{ return m_subnetIdUpdates; } /** *

Describes updates to the array of Subnet * IDs used by the VPC configuration.

*/ inline bool SubnetIdUpdatesHasBeenSet() const { return m_subnetIdUpdatesHasBeenSet; } /** *

Describes updates to the array of Subnet * IDs used by the VPC configuration.

*/ inline void SetSubnetIdUpdates(const Aws::Vector& value) { m_subnetIdUpdatesHasBeenSet = true; m_subnetIdUpdates = value; } /** *

Describes updates to the array of Subnet * IDs used by the VPC configuration.

*/ inline void SetSubnetIdUpdates(Aws::Vector&& value) { m_subnetIdUpdatesHasBeenSet = true; m_subnetIdUpdates = std::move(value); } /** *

Describes updates to the array of Subnet * IDs used by the VPC configuration.

*/ inline VpcConfigurationUpdate& WithSubnetIdUpdates(const Aws::Vector& value) { SetSubnetIdUpdates(value); return *this;} /** *

Describes updates to the array of Subnet * IDs used by the VPC configuration.

*/ inline VpcConfigurationUpdate& WithSubnetIdUpdates(Aws::Vector&& value) { SetSubnetIdUpdates(std::move(value)); return *this;} /** *

Describes updates to the array of Subnet * IDs used by the VPC configuration.

*/ inline VpcConfigurationUpdate& AddSubnetIdUpdates(const Aws::String& value) { m_subnetIdUpdatesHasBeenSet = true; m_subnetIdUpdates.push_back(value); return *this; } /** *

Describes updates to the array of Subnet * IDs used by the VPC configuration.

*/ inline VpcConfigurationUpdate& AddSubnetIdUpdates(Aws::String&& value) { m_subnetIdUpdatesHasBeenSet = true; m_subnetIdUpdates.push_back(std::move(value)); return *this; } /** *

Describes updates to the array of Subnet * IDs used by the VPC configuration.

*/ inline VpcConfigurationUpdate& AddSubnetIdUpdates(const char* value) { m_subnetIdUpdatesHasBeenSet = true; m_subnetIdUpdates.push_back(value); return *this; } /** *

Describes updates to the array of SecurityGroup * IDs used by the VPC configuration.

*/ inline const Aws::Vector& GetSecurityGroupIdUpdates() const{ return m_securityGroupIdUpdates; } /** *

Describes updates to the array of SecurityGroup * IDs used by the VPC configuration.

*/ inline bool SecurityGroupIdUpdatesHasBeenSet() const { return m_securityGroupIdUpdatesHasBeenSet; } /** *

Describes updates to the array of SecurityGroup * IDs used by the VPC configuration.

*/ inline void SetSecurityGroupIdUpdates(const Aws::Vector& value) { m_securityGroupIdUpdatesHasBeenSet = true; m_securityGroupIdUpdates = value; } /** *

Describes updates to the array of SecurityGroup * IDs used by the VPC configuration.

*/ inline void SetSecurityGroupIdUpdates(Aws::Vector&& value) { m_securityGroupIdUpdatesHasBeenSet = true; m_securityGroupIdUpdates = std::move(value); } /** *

Describes updates to the array of SecurityGroup * IDs used by the VPC configuration.

*/ inline VpcConfigurationUpdate& WithSecurityGroupIdUpdates(const Aws::Vector& value) { SetSecurityGroupIdUpdates(value); return *this;} /** *

Describes updates to the array of SecurityGroup * IDs used by the VPC configuration.

*/ inline VpcConfigurationUpdate& WithSecurityGroupIdUpdates(Aws::Vector&& value) { SetSecurityGroupIdUpdates(std::move(value)); return *this;} /** *

Describes updates to the array of SecurityGroup * IDs used by the VPC configuration.

*/ inline VpcConfigurationUpdate& AddSecurityGroupIdUpdates(const Aws::String& value) { m_securityGroupIdUpdatesHasBeenSet = true; m_securityGroupIdUpdates.push_back(value); return *this; } /** *

Describes updates to the array of SecurityGroup * IDs used by the VPC configuration.

*/ inline VpcConfigurationUpdate& AddSecurityGroupIdUpdates(Aws::String&& value) { m_securityGroupIdUpdatesHasBeenSet = true; m_securityGroupIdUpdates.push_back(std::move(value)); return *this; } /** *

Describes updates to the array of SecurityGroup * IDs used by the VPC configuration.

*/ inline VpcConfigurationUpdate& AddSecurityGroupIdUpdates(const char* value) { m_securityGroupIdUpdatesHasBeenSet = true; m_securityGroupIdUpdates.push_back(value); return *this; } private: Aws::String m_vpcConfigurationId; bool m_vpcConfigurationIdHasBeenSet = false; Aws::Vector m_subnetIdUpdates; bool m_subnetIdUpdatesHasBeenSet = false; Aws::Vector m_securityGroupIdUpdates; bool m_securityGroupIdUpdatesHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws