AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
SelectAggregateResourceConfigResult.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/QueryInfo.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ConfigService {
25namespace Model {
27 public:
28 AWS_CONFIGSERVICE_API SelectAggregateResourceConfigResult() = default;
32
34
37 inline const Aws::Vector<Aws::String>& GetResults() const { return m_results; }
38 template <typename ResultsT = Aws::Vector<Aws::String>>
39 void SetResults(ResultsT&& value) {
40 m_resultsHasBeenSet = true;
41 m_results = std::forward<ResultsT>(value);
42 }
43 template <typename ResultsT = Aws::Vector<Aws::String>>
45 SetResults(std::forward<ResultsT>(value));
46 return *this;
47 }
48 template <typename ResultsT = Aws::String>
50 m_resultsHasBeenSet = true;
51 m_results.emplace_back(std::forward<ResultsT>(value));
52 return *this;
53 }
55
57
58 inline const QueryInfo& GetQueryInfo() const { return m_queryInfo; }
59 template <typename QueryInfoT = QueryInfo>
60 void SetQueryInfo(QueryInfoT&& value) {
61 m_queryInfoHasBeenSet = true;
62 m_queryInfo = std::forward<QueryInfoT>(value);
63 }
64 template <typename QueryInfoT = QueryInfo>
66 SetQueryInfo(std::forward<QueryInfoT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetNextToken() const { return m_nextToken; }
77 template <typename NextTokenT = Aws::String>
78 void SetNextToken(NextTokenT&& value) {
79 m_nextTokenHasBeenSet = true;
80 m_nextToken = std::forward<NextTokenT>(value);
81 }
82 template <typename NextTokenT = Aws::String>
84 SetNextToken(std::forward<NextTokenT>(value));
85 return *this;
86 }
88
90
91 inline const Aws::String& GetRequestId() const { return m_requestId; }
92 template <typename RequestIdT = Aws::String>
93 void SetRequestId(RequestIdT&& value) {
94 m_requestIdHasBeenSet = true;
95 m_requestId = std::forward<RequestIdT>(value);
96 }
97 template <typename RequestIdT = Aws::String>
99 SetRequestId(std::forward<RequestIdT>(value));
100 return *this;
101 }
103 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
104
105 private:
106 Aws::Vector<Aws::String> m_results;
107
108 QueryInfo m_queryInfo;
109
110 Aws::String m_nextToken;
111
112 Aws::String m_requestId;
113 Aws::Http::HttpResponseCode m_HttpResponseCode;
114 bool m_resultsHasBeenSet = false;
115 bool m_queryInfoHasBeenSet = false;
116 bool m_nextTokenHasBeenSet = false;
117 bool m_requestIdHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace ConfigService
122} // namespace Aws
SelectAggregateResourceConfigResult & WithQueryInfo(QueryInfoT &&value)
AWS_CONFIGSERVICE_API SelectAggregateResourceConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CONFIGSERVICE_API SelectAggregateResourceConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SelectAggregateResourceConfigResult & AddResults(ResultsT &&value)
AWS_CONFIGSERVICE_API SelectAggregateResourceConfigResult()=default
SelectAggregateResourceConfigResult & WithRequestId(RequestIdT &&value)
SelectAggregateResourceConfigResult & WithNextToken(NextTokenT &&value)
SelectAggregateResourceConfigResult & WithResults(ResultsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue