AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateQueryLoggingConfigRequest.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/route53/Route53Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Route53
15{
16namespace 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_ROUTE53_API Aws::String SerializePayload() const override;
33
34
36
40 inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
41 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
42 inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
43 inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
44 inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
45 inline CreateQueryLoggingConfigRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
46 inline CreateQueryLoggingConfigRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
47 inline CreateQueryLoggingConfigRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
49
51
62 inline const Aws::String& GetCloudWatchLogsLogGroupArn() const{ return m_cloudWatchLogsLogGroupArn; }
63 inline bool CloudWatchLogsLogGroupArnHasBeenSet() const { return m_cloudWatchLogsLogGroupArnHasBeenSet; }
64 inline void SetCloudWatchLogsLogGroupArn(const Aws::String& value) { m_cloudWatchLogsLogGroupArnHasBeenSet = true; m_cloudWatchLogsLogGroupArn = value; }
65 inline void SetCloudWatchLogsLogGroupArn(Aws::String&& value) { m_cloudWatchLogsLogGroupArnHasBeenSet = true; m_cloudWatchLogsLogGroupArn = std::move(value); }
66 inline void SetCloudWatchLogsLogGroupArn(const char* value) { m_cloudWatchLogsLogGroupArnHasBeenSet = true; m_cloudWatchLogsLogGroupArn.assign(value); }
71 private:
72
73 Aws::String m_hostedZoneId;
74 bool m_hostedZoneIdHasBeenSet = false;
75
76 Aws::String m_cloudWatchLogsLogGroupArn;
77 bool m_cloudWatchLogsLogGroupArnHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Route53
82} // namespace Aws
AWS_ROUTE53_API Aws::String SerializePayload() const override
CreateQueryLoggingConfigRequest & WithHostedZoneId(const Aws::String &value)
CreateQueryLoggingConfigRequest & WithCloudWatchLogsLogGroupArn(const Aws::String &value)
CreateQueryLoggingConfigRequest & WithHostedZoneId(const char *value)
CreateQueryLoggingConfigRequest & WithCloudWatchLogsLogGroupArn(Aws::String &&value)
CreateQueryLoggingConfigRequest & WithHostedZoneId(Aws::String &&value)
CreateQueryLoggingConfigRequest & WithCloudWatchLogsLogGroupArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String