/**
* 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 authorize
* associating a VPC with your private hosted zone. Authorization is only required
* when a private hosted zone and a VPC were created by using different
* accounts.See Also:
AWS
* API Reference
The ID of the private hosted zone that you want to authorize associating a * VPC with.
*/ inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; } /** *The ID of the private hosted zone that you want to authorize associating a * VPC with.
*/ inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; } /** *The ID of the private hosted zone that you want to authorize associating a * VPC with.
*/ inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; } /** *The ID of the private hosted zone that you want to authorize associating a * VPC with.
*/ inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); } /** *The ID of the private hosted zone that you want to authorize associating a * VPC with.
*/ inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); } /** *The ID of the private hosted zone that you want to authorize associating a * VPC with.
*/ inline CreateVPCAssociationAuthorizationRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;} /** *The ID of the private hosted zone that you want to authorize associating a * VPC with.
*/ inline CreateVPCAssociationAuthorizationRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;} /** *The ID of the private hosted zone that you want to authorize associating a * VPC with.
*/ inline CreateVPCAssociationAuthorizationRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;} /** *A complex type that contains the VPC ID and region for the VPC that you want * to authorize associating with your hosted zone.
*/ inline const VPC& GetVPC() const{ return m_vPC; } /** *A complex type that contains the VPC ID and region for the VPC that you want * to authorize associating with your hosted zone.
*/ inline bool VPCHasBeenSet() const { return m_vPCHasBeenSet; } /** *A complex type that contains the VPC ID and region for the VPC that you want * to authorize associating with your hosted zone.
*/ inline void SetVPC(const VPC& value) { m_vPCHasBeenSet = true; m_vPC = value; } /** *A complex type that contains the VPC ID and region for the VPC that you want * to authorize associating with your hosted zone.
*/ inline void SetVPC(VPC&& value) { m_vPCHasBeenSet = true; m_vPC = std::move(value); } /** *A complex type that contains the VPC ID and region for the VPC that you want * to authorize associating with your hosted zone.
*/ inline CreateVPCAssociationAuthorizationRequest& WithVPC(const VPC& value) { SetVPC(value); return *this;} /** *A complex type that contains the VPC ID and region for the VPC that you want * to authorize associating with your hosted zone.
*/ inline CreateVPCAssociationAuthorizationRequest& 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