AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueryLoggingConfig.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace Route53
21{
22namespace Model
23{
24
32 {
33 public:
34 AWS_ROUTE53_API QueryLoggingConfig();
35 AWS_ROUTE53_API QueryLoggingConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_ROUTE53_API QueryLoggingConfig& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
45 inline const Aws::String& GetId() const{ return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline QueryLoggingConfig& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline QueryLoggingConfig& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline QueryLoggingConfig& WithId(const char* value) { SetId(value); return *this;}
54
56
59 inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
60 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
61 inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
62 inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
63 inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
64 inline QueryLoggingConfig& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
65 inline QueryLoggingConfig& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
66 inline QueryLoggingConfig& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
68
70
74 inline const Aws::String& GetCloudWatchLogsLogGroupArn() const{ return m_cloudWatchLogsLogGroupArn; }
75 inline bool CloudWatchLogsLogGroupArnHasBeenSet() const { return m_cloudWatchLogsLogGroupArnHasBeenSet; }
76 inline void SetCloudWatchLogsLogGroupArn(const Aws::String& value) { m_cloudWatchLogsLogGroupArnHasBeenSet = true; m_cloudWatchLogsLogGroupArn = value; }
77 inline void SetCloudWatchLogsLogGroupArn(Aws::String&& value) { m_cloudWatchLogsLogGroupArnHasBeenSet = true; m_cloudWatchLogsLogGroupArn = std::move(value); }
78 inline void SetCloudWatchLogsLogGroupArn(const char* value) { m_cloudWatchLogsLogGroupArnHasBeenSet = true; m_cloudWatchLogsLogGroupArn.assign(value); }
81 inline QueryLoggingConfig& WithCloudWatchLogsLogGroupArn(const char* value) { SetCloudWatchLogsLogGroupArn(value); return *this;}
83 private:
84
85 Aws::String m_id;
86 bool m_idHasBeenSet = false;
87
88 Aws::String m_hostedZoneId;
89 bool m_hostedZoneIdHasBeenSet = false;
90
91 Aws::String m_cloudWatchLogsLogGroupArn;
92 bool m_cloudWatchLogsLogGroupArnHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Route53
97} // namespace Aws
QueryLoggingConfig & WithId(const char *value)
const Aws::String & GetHostedZoneId() const
QueryLoggingConfig & WithCloudWatchLogsLogGroupArn(Aws::String &&value)
QueryLoggingConfig & WithCloudWatchLogsLogGroupArn(const Aws::String &value)
void SetCloudWatchLogsLogGroupArn(Aws::String &&value)
QueryLoggingConfig & WithHostedZoneId(Aws::String &&value)
const Aws::String & GetCloudWatchLogsLogGroupArn() const
void SetCloudWatchLogsLogGroupArn(const Aws::String &value)
QueryLoggingConfig & WithHostedZoneId(const Aws::String &value)
QueryLoggingConfig & WithCloudWatchLogsLogGroupArn(const char *value)
QueryLoggingConfig & WithHostedZoneId(const char *value)
AWS_ROUTE53_API QueryLoggingConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetHostedZoneId(const Aws::String &value)
QueryLoggingConfig & WithId(const Aws::String &value)
void SetId(const Aws::String &value)
void SetCloudWatchLogsLogGroupArn(const char *value)
QueryLoggingConfig & WithId(Aws::String &&value)
AWS_ROUTE53_API QueryLoggingConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String