1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/route53resolver/Route53Resolver_EXPORTS.h> 8 #include <aws/route53resolver/Route53ResolverRequest.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <aws/route53resolver/model/Validation.h> 11 #include <utility> 12 13 namespace Aws 14 { 15 namespace Route53Resolver 16 { 17 namespace Model 18 { 19 20 /** 21 */ 22 class AWS_ROUTE53RESOLVER_API UpdateResolverDnssecConfigRequest : public Route53ResolverRequest 23 { 24 public: 25 UpdateResolverDnssecConfigRequest(); 26 27 // Service request name is the Operation name which will send this request out, 28 // each operation should has unique request name, so that we can get operation's name from this request. 29 // Note: this is not true for response, multiple operations may have the same response name, 30 // so we can not get operation's name from response. GetServiceRequestName()31 inline virtual const char* GetServiceRequestName() const override { return "UpdateResolverDnssecConfig"; } 32 33 Aws::String SerializePayload() const override; 34 35 Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; 36 37 38 /** 39 * <p>The ID of the virtual private cloud (VPC) that you're updating the DNSSEC 40 * validation status for.</p> 41 */ GetResourceId()42 inline const Aws::String& GetResourceId() const{ return m_resourceId; } 43 44 /** 45 * <p>The ID of the virtual private cloud (VPC) that you're updating the DNSSEC 46 * validation status for.</p> 47 */ ResourceIdHasBeenSet()48 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } 49 50 /** 51 * <p>The ID of the virtual private cloud (VPC) that you're updating the DNSSEC 52 * validation status for.</p> 53 */ SetResourceId(const Aws::String & value)54 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } 55 56 /** 57 * <p>The ID of the virtual private cloud (VPC) that you're updating the DNSSEC 58 * validation status for.</p> 59 */ SetResourceId(Aws::String && value)60 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } 61 62 /** 63 * <p>The ID of the virtual private cloud (VPC) that you're updating the DNSSEC 64 * validation status for.</p> 65 */ SetResourceId(const char * value)66 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } 67 68 /** 69 * <p>The ID of the virtual private cloud (VPC) that you're updating the DNSSEC 70 * validation status for.</p> 71 */ WithResourceId(const Aws::String & value)72 inline UpdateResolverDnssecConfigRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} 73 74 /** 75 * <p>The ID of the virtual private cloud (VPC) that you're updating the DNSSEC 76 * validation status for.</p> 77 */ WithResourceId(Aws::String && value)78 inline UpdateResolverDnssecConfigRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} 79 80 /** 81 * <p>The ID of the virtual private cloud (VPC) that you're updating the DNSSEC 82 * validation status for.</p> 83 */ WithResourceId(const char * value)84 inline UpdateResolverDnssecConfigRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;} 85 86 87 /** 88 * <p>The new value that you are specifying for DNSSEC validation for the VPC. The 89 * value can be <code>ENABLE</code> or <code>DISABLE</code>. Be aware that it can 90 * take time for a validation status change to be completed.</p> 91 */ GetValidation()92 inline const Validation& GetValidation() const{ return m_validation; } 93 94 /** 95 * <p>The new value that you are specifying for DNSSEC validation for the VPC. The 96 * value can be <code>ENABLE</code> or <code>DISABLE</code>. Be aware that it can 97 * take time for a validation status change to be completed.</p> 98 */ ValidationHasBeenSet()99 inline bool ValidationHasBeenSet() const { return m_validationHasBeenSet; } 100 101 /** 102 * <p>The new value that you are specifying for DNSSEC validation for the VPC. The 103 * value can be <code>ENABLE</code> or <code>DISABLE</code>. Be aware that it can 104 * take time for a validation status change to be completed.</p> 105 */ SetValidation(const Validation & value)106 inline void SetValidation(const Validation& value) { m_validationHasBeenSet = true; m_validation = value; } 107 108 /** 109 * <p>The new value that you are specifying for DNSSEC validation for the VPC. The 110 * value can be <code>ENABLE</code> or <code>DISABLE</code>. Be aware that it can 111 * take time for a validation status change to be completed.</p> 112 */ SetValidation(Validation && value)113 inline void SetValidation(Validation&& value) { m_validationHasBeenSet = true; m_validation = std::move(value); } 114 115 /** 116 * <p>The new value that you are specifying for DNSSEC validation for the VPC. The 117 * value can be <code>ENABLE</code> or <code>DISABLE</code>. Be aware that it can 118 * take time for a validation status change to be completed.</p> 119 */ WithValidation(const Validation & value)120 inline UpdateResolverDnssecConfigRequest& WithValidation(const Validation& value) { SetValidation(value); return *this;} 121 122 /** 123 * <p>The new value that you are specifying for DNSSEC validation for the VPC. The 124 * value can be <code>ENABLE</code> or <code>DISABLE</code>. Be aware that it can 125 * take time for a validation status change to be completed.</p> 126 */ WithValidation(Validation && value)127 inline UpdateResolverDnssecConfigRequest& WithValidation(Validation&& value) { SetValidation(std::move(value)); return *this;} 128 129 private: 130 131 Aws::String m_resourceId; 132 bool m_resourceIdHasBeenSet; 133 134 Validation m_validation; 135 bool m_validationHasBeenSet; 136 }; 137 138 } // namespace Model 139 } // namespace Route53Resolver 140 } // namespace Aws 141