AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CreateQueryLoggingConfigResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53/Route53_EXPORTS.h>
10#include <aws/route53/model/QueryLoggingConfig.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Xml {
20class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace Route53 {
24namespace Model {
26 public:
27 AWS_ROUTE53_API CreateQueryLoggingConfigResult() = default;
30
32
37 inline const QueryLoggingConfig& GetQueryLoggingConfig() const { return m_queryLoggingConfig; }
38 template <typename QueryLoggingConfigT = QueryLoggingConfig>
39 void SetQueryLoggingConfig(QueryLoggingConfigT&& value) {
40 m_queryLoggingConfigHasBeenSet = true;
41 m_queryLoggingConfig = std::forward<QueryLoggingConfigT>(value);
42 }
43 template <typename QueryLoggingConfigT = QueryLoggingConfig>
45 SetQueryLoggingConfig(std::forward<QueryLoggingConfigT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetLocation() const { return m_location; }
55 template <typename LocationT = Aws::String>
56 void SetLocation(LocationT&& value) {
57 m_locationHasBeenSet = true;
58 m_location = std::forward<LocationT>(value);
59 }
60 template <typename LocationT = Aws::String>
62 SetLocation(std::forward<LocationT>(value));
63 return *this;
64 }
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template <typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) {
72 m_requestIdHasBeenSet = true;
73 m_requestId = std::forward<RequestIdT>(value);
74 }
75 template <typename RequestIdT = Aws::String>
77 SetRequestId(std::forward<RequestIdT>(value));
78 return *this;
79 }
81 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
82
83 private:
84 QueryLoggingConfig m_queryLoggingConfig;
85
86 Aws::String m_location;
87
88 Aws::String m_requestId;
89 Aws::Http::HttpResponseCode m_HttpResponseCode;
90 bool m_queryLoggingConfigHasBeenSet = false;
91 bool m_locationHasBeenSet = false;
92 bool m_requestIdHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace Route53
97} // 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