AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateQueryLoggingConfigResult.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/route53/model/QueryLoggingConfig.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace Route53
25{
26namespace Model
27{
29 {
30 public:
31 AWS_ROUTE53_API CreateQueryLoggingConfigResult() = default;
34
35
37
42 inline const QueryLoggingConfig& GetQueryLoggingConfig() const { return m_queryLoggingConfig; }
43 template<typename QueryLoggingConfigT = QueryLoggingConfig>
44 void SetQueryLoggingConfig(QueryLoggingConfigT&& value) { m_queryLoggingConfigHasBeenSet = true; m_queryLoggingConfig = std::forward<QueryLoggingConfigT>(value); }
45 template<typename QueryLoggingConfigT = QueryLoggingConfig>
46 CreateQueryLoggingConfigResult& WithQueryLoggingConfig(QueryLoggingConfigT&& value) { SetQueryLoggingConfig(std::forward<QueryLoggingConfigT>(value)); return *this;}
48
50
53 inline const Aws::String& GetLocation() const { return m_location; }
54 template<typename LocationT = Aws::String>
55 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
56 template<typename LocationT = Aws::String>
57 CreateQueryLoggingConfigResult& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
59
61
62 inline const Aws::String& GetRequestId() const { return m_requestId; }
63 template<typename RequestIdT = Aws::String>
64 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
65 template<typename RequestIdT = Aws::String>
66 CreateQueryLoggingConfigResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
68 private:
69
70 QueryLoggingConfig m_queryLoggingConfig;
71 bool m_queryLoggingConfigHasBeenSet = false;
72
73 Aws::String m_location;
74 bool m_locationHasBeenSet = false;
75
76 Aws::String m_requestId;
77 bool m_requestIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Route53
82} // 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