AWS SDK for C++  1.9.109
AWS SDK for C++
CreateQueryLoggingConfigRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Route53
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 "CreateQueryLoggingConfig"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
40 
45  inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
46 
51  inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
52 
57  inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
58 
63  inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
64 
69  inline CreateQueryLoggingConfigRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
70 
75  inline CreateQueryLoggingConfigRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
76 
81  inline CreateQueryLoggingConfigRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
82 
83 
95  inline const Aws::String& GetCloudWatchLogsLogGroupArn() const{ return m_cloudWatchLogsLogGroupArn; }
96 
108  inline bool CloudWatchLogsLogGroupArnHasBeenSet() const { return m_cloudWatchLogsLogGroupArnHasBeenSet; }
109 
121  inline void SetCloudWatchLogsLogGroupArn(const Aws::String& value) { m_cloudWatchLogsLogGroupArnHasBeenSet = true; m_cloudWatchLogsLogGroupArn = value; }
122 
134  inline void SetCloudWatchLogsLogGroupArn(Aws::String&& value) { m_cloudWatchLogsLogGroupArnHasBeenSet = true; m_cloudWatchLogsLogGroupArn = std::move(value); }
135 
147  inline void SetCloudWatchLogsLogGroupArn(const char* value) { m_cloudWatchLogsLogGroupArnHasBeenSet = true; m_cloudWatchLogsLogGroupArn.assign(value); }
148 
160  inline CreateQueryLoggingConfigRequest& WithCloudWatchLogsLogGroupArn(const Aws::String& value) { SetCloudWatchLogsLogGroupArn(value); return *this;}
161 
173  inline CreateQueryLoggingConfigRequest& WithCloudWatchLogsLogGroupArn(Aws::String&& value) { SetCloudWatchLogsLogGroupArn(std::move(value)); return *this;}
174 
186  inline CreateQueryLoggingConfigRequest& WithCloudWatchLogsLogGroupArn(const char* value) { SetCloudWatchLogsLogGroupArn(value); return *this;}
187 
188  private:
189 
190  Aws::String m_hostedZoneId;
191  bool m_hostedZoneIdHasBeenSet;
192 
193  Aws::String m_cloudWatchLogsLogGroupArn;
194  bool m_cloudWatchLogsLogGroupArnHasBeenSet;
195  };
196 
197 } // namespace Model
198 } // namespace Route53
199 } // namespace Aws
Aws::Route53::Model::CreateQueryLoggingConfigRequest::WithHostedZoneId
CreateQueryLoggingConfigRequest & WithHostedZoneId(const char *value)
Definition: CreateQueryLoggingConfigRequest.h:81
Aws::Route53::Route53Request
Definition: Route53Request.h:17
Aws::Route53::Model::CreateQueryLoggingConfigRequest::SetHostedZoneId
void SetHostedZoneId(const Aws::String &value)
Definition: CreateQueryLoggingConfigRequest.h:51
Aws::Route53::Model::CreateQueryLoggingConfigRequest::WithCloudWatchLogsLogGroupArn
CreateQueryLoggingConfigRequest & WithCloudWatchLogsLogGroupArn(const Aws::String &value)
Definition: CreateQueryLoggingConfigRequest.h:160
Aws::Route53::Model::CreateQueryLoggingConfigRequest::SetCloudWatchLogsLogGroupArn
void SetCloudWatchLogsLogGroupArn(Aws::String &&value)
Definition: CreateQueryLoggingConfigRequest.h:134
Route53Request.h
Aws::Route53::Model::CreateQueryLoggingConfigRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Route53::Model::CreateQueryLoggingConfigRequest::CloudWatchLogsLogGroupArnHasBeenSet
bool CloudWatchLogsLogGroupArnHasBeenSet() const
Definition: CreateQueryLoggingConfigRequest.h:108
Aws::Route53::Model::CreateQueryLoggingConfigRequest::SetCloudWatchLogsLogGroupArn
void SetCloudWatchLogsLogGroupArn(const char *value)
Definition: CreateQueryLoggingConfigRequest.h:147
Aws::Route53::Model::CreateQueryLoggingConfigRequest
Definition: CreateQueryLoggingConfigRequest.h:22
Aws::Route53::Model::CreateQueryLoggingConfigRequest::WithCloudWatchLogsLogGroupArn
CreateQueryLoggingConfigRequest & WithCloudWatchLogsLogGroupArn(const char *value)
Definition: CreateQueryLoggingConfigRequest.h:186
Aws::Route53::Model::CreateQueryLoggingConfigRequest::GetCloudWatchLogsLogGroupArn
const Aws::String & GetCloudWatchLogsLogGroupArn() const
Definition: CreateQueryLoggingConfigRequest.h:95
Aws::Route53::Model::CreateQueryLoggingConfigRequest::WithHostedZoneId
CreateQueryLoggingConfigRequest & WithHostedZoneId(Aws::String &&value)
Definition: CreateQueryLoggingConfigRequest.h:75
Aws::Route53::Model::CreateQueryLoggingConfigRequest::CreateQueryLoggingConfigRequest
CreateQueryLoggingConfigRequest()
AWSString.h
Aws::Route53::Model::CreateQueryLoggingConfigRequest::WithCloudWatchLogsLogGroupArn
CreateQueryLoggingConfigRequest & WithCloudWatchLogsLogGroupArn(Aws::String &&value)
Definition: CreateQueryLoggingConfigRequest.h:173
Aws::Route53::Model::CreateQueryLoggingConfigRequest::SetHostedZoneId
void SetHostedZoneId(Aws::String &&value)
Definition: CreateQueryLoggingConfigRequest.h:57
Aws::Route53::Model::CreateQueryLoggingConfigRequest::SetHostedZoneId
void SetHostedZoneId(const char *value)
Definition: CreateQueryLoggingConfigRequest.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::Route53::Model::CreateQueryLoggingConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateQueryLoggingConfigRequest.h:30
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Route53::Model::CreateQueryLoggingConfigRequest::SetCloudWatchLogsLogGroupArn
void SetCloudWatchLogsLogGroupArn(const Aws::String &value)
Definition: CreateQueryLoggingConfigRequest.h:121
Aws::Route53::Model::CreateQueryLoggingConfigRequest::GetHostedZoneId
const Aws::String & GetHostedZoneId() const
Definition: CreateQueryLoggingConfigRequest.h:39
Route53_EXPORTS.h
Aws::Route53::Model::CreateQueryLoggingConfigRequest::HostedZoneIdHasBeenSet
bool HostedZoneIdHasBeenSet() const
Definition: CreateQueryLoggingConfigRequest.h:45
AWS_ROUTE53_API
#define AWS_ROUTE53_API
Definition: Route53_EXPORTS.h:28
Aws::Route53::Model::CreateQueryLoggingConfigRequest::WithHostedZoneId
CreateQueryLoggingConfigRequest & WithHostedZoneId(const Aws::String &value)
Definition: CreateQueryLoggingConfigRequest.h:69