/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A complex type that contains information about the request to remove
* authorization to associate a VPC that was created by one Amazon Web Services
* account with a hosted zone that was created with a different Amazon Web Services
* account. See Also:
AWS
* API Reference
When removing authorization to associate a VPC that was created by one Amazon * Web Services account with a hosted zone that was created with a different Amazon * Web Services account, the ID of the hosted zone.
*/ inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; } /** *When removing authorization to associate a VPC that was created by one Amazon * Web Services account with a hosted zone that was created with a different Amazon * Web Services account, the ID of the hosted zone.
*/ inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; } /** *When removing authorization to associate a VPC that was created by one Amazon * Web Services account with a hosted zone that was created with a different Amazon * Web Services account, the ID of the hosted zone.
*/ inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; } /** *When removing authorization to associate a VPC that was created by one Amazon * Web Services account with a hosted zone that was created with a different Amazon * Web Services account, the ID of the hosted zone.
*/ inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); } /** *When removing authorization to associate a VPC that was created by one Amazon * Web Services account with a hosted zone that was created with a different Amazon * Web Services account, the ID of the hosted zone.
*/ inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); } /** *When removing authorization to associate a VPC that was created by one Amazon * Web Services account with a hosted zone that was created with a different Amazon * Web Services account, the ID of the hosted zone.
*/ inline DeleteVPCAssociationAuthorizationRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;} /** *When removing authorization to associate a VPC that was created by one Amazon * Web Services account with a hosted zone that was created with a different Amazon * Web Services account, the ID of the hosted zone.
*/ inline DeleteVPCAssociationAuthorizationRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;} /** *When removing authorization to associate a VPC that was created by one Amazon * Web Services account with a hosted zone that was created with a different Amazon * Web Services account, the ID of the hosted zone.
*/ inline DeleteVPCAssociationAuthorizationRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;} /** *When removing authorization to associate a VPC that was created by one Amazon * Web Services account with a hosted zone that was created with a different Amazon * Web Services account, a complex type that includes the ID and region of the * VPC.
*/ inline const VPC& GetVPC() const{ return m_vPC; } /** *When removing authorization to associate a VPC that was created by one Amazon * Web Services account with a hosted zone that was created with a different Amazon * Web Services account, a complex type that includes the ID and region of the * VPC.
*/ inline bool VPCHasBeenSet() const { return m_vPCHasBeenSet; } /** *When removing authorization to associate a VPC that was created by one Amazon * Web Services account with a hosted zone that was created with a different Amazon * Web Services account, a complex type that includes the ID and region of the * VPC.
*/ inline void SetVPC(const VPC& value) { m_vPCHasBeenSet = true; m_vPC = value; } /** *When removing authorization to associate a VPC that was created by one Amazon * Web Services account with a hosted zone that was created with a different Amazon * Web Services account, a complex type that includes the ID and region of the * VPC.
*/ inline void SetVPC(VPC&& value) { m_vPCHasBeenSet = true; m_vPC = std::move(value); } /** *When removing authorization to associate a VPC that was created by one Amazon * Web Services account with a hosted zone that was created with a different Amazon * Web Services account, a complex type that includes the ID and region of the * VPC.
*/ inline DeleteVPCAssociationAuthorizationRequest& WithVPC(const VPC& value) { SetVPC(value); return *this;} /** *When removing authorization to associate a VPC that was created by one Amazon * Web Services account with a hosted zone that was created with a different Amazon * Web Services account, a complex type that includes the ID and region of the * VPC.
*/ inline DeleteVPCAssociationAuthorizationRequest& WithVPC(VPC&& value) { SetVPC(std::move(value)); return *this;} private: Aws::String m_hostedZoneId; bool m_hostedZoneIdHasBeenSet = false; VPC m_vPC; bool m_vPCHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws