AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreateQueryLoggingConfigResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53/Route53_EXPORTS.h>
9#include <aws/route53/model/QueryLoggingConfig.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Xml {
19class XmlDocument;
20} // namespace Xml
21} // namespace Utils
22namespace Route53 {
23namespace Model {
25 public:
26 AWS_ROUTE53_API CreateQueryLoggingConfigResult() = default;
29
31
36 inline const QueryLoggingConfig& GetQueryLoggingConfig() const { return m_queryLoggingConfig; }
37 template <typename QueryLoggingConfigT = QueryLoggingConfig>
38 void SetQueryLoggingConfig(QueryLoggingConfigT&& value) {
39 m_queryLoggingConfigHasBeenSet = true;
40 m_queryLoggingConfig = std::forward<QueryLoggingConfigT>(value);
41 }
42 template <typename QueryLoggingConfigT = QueryLoggingConfig>
44 SetQueryLoggingConfig(std::forward<QueryLoggingConfigT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetLocation() const { return m_location; }
54 template <typename LocationT = Aws::String>
55 void SetLocation(LocationT&& value) {
56 m_locationHasBeenSet = true;
57 m_location = std::forward<LocationT>(value);
58 }
59 template <typename LocationT = Aws::String>
61 SetLocation(std::forward<LocationT>(value));
62 return *this;
63 }
65
67
68 inline const Aws::String& GetRequestId() const { return m_requestId; }
69 template <typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) {
71 m_requestIdHasBeenSet = true;
72 m_requestId = std::forward<RequestIdT>(value);
73 }
74 template <typename RequestIdT = Aws::String>
76 SetRequestId(std::forward<RequestIdT>(value));
77 return *this;
78 }
80 private:
81 QueryLoggingConfig m_queryLoggingConfig;
82
83 Aws::String m_location;
84
85 Aws::String m_requestId;
86 bool m_queryLoggingConfigHasBeenSet = false;
87 bool m_locationHasBeenSet = false;
88 bool m_requestIdHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace Route53
93} // namespace Aws
AWS_ROUTE53_API CreateQueryLoggingConfigResult()=default
CreateQueryLoggingConfigResult & WithQueryLoggingConfig(QueryLoggingConfigT &&value)
AWS_ROUTE53_API CreateQueryLoggingConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateQueryLoggingConfigResult & WithRequestId(RequestIdT &&value)
CreateQueryLoggingConfigResult & WithLocation(LocationT &&value)
AWS_ROUTE53_API CreateQueryLoggingConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument