AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
CreateQueryLoggingConfigRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53/Route53Request.h>
9#include <aws/route53/Route53_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Route53 {
15namespace Model {
16
20 public:
21 AWS_ROUTE53_API CreateQueryLoggingConfigRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "CreateQueryLoggingConfig"; }
28
29 AWS_ROUTE53_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetHostedZoneId() const { return m_hostedZoneId; }
37 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
38 template <typename HostedZoneIdT = Aws::String>
39 void SetHostedZoneId(HostedZoneIdT&& value) {
40 m_hostedZoneIdHasBeenSet = true;
41 m_hostedZoneId = std::forward<HostedZoneIdT>(value);
42 }
43 template <typename HostedZoneIdT = Aws::String>
45 SetHostedZoneId(std::forward<HostedZoneIdT>(value));
46 return *this;
47 }
49
51
62 inline const Aws::String& GetCloudWatchLogsLogGroupArn() const { return m_cloudWatchLogsLogGroupArn; }
63 inline bool CloudWatchLogsLogGroupArnHasBeenSet() const { return m_cloudWatchLogsLogGroupArnHasBeenSet; }
64 template <typename CloudWatchLogsLogGroupArnT = Aws::String>
65 void SetCloudWatchLogsLogGroupArn(CloudWatchLogsLogGroupArnT&& value) {
66 m_cloudWatchLogsLogGroupArnHasBeenSet = true;
67 m_cloudWatchLogsLogGroupArn = std::forward<CloudWatchLogsLogGroupArnT>(value);
68 }
69 template <typename CloudWatchLogsLogGroupArnT = Aws::String>
71 SetCloudWatchLogsLogGroupArn(std::forward<CloudWatchLogsLogGroupArnT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_hostedZoneId;
77 bool m_hostedZoneIdHasBeenSet = false;
78
79 Aws::String m_cloudWatchLogsLogGroupArn;
80 bool m_cloudWatchLogsLogGroupArnHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace Route53
85} // namespace Aws
AWS_ROUTE53_API Aws::String SerializePayload() const override
void SetCloudWatchLogsLogGroupArn(CloudWatchLogsLogGroupArnT &&value)
AWS_ROUTE53_API CreateQueryLoggingConfigRequest()=default
CreateQueryLoggingConfigRequest & WithHostedZoneId(HostedZoneIdT &&value)
CreateQueryLoggingConfigRequest & WithCloudWatchLogsLogGroupArn(CloudWatchLogsLogGroupArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String