AWS SDK for C++  1.9.131
AWS SDK for C++
AssociateResolverQueryLogConfigRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Route53Resolver
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "AssociateResolverQueryLogConfig"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetResolverQueryLogConfigId() const{ return m_resolverQueryLogConfigId; }
42 
47  inline bool ResolverQueryLogConfigIdHasBeenSet() const { return m_resolverQueryLogConfigIdHasBeenSet; }
48 
53  inline void SetResolverQueryLogConfigId(const Aws::String& value) { m_resolverQueryLogConfigIdHasBeenSet = true; m_resolverQueryLogConfigId = value; }
54 
59  inline void SetResolverQueryLogConfigId(Aws::String&& value) { m_resolverQueryLogConfigIdHasBeenSet = true; m_resolverQueryLogConfigId = std::move(value); }
60 
65  inline void SetResolverQueryLogConfigId(const char* value) { m_resolverQueryLogConfigIdHasBeenSet = true; m_resolverQueryLogConfigId.assign(value); }
66 
71  inline AssociateResolverQueryLogConfigRequest& WithResolverQueryLogConfigId(const Aws::String& value) { SetResolverQueryLogConfigId(value); return *this;}
72 
77  inline AssociateResolverQueryLogConfigRequest& WithResolverQueryLogConfigId(Aws::String&& value) { SetResolverQueryLogConfigId(std::move(value)); return *this;}
78 
83  inline AssociateResolverQueryLogConfigRequest& WithResolverQueryLogConfigId(const char* value) { SetResolverQueryLogConfigId(value); return *this;}
84 
85 
91  inline const Aws::String& GetResourceId() const{ return m_resourceId; }
92 
98  inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
99 
105  inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
106 
112  inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
113 
119  inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
120 
126  inline AssociateResolverQueryLogConfigRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
127 
133  inline AssociateResolverQueryLogConfigRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
134 
140  inline AssociateResolverQueryLogConfigRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
141 
142  private:
143 
144  Aws::String m_resolverQueryLogConfigId;
145  bool m_resolverQueryLogConfigIdHasBeenSet;
146 
147  Aws::String m_resourceId;
148  bool m_resourceIdHasBeenSet;
149  };
150 
151 } // namespace Model
152 } // namespace Route53Resolver
153 } // namespace Aws
Aws::Route53Resolver::Model::AssociateResolverQueryLogConfigRequest::ResourceIdHasBeenSet
bool ResourceIdHasBeenSet() const
Definition: AssociateResolverQueryLogConfigRequest.h:98
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Route53Resolver::Model::AssociateResolverQueryLogConfigRequest::WithResolverQueryLogConfigId
AssociateResolverQueryLogConfigRequest & WithResolverQueryLogConfigId(const Aws::String &value)
Definition: AssociateResolverQueryLogConfigRequest.h:71
Route53Resolver_EXPORTS.h
Aws::Route53Resolver::Model::AssociateResolverQueryLogConfigRequest::SetResolverQueryLogConfigId
void SetResolverQueryLogConfigId(const char *value)
Definition: AssociateResolverQueryLogConfigRequest.h:65
Aws::Route53Resolver::Model::AssociateResolverQueryLogConfigRequest::WithResourceId
AssociateResolverQueryLogConfigRequest & WithResourceId(const char *value)
Definition: AssociateResolverQueryLogConfigRequest.h:140
Aws::Route53Resolver::Model::AssociateResolverQueryLogConfigRequest::SetResourceId
void SetResourceId(const char *value)
Definition: AssociateResolverQueryLogConfigRequest.h:119
Aws::Route53Resolver::Model::AssociateResolverQueryLogConfigRequest::AssociateResolverQueryLogConfigRequest
AssociateResolverQueryLogConfigRequest()
Aws::Route53Resolver::Model::AssociateResolverQueryLogConfigRequest
Definition: AssociateResolverQueryLogConfigRequest.h:22
Aws::Route53Resolver::Model::AssociateResolverQueryLogConfigRequest::SetResourceId
void SetResourceId(const Aws::String &value)
Definition: AssociateResolverQueryLogConfigRequest.h:105
Aws::Route53Resolver::Model::AssociateResolverQueryLogConfigRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Route53Resolver::Model::AssociateResolverQueryLogConfigRequest::SetResolverQueryLogConfigId
void SetResolverQueryLogConfigId(const Aws::String &value)
Definition: AssociateResolverQueryLogConfigRequest.h:53
Aws::Route53Resolver::Route53ResolverRequest
Definition: Route53ResolverRequest.h:17
Aws::Route53Resolver::Model::AssociateResolverQueryLogConfigRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_ROUTE53RESOLVER_API
#define AWS_ROUTE53RESOLVER_API
Definition: Route53Resolver_EXPORTS.h:28
Route53ResolverRequest.h
Aws::Route53Resolver::Model::AssociateResolverQueryLogConfigRequest::ResolverQueryLogConfigIdHasBeenSet
bool ResolverQueryLogConfigIdHasBeenSet() const
Definition: AssociateResolverQueryLogConfigRequest.h:47
AWSString.h
Aws::Route53Resolver::Model::AssociateResolverQueryLogConfigRequest::WithResourceId
AssociateResolverQueryLogConfigRequest & WithResourceId(Aws::String &&value)
Definition: AssociateResolverQueryLogConfigRequest.h:133
Aws
Definition: AccessManagementClient.h:15
Aws::Route53Resolver::Model::AssociateResolverQueryLogConfigRequest::SetResourceId
void SetResourceId(Aws::String &&value)
Definition: AssociateResolverQueryLogConfigRequest.h:112
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Route53Resolver::Model::AssociateResolverQueryLogConfigRequest::WithResolverQueryLogConfigId
AssociateResolverQueryLogConfigRequest & WithResolverQueryLogConfigId(const char *value)
Definition: AssociateResolverQueryLogConfigRequest.h:83
Aws::Route53Resolver::Model::AssociateResolverQueryLogConfigRequest::GetResourceId
const Aws::String & GetResourceId() const
Definition: AssociateResolverQueryLogConfigRequest.h:91
Aws::Route53Resolver::Model::AssociateResolverQueryLogConfigRequest::WithResolverQueryLogConfigId
AssociateResolverQueryLogConfigRequest & WithResolverQueryLogConfigId(Aws::String &&value)
Definition: AssociateResolverQueryLogConfigRequest.h:77
Aws::Route53Resolver::Model::AssociateResolverQueryLogConfigRequest::SetResolverQueryLogConfigId
void SetResolverQueryLogConfigId(Aws::String &&value)
Definition: AssociateResolverQueryLogConfigRequest.h:59
Aws::Route53Resolver::Model::AssociateResolverQueryLogConfigRequest::GetResolverQueryLogConfigId
const Aws::String & GetResolverQueryLogConfigId() const
Definition: AssociateResolverQueryLogConfigRequest.h:41
Aws::Route53Resolver::Model::AssociateResolverQueryLogConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AssociateResolverQueryLogConfigRequest.h:30
Aws::Route53Resolver::Model::AssociateResolverQueryLogConfigRequest::WithResourceId
AssociateResolverQueryLogConfigRequest & WithResourceId(const Aws::String &value)
Definition: AssociateResolverQueryLogConfigRequest.h:126