AWS SDK for C++  1.9.109
AWS SDK for C++
UpdateResolverDnssecConfigRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Route53Resolver
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateResolverDnssecConfig"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetResourceId() const{ return m_resourceId; }
43 
48  inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
49 
54  inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
55 
60  inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
61 
66  inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
67 
72  inline UpdateResolverDnssecConfigRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
73 
78  inline UpdateResolverDnssecConfigRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
79 
84  inline UpdateResolverDnssecConfigRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
85 
86 
92  inline const Validation& GetValidation() const{ return m_validation; }
93 
99  inline bool ValidationHasBeenSet() const { return m_validationHasBeenSet; }
100 
106  inline void SetValidation(const Validation& value) { m_validationHasBeenSet = true; m_validation = value; }
107 
113  inline void SetValidation(Validation&& value) { m_validationHasBeenSet = true; m_validation = std::move(value); }
114 
120  inline UpdateResolverDnssecConfigRequest& WithValidation(const Validation& value) { SetValidation(value); return *this;}
121 
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
Aws::Route53Resolver::Model::UpdateResolverDnssecConfigRequest::SetResourceId
void SetResourceId(Aws::String &&value)
Definition: UpdateResolverDnssecConfigRequest.h:60
Aws::Route53Resolver::Model::UpdateResolverDnssecConfigRequest::ResourceIdHasBeenSet
bool ResourceIdHasBeenSet() const
Definition: UpdateResolverDnssecConfigRequest.h:48
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Route53Resolver::Model::UpdateResolverDnssecConfigRequest::WithResourceId
UpdateResolverDnssecConfigRequest & WithResourceId(Aws::String &&value)
Definition: UpdateResolverDnssecConfigRequest.h:78
Aws::Route53Resolver::Model::UpdateResolverDnssecConfigRequest::SetResourceId
void SetResourceId(const Aws::String &value)
Definition: UpdateResolverDnssecConfigRequest.h:54
Route53Resolver_EXPORTS.h
Aws::Route53Resolver::Model::UpdateResolverDnssecConfigRequest::SetResourceId
void SetResourceId(const char *value)
Definition: UpdateResolverDnssecConfigRequest.h:66
Aws::Route53Resolver::Model::UpdateResolverDnssecConfigRequest::GetValidation
const Validation & GetValidation() const
Definition: UpdateResolverDnssecConfigRequest.h:92
Aws::Route53Resolver::Model::UpdateResolverDnssecConfigRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Route53Resolver::Model::UpdateResolverDnssecConfigRequest::UpdateResolverDnssecConfigRequest
UpdateResolverDnssecConfigRequest()
Aws::Route53Resolver::Model::UpdateResolverDnssecConfigRequest::WithResourceId
UpdateResolverDnssecConfigRequest & WithResourceId(const char *value)
Definition: UpdateResolverDnssecConfigRequest.h:84
Aws::Route53Resolver::Route53ResolverRequest
Definition: Route53ResolverRequest.h:17
Aws::Route53Resolver::Model::UpdateResolverDnssecConfigRequest::SetValidation
void SetValidation(Validation &&value)
Definition: UpdateResolverDnssecConfigRequest.h:113
Validation.h
Aws::Route53Resolver::Model::UpdateResolverDnssecConfigRequest::GetResourceId
const Aws::String & GetResourceId() const
Definition: UpdateResolverDnssecConfigRequest.h:42
Aws::Route53Resolver::Model::UpdateResolverDnssecConfigRequest::WithValidation
UpdateResolverDnssecConfigRequest & WithValidation(const Validation &value)
Definition: UpdateResolverDnssecConfigRequest.h:120
AWS_ROUTE53RESOLVER_API
#define AWS_ROUTE53RESOLVER_API
Definition: Route53Resolver_EXPORTS.h:28
Route53ResolverRequest.h
AWSString.h
Aws::Route53Resolver::Model::UpdateResolverDnssecConfigRequest::ValidationHasBeenSet
bool ValidationHasBeenSet() const
Definition: UpdateResolverDnssecConfigRequest.h:99
Aws::Route53Resolver::Model::UpdateResolverDnssecConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateResolverDnssecConfigRequest.h:31
Aws::Route53Resolver::Model::UpdateResolverDnssecConfigRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::Route53Resolver::Model::Validation
Validation
Definition: Validation.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Route53Resolver::Model::UpdateResolverDnssecConfigRequest::WithResourceId
UpdateResolverDnssecConfigRequest & WithResourceId(const Aws::String &value)
Definition: UpdateResolverDnssecConfigRequest.h:72
Aws::Route53Resolver::Model::UpdateResolverDnssecConfigRequest::WithValidation
UpdateResolverDnssecConfigRequest & WithValidation(Validation &&value)
Definition: UpdateResolverDnssecConfigRequest.h:127
Aws::Route53Resolver::Model::UpdateResolverDnssecConfigRequest::SetValidation
void SetValidation(const Validation &value)
Definition: UpdateResolverDnssecConfigRequest.h:106
Aws::Route53Resolver::Model::UpdateResolverDnssecConfigRequest
Definition: UpdateResolverDnssecConfigRequest.h:23