/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides summary information for the EnvironmentVpc
resource as
* a response to ListEnvironmentVpc
.See Also:
AWS
* API Reference
The Amazon Web Services account ID of the virtual private cloud (VPC) owner. *
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The Amazon Web Services account ID of the virtual private cloud (VPC) owner. *
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The Amazon Web Services account ID of the virtual private cloud (VPC) owner. *
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The Amazon Web Services account ID of the virtual private cloud (VPC) owner. *
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The Amazon Web Services account ID of the virtual private cloud (VPC) owner. *
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The Amazon Web Services account ID of the virtual private cloud (VPC) owner. *
*/ inline EnvironmentVpc& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The Amazon Web Services account ID of the virtual private cloud (VPC) owner. *
*/ inline EnvironmentVpc& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The Amazon Web Services account ID of the virtual private cloud (VPC) owner. *
*/ inline EnvironmentVpc& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *The list of Amazon Virtual Private Cloud (Amazon VPC) CIDR blocks.
*/ inline const Aws::VectorThe list of Amazon Virtual Private Cloud (Amazon VPC) CIDR blocks.
*/ inline bool CidrBlocksHasBeenSet() const { return m_cidrBlocksHasBeenSet; } /** *The list of Amazon Virtual Private Cloud (Amazon VPC) CIDR blocks.
*/ inline void SetCidrBlocks(const Aws::VectorThe list of Amazon Virtual Private Cloud (Amazon VPC) CIDR blocks.
*/ inline void SetCidrBlocks(Aws::VectorThe list of Amazon Virtual Private Cloud (Amazon VPC) CIDR blocks.
*/ inline EnvironmentVpc& WithCidrBlocks(const Aws::VectorThe list of Amazon Virtual Private Cloud (Amazon VPC) CIDR blocks.
*/ inline EnvironmentVpc& WithCidrBlocks(Aws::VectorThe list of Amazon Virtual Private Cloud (Amazon VPC) CIDR blocks.
*/ inline EnvironmentVpc& AddCidrBlocks(const Aws::String& value) { m_cidrBlocksHasBeenSet = true; m_cidrBlocks.push_back(value); return *this; } /** *The list of Amazon Virtual Private Cloud (Amazon VPC) CIDR blocks.
*/ inline EnvironmentVpc& AddCidrBlocks(Aws::String&& value) { m_cidrBlocksHasBeenSet = true; m_cidrBlocks.push_back(std::move(value)); return *this; } /** *The list of Amazon Virtual Private Cloud (Amazon VPC) CIDR blocks.
*/ inline EnvironmentVpc& AddCidrBlocks(const char* value) { m_cidrBlocksHasBeenSet = true; m_cidrBlocks.push_back(value); return *this; } /** *A timestamp that indicates when the VPC is first added to the environment. *
*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *A timestamp that indicates when the VPC is first added to the environment. *
*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *A timestamp that indicates when the VPC is first added to the environment. *
*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *A timestamp that indicates when the VPC is first added to the environment. *
*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *A timestamp that indicates when the VPC is first added to the environment. *
*/ inline EnvironmentVpc& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *A timestamp that indicates when the VPC is first added to the environment. *
*/ inline EnvironmentVpc& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *The unique identifier of the environment.
*/ inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } /** *The unique identifier of the environment.
*/ inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } /** *The unique identifier of the environment.
*/ inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } /** *The unique identifier of the environment.
*/ inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } /** *The unique identifier of the environment.
*/ inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } /** *The unique identifier of the environment.
*/ inline EnvironmentVpc& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *The unique identifier of the environment.
*/ inline EnvironmentVpc& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} /** *The unique identifier of the environment.
*/ inline EnvironmentVpc& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} /** *A timestamp that indicates when the VPC was last updated by the environment. *
*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *A timestamp that indicates when the VPC was last updated by the environment. *
*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *A timestamp that indicates when the VPC was last updated by the environment. *
*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *A timestamp that indicates when the VPC was last updated by the environment. *
*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *A timestamp that indicates when the VPC was last updated by the environment. *
*/ inline EnvironmentVpc& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *A timestamp that indicates when the VPC was last updated by the environment. *
*/ inline EnvironmentVpc& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *The ID of the VPC.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The ID of the VPC.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The ID of the VPC.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The ID of the VPC.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The ID of the VPC.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The ID of the VPC.
*/ inline EnvironmentVpc& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The ID of the VPC.
*/ inline EnvironmentVpc& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The ID of the VPC.
*/ inline EnvironmentVpc& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *The name of the VPC at the time it is added to the environment.
*/ inline const Aws::String& GetVpcName() const{ return m_vpcName; } /** *The name of the VPC at the time it is added to the environment.
*/ inline bool VpcNameHasBeenSet() const { return m_vpcNameHasBeenSet; } /** *The name of the VPC at the time it is added to the environment.
*/ inline void SetVpcName(const Aws::String& value) { m_vpcNameHasBeenSet = true; m_vpcName = value; } /** *The name of the VPC at the time it is added to the environment.
*/ inline void SetVpcName(Aws::String&& value) { m_vpcNameHasBeenSet = true; m_vpcName = std::move(value); } /** *The name of the VPC at the time it is added to the environment.
*/ inline void SetVpcName(const char* value) { m_vpcNameHasBeenSet = true; m_vpcName.assign(value); } /** *The name of the VPC at the time it is added to the environment.
*/ inline EnvironmentVpc& WithVpcName(const Aws::String& value) { SetVpcName(value); return *this;} /** *The name of the VPC at the time it is added to the environment.
*/ inline EnvironmentVpc& WithVpcName(Aws::String&& value) { SetVpcName(std::move(value)); return *this;} /** *The name of the VPC at the time it is added to the environment.
*/ inline EnvironmentVpc& WithVpcName(const char* value) { SetVpcName(value); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::Vector