/** * 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 Route53Resolver { namespace Model { /** */ class DisassociateResolverRuleRequest : public Route53ResolverRequest { public: AWS_ROUTE53RESOLVER_API DisassociateResolverRuleRequest(); // 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 "DisassociateResolverRule"; } AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override; AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the VPC that you want to disassociate the Resolver rule from.

*/ inline const Aws::String& GetVPCId() const{ return m_vPCId; } /** *

The ID of the VPC that you want to disassociate the Resolver rule from.

*/ inline bool VPCIdHasBeenSet() const { return m_vPCIdHasBeenSet; } /** *

The ID of the VPC that you want to disassociate the Resolver rule from.

*/ inline void SetVPCId(const Aws::String& value) { m_vPCIdHasBeenSet = true; m_vPCId = value; } /** *

The ID of the VPC that you want to disassociate the Resolver rule from.

*/ inline void SetVPCId(Aws::String&& value) { m_vPCIdHasBeenSet = true; m_vPCId = std::move(value); } /** *

The ID of the VPC that you want to disassociate the Resolver rule from.

*/ inline void SetVPCId(const char* value) { m_vPCIdHasBeenSet = true; m_vPCId.assign(value); } /** *

The ID of the VPC that you want to disassociate the Resolver rule from.

*/ inline DisassociateResolverRuleRequest& WithVPCId(const Aws::String& value) { SetVPCId(value); return *this;} /** *

The ID of the VPC that you want to disassociate the Resolver rule from.

*/ inline DisassociateResolverRuleRequest& WithVPCId(Aws::String&& value) { SetVPCId(std::move(value)); return *this;} /** *

The ID of the VPC that you want to disassociate the Resolver rule from.

*/ inline DisassociateResolverRuleRequest& WithVPCId(const char* value) { SetVPCId(value); return *this;} /** *

The ID of the Resolver rule that you want to disassociate from the specified * VPC.

*/ inline const Aws::String& GetResolverRuleId() const{ return m_resolverRuleId; } /** *

The ID of the Resolver rule that you want to disassociate from the specified * VPC.

*/ inline bool ResolverRuleIdHasBeenSet() const { return m_resolverRuleIdHasBeenSet; } /** *

The ID of the Resolver rule that you want to disassociate from the specified * VPC.

*/ inline void SetResolverRuleId(const Aws::String& value) { m_resolverRuleIdHasBeenSet = true; m_resolverRuleId = value; } /** *

The ID of the Resolver rule that you want to disassociate from the specified * VPC.

*/ inline void SetResolverRuleId(Aws::String&& value) { m_resolverRuleIdHasBeenSet = true; m_resolverRuleId = std::move(value); } /** *

The ID of the Resolver rule that you want to disassociate from the specified * VPC.

*/ inline void SetResolverRuleId(const char* value) { m_resolverRuleIdHasBeenSet = true; m_resolverRuleId.assign(value); } /** *

The ID of the Resolver rule that you want to disassociate from the specified * VPC.

*/ inline DisassociateResolverRuleRequest& WithResolverRuleId(const Aws::String& value) { SetResolverRuleId(value); return *this;} /** *

The ID of the Resolver rule that you want to disassociate from the specified * VPC.

*/ inline DisassociateResolverRuleRequest& WithResolverRuleId(Aws::String&& value) { SetResolverRuleId(std::move(value)); return *this;} /** *

The ID of the Resolver rule that you want to disassociate from the specified * VPC.

*/ inline DisassociateResolverRuleRequest& WithResolverRuleId(const char* value) { SetResolverRuleId(value); return *this;} private: Aws::String m_vPCId; bool m_vPCIdHasBeenSet = false; Aws::String m_resolverRuleId; bool m_resolverRuleIdHasBeenSet = false; }; } // namespace Model } // namespace Route53Resolver } // namespace Aws