AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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:
24 AWS_ROUTE53_API CreateQueryLoggingConfigRequest() = default;
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 template<typename HostedZoneIdT = Aws::String>
43 void SetHostedZoneId(HostedZoneIdT&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::forward<HostedZoneIdT>(value); }
44 template<typename HostedZoneIdT = Aws::String>
45 CreateQueryLoggingConfigRequest& WithHostedZoneId(HostedZoneIdT&& value) { SetHostedZoneId(std::forward<HostedZoneIdT>(value)); return *this;}
47
49
60 inline const Aws::String& GetCloudWatchLogsLogGroupArn() const { return m_cloudWatchLogsLogGroupArn; }
61 inline bool CloudWatchLogsLogGroupArnHasBeenSet() const { return m_cloudWatchLogsLogGroupArnHasBeenSet; }
62 template<typename CloudWatchLogsLogGroupArnT = Aws::String>
63 void SetCloudWatchLogsLogGroupArn(CloudWatchLogsLogGroupArnT&& value) { m_cloudWatchLogsLogGroupArnHasBeenSet = true; m_cloudWatchLogsLogGroupArn = std::forward<CloudWatchLogsLogGroupArnT>(value); }
64 template<typename CloudWatchLogsLogGroupArnT = Aws::String>
65 CreateQueryLoggingConfigRequest& WithCloudWatchLogsLogGroupArn(CloudWatchLogsLogGroupArnT&& value) { SetCloudWatchLogsLogGroupArn(std::forward<CloudWatchLogsLogGroupArnT>(value)); return *this;}
67 private:
68
69 Aws::String m_hostedZoneId;
70 bool m_hostedZoneIdHasBeenSet = false;
71
72 Aws::String m_cloudWatchLogsLogGroupArn;
73 bool m_cloudWatchLogsLogGroupArnHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Route53
78} // 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