AWS SDK for C++

AWS SDK for C++ Version 1.11.750

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/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ConfigService {
24namespace Model {
26 public:
27 AWS_CONFIGSERVICE_API SelectAggregateResourceConfigResult() = default;
31
33
36 inline const Aws::Vector<Aws::String>& GetResults() const { return m_results; }
37 template <typename ResultsT = Aws::Vector<Aws::String>>
38 void SetResults(ResultsT&& value) {
39 m_resultsHasBeenSet = true;
40 m_results = std::forward<ResultsT>(value);
41 }
42 template <typename ResultsT = Aws::Vector<Aws::String>>
44 SetResults(std::forward<ResultsT>(value));
45 return *this;
46 }
47 template <typename ResultsT = Aws::String>
49 m_resultsHasBeenSet = true;
50 m_results.emplace_back(std::forward<ResultsT>(value));
51 return *this;
52 }
54
56
57 inline const QueryInfo& GetQueryInfo() const { return m_queryInfo; }
58 template <typename QueryInfoT = QueryInfo>
59 void SetQueryInfo(QueryInfoT&& value) {
60 m_queryInfoHasBeenSet = true;
61 m_queryInfo = std::forward<QueryInfoT>(value);
62 }
63 template <typename QueryInfoT = QueryInfo>
65 SetQueryInfo(std::forward<QueryInfoT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetNextToken() const { return m_nextToken; }
76 template <typename NextTokenT = Aws::String>
77 void SetNextToken(NextTokenT&& value) {
78 m_nextTokenHasBeenSet = true;
79 m_nextToken = std::forward<NextTokenT>(value);
80 }
81 template <typename NextTokenT = Aws::String>
83 SetNextToken(std::forward<NextTokenT>(value));
84 return *this;
85 }
87
89
90 inline const Aws::String& GetRequestId() const { return m_requestId; }
91 template <typename RequestIdT = Aws::String>
92 void SetRequestId(RequestIdT&& value) {
93 m_requestIdHasBeenSet = true;
94 m_requestId = std::forward<RequestIdT>(value);
95 }
96 template <typename RequestIdT = Aws::String>
98 SetRequestId(std::forward<RequestIdT>(value));
99 return *this;
100 }
102 private:
103 Aws::Vector<Aws::String> m_results;
104
105 QueryInfo m_queryInfo;
106
107 Aws::String m_nextToken;
108
109 Aws::String m_requestId;
110 bool m_resultsHasBeenSet = false;
111 bool m_queryInfoHasBeenSet = false;
112 bool m_nextTokenHasBeenSet = false;
113 bool m_requestIdHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace ConfigService
118} // 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