/** * 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 AWS_ROUTE53RESOLVER_API UpdateResolverDnssecConfigRequest : public Route53ResolverRequest { public: UpdateResolverDnssecConfigRequest(); // 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 "UpdateResolverDnssecConfig"; } Aws::String SerializePayload() const override; Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the virtual private cloud (VPC) that you're updating the DNSSEC * validation status for.

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

The ID of the virtual private cloud (VPC) that you're updating the DNSSEC * validation status for.

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

The ID of the virtual private cloud (VPC) that you're updating the DNSSEC * validation status for.

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

The ID of the virtual private cloud (VPC) that you're updating the DNSSEC * validation status for.

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

The ID of the virtual private cloud (VPC) that you're updating the DNSSEC * validation status for.

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

The ID of the virtual private cloud (VPC) that you're updating the DNSSEC * validation status for.

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

The ID of the virtual private cloud (VPC) that you're updating the DNSSEC * validation status for.

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

The ID of the virtual private cloud (VPC) that you're updating the DNSSEC * validation status for.

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

The new value that you are specifying for DNSSEC validation for the VPC. The * value can be ENABLE or DISABLE. Be aware that it can * take time for a validation status change to be completed.

*/ inline const Validation& GetValidation() const{ return m_validation; } /** *

The new value that you are specifying for DNSSEC validation for the VPC. The * value can be ENABLE or DISABLE. Be aware that it can * take time for a validation status change to be completed.

*/ inline bool ValidationHasBeenSet() const { return m_validationHasBeenSet; } /** *

The new value that you are specifying for DNSSEC validation for the VPC. The * value can be ENABLE or DISABLE. Be aware that it can * take time for a validation status change to be completed.

*/ inline void SetValidation(const Validation& value) { m_validationHasBeenSet = true; m_validation = value; } /** *

The new value that you are specifying for DNSSEC validation for the VPC. The * value can be ENABLE or DISABLE. Be aware that it can * take time for a validation status change to be completed.

*/ inline void SetValidation(Validation&& value) { m_validationHasBeenSet = true; m_validation = std::move(value); } /** *

The new value that you are specifying for DNSSEC validation for the VPC. The * value can be ENABLE or DISABLE. Be aware that it can * take time for a validation status change to be completed.

*/ inline UpdateResolverDnssecConfigRequest& WithValidation(const Validation& value) { SetValidation(value); return *this;} /** *

The new value that you are specifying for DNSSEC validation for the VPC. The * value can be ENABLE or DISABLE. Be aware that it can * take time for a validation status change to be completed.

*/ inline UpdateResolverDnssecConfigRequest& WithValidation(Validation&& value) { SetValidation(std::move(value)); return *this;} private: Aws::String m_resourceId; bool m_resourceIdHasBeenSet; Validation m_validation; bool m_validationHasBeenSet; }; } // namespace Model } // namespace Route53Resolver } // namespace Aws