/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Route53 { namespace Model { /** *

A complex type that contains information about the VPC that you want to * disassociate from a specified private hosted zone.

See Also:

AWS * API Reference

*/ class DisassociateVPCFromHostedZoneRequest : public Route53Request { public: AWS_ROUTE53_API DisassociateVPCFromHostedZoneRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DisassociateVPCFromHostedZone"; } AWS_ROUTE53_API Aws::String SerializePayload() const override; /** *

The ID of the private hosted zone that you want to disassociate a VPC * from.

*/ inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; } /** *

The ID of the private hosted zone that you want to disassociate a VPC * from.

*/ inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; } /** *

The ID of the private hosted zone that you want to disassociate a VPC * from.

*/ inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; } /** *

The ID of the private hosted zone that you want to disassociate a VPC * from.

*/ 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 disassociate a VPC * from.

*/ inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); } /** *

The ID of the private hosted zone that you want to disassociate a VPC * from.

*/ inline DisassociateVPCFromHostedZoneRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;} /** *

The ID of the private hosted zone that you want to disassociate a VPC * from.

*/ inline DisassociateVPCFromHostedZoneRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;} /** *

The ID of the private hosted zone that you want to disassociate a VPC * from.

*/ inline DisassociateVPCFromHostedZoneRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;} /** *

A complex type that contains information about the VPC that you're * disassociating from the specified hosted zone.

*/ inline const VPC& GetVPC() const{ return m_vPC; } /** *

A complex type that contains information about the VPC that you're * disassociating from the specified hosted zone.

*/ inline bool VPCHasBeenSet() const { return m_vPCHasBeenSet; } /** *

A complex type that contains information about the VPC that you're * disassociating from the specified hosted zone.

*/ inline void SetVPC(const VPC& value) { m_vPCHasBeenSet = true; m_vPC = value; } /** *

A complex type that contains information about the VPC that you're * disassociating from the specified hosted zone.

*/ inline void SetVPC(VPC&& value) { m_vPCHasBeenSet = true; m_vPC = std::move(value); } /** *

A complex type that contains information about the VPC that you're * disassociating from the specified hosted zone.

*/ inline DisassociateVPCFromHostedZoneRequest& WithVPC(const VPC& value) { SetVPC(value); return *this;} /** *

A complex type that contains information about the VPC that you're * disassociating from the specified hosted zone.

*/ inline DisassociateVPCFromHostedZoneRequest& WithVPC(VPC&& value) { SetVPC(std::move(value)); return *this;} /** *

Optional: A comment about the disassociation request.

*/ inline const Aws::String& GetComment() const{ return m_comment; } /** *

Optional: A comment about the disassociation request.

*/ inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; } /** *

Optional: A comment about the disassociation request.

*/ inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; } /** *

Optional: A comment about the disassociation request.

*/ inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); } /** *

Optional: A comment about the disassociation request.

*/ inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); } /** *

Optional: A comment about the disassociation request.

*/ inline DisassociateVPCFromHostedZoneRequest& WithComment(const Aws::String& value) { SetComment(value); return *this;} /** *

Optional: A comment about the disassociation request.

*/ inline DisassociateVPCFromHostedZoneRequest& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;} /** *

Optional: A comment about the disassociation request.

*/ inline DisassociateVPCFromHostedZoneRequest& WithComment(const char* value) { SetComment(value); return *this;} private: Aws::String m_hostedZoneId; bool m_hostedZoneIdHasBeenSet = false; VPC m_vPC; bool m_vPCHasBeenSet = false; Aws::String m_comment; bool m_commentHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws