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

Resource ID of the Amazon VPC that you want to update the Resolver * configuration for.

*/ inline const Aws::String& GetResourceId() const{ return m_resourceId; } /** *

Resource ID of the Amazon VPC that you want to update the Resolver * configuration for.

*/ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } /** *

Resource ID of the Amazon VPC that you want to update the Resolver * configuration for.

*/ inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } /** *

Resource ID of the Amazon VPC that you want to update the Resolver * configuration for.

*/ inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } /** *

Resource ID of the Amazon VPC that you want to update the Resolver * configuration for.

*/ inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } /** *

Resource ID of the Amazon VPC that you want to update the Resolver * configuration for.

*/ inline UpdateResolverConfigRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} /** *

Resource ID of the Amazon VPC that you want to update the Resolver * configuration for.

*/ inline UpdateResolverConfigRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} /** *

Resource ID of the Amazon VPC that you want to update the Resolver * configuration for.

*/ inline UpdateResolverConfigRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;} /** *

Indicates whether or not the Resolver will create autodefined rules for * reverse DNS lookups. This is enabled by default. Disabling this option will also * affect EC2-Classic instances using ClassicLink. For more information, see ClassicLink * in the Amazon EC2 guide.

We are retiring EC2-Classic * on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For * more information, see Migrate * from EC2-Classic to a VPC in the Amazon EC2 guide and the blog EC2-Classic * Networking is Retiring – Here’s How to Prepare.

*

It can take some time for the status change to be completed.

*/ inline const AutodefinedReverseFlag& GetAutodefinedReverseFlag() const{ return m_autodefinedReverseFlag; } /** *

Indicates whether or not the Resolver will create autodefined rules for * reverse DNS lookups. This is enabled by default. Disabling this option will also * affect EC2-Classic instances using ClassicLink. For more information, see ClassicLink * in the Amazon EC2 guide.

We are retiring EC2-Classic * on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For * more information, see Migrate * from EC2-Classic to a VPC in the Amazon EC2 guide and the blog EC2-Classic * Networking is Retiring – Here’s How to Prepare.

*

It can take some time for the status change to be completed.

*/ inline bool AutodefinedReverseFlagHasBeenSet() const { return m_autodefinedReverseFlagHasBeenSet; } /** *

Indicates whether or not the Resolver will create autodefined rules for * reverse DNS lookups. This is enabled by default. Disabling this option will also * affect EC2-Classic instances using ClassicLink. For more information, see ClassicLink * in the Amazon EC2 guide.

We are retiring EC2-Classic * on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For * more information, see Migrate * from EC2-Classic to a VPC in the Amazon EC2 guide and the blog EC2-Classic * Networking is Retiring – Here’s How to Prepare.

*

It can take some time for the status change to be completed.

*/ inline void SetAutodefinedReverseFlag(const AutodefinedReverseFlag& value) { m_autodefinedReverseFlagHasBeenSet = true; m_autodefinedReverseFlag = value; } /** *

Indicates whether or not the Resolver will create autodefined rules for * reverse DNS lookups. This is enabled by default. Disabling this option will also * affect EC2-Classic instances using ClassicLink. For more information, see ClassicLink * in the Amazon EC2 guide.

We are retiring EC2-Classic * on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For * more information, see Migrate * from EC2-Classic to a VPC in the Amazon EC2 guide and the blog EC2-Classic * Networking is Retiring – Here’s How to Prepare.

*

It can take some time for the status change to be completed.

*/ inline void SetAutodefinedReverseFlag(AutodefinedReverseFlag&& value) { m_autodefinedReverseFlagHasBeenSet = true; m_autodefinedReverseFlag = std::move(value); } /** *

Indicates whether or not the Resolver will create autodefined rules for * reverse DNS lookups. This is enabled by default. Disabling this option will also * affect EC2-Classic instances using ClassicLink. For more information, see ClassicLink * in the Amazon EC2 guide.

We are retiring EC2-Classic * on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For * more information, see Migrate * from EC2-Classic to a VPC in the Amazon EC2 guide and the blog EC2-Classic * Networking is Retiring – Here’s How to Prepare.

*

It can take some time for the status change to be completed.

*/ inline UpdateResolverConfigRequest& WithAutodefinedReverseFlag(const AutodefinedReverseFlag& value) { SetAutodefinedReverseFlag(value); return *this;} /** *

Indicates whether or not the Resolver will create autodefined rules for * reverse DNS lookups. This is enabled by default. Disabling this option will also * affect EC2-Classic instances using ClassicLink. For more information, see ClassicLink * in the Amazon EC2 guide.

We are retiring EC2-Classic * on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For * more information, see Migrate * from EC2-Classic to a VPC in the Amazon EC2 guide and the blog EC2-Classic * Networking is Retiring – Here’s How to Prepare.

*

It can take some time for the status change to be completed.

*/ inline UpdateResolverConfigRequest& WithAutodefinedReverseFlag(AutodefinedReverseFlag&& value) { SetAutodefinedReverseFlag(std::move(value)); return *this;} private: Aws::String m_resourceId; bool m_resourceIdHasBeenSet = false; AutodefinedReverseFlag m_autodefinedReverseFlag; bool m_autodefinedReverseFlagHasBeenSet = false; }; } // namespace Model } // namespace Route53Resolver } // namespace Aws