7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/AggregationOutput.h>
11#include <aws/datazone/model/SearchResultItem.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename ItemsT = Aws::Vector<SearchResultItem>>
39 m_itemsHasBeenSet =
true;
40 m_items = std::forward<ItemsT>(value);
42 template <
typename ItemsT = Aws::Vector<SearchResultItem>>
44 SetItems(std::forward<ItemsT>(value));
47 template <
typename ItemsT = SearchResultItem>
49 m_itemsHasBeenSet =
true;
50 m_items.emplace_back(std::forward<ItemsT>(value));
65 template <
typename NextTokenT = Aws::String>
67 m_nextTokenHasBeenSet =
true;
68 m_nextToken = std::forward<NextTokenT>(value);
70 template <
typename NextTokenT = Aws::String>
83 m_totalMatchCountHasBeenSet =
true;
84 m_totalMatchCount = value;
98 template <
typename AggregatesT = Aws::Vector<AggregationOutput>>
100 m_aggregatesHasBeenSet =
true;
101 m_aggregates = std::forward<AggregatesT>(value);
103 template <
typename AggregatesT = Aws::Vector<AggregationOutput>>
108 template <
typename AggregatesT = AggregationOutput>
110 m_aggregatesHasBeenSet =
true;
111 m_aggregates.emplace_back(std::forward<AggregatesT>(value));
119 template <
typename RequestIdT = Aws::String>
121 m_requestIdHasBeenSet =
true;
122 m_requestId = std::forward<RequestIdT>(value);
124 template <
typename RequestIdT = Aws::String>
135 int m_totalMatchCount{0};
140 bool m_itemsHasBeenSet =
false;
141 bool m_nextTokenHasBeenSet =
false;
142 bool m_totalMatchCountHasBeenSet =
false;
143 bool m_aggregatesHasBeenSet =
false;
144 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
SearchListingsResult & WithAggregates(AggregatesT &&value)
SearchListingsResult & WithItems(ItemsT &&value)
SearchListingsResult & WithTotalMatchCount(int value)
AWS_DATAZONE_API SearchListingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextToken(NextTokenT &&value)
SearchListingsResult & AddAggregates(AggregatesT &&value)
const Aws::Vector< SearchResultItem > & GetItems() const
int GetTotalMatchCount() const
SearchListingsResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< AggregationOutput > & GetAggregates() const
AWS_DATAZONE_API SearchListingsResult()=default
void SetAggregates(AggregatesT &&value)
void SetRequestId(RequestIdT &&value)
SearchListingsResult & AddItems(ItemsT &&value)
void SetItems(ItemsT &&value)
const Aws::String & GetNextToken() const
SearchListingsResult & WithRequestId(RequestIdT &&value)
void SetTotalMatchCount(int value)
AWS_DATAZONE_API SearchListingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue