7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/AggregationOutput.h>
11#include <aws/datazone/model/SearchResultItem.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
44 template<
typename AggregatesT = Aws::Vector<AggregationOutput>>
45 void SetAggregates(AggregatesT&& value) { m_aggregatesHasBeenSet =
true; m_aggregates = std::forward<AggregatesT>(value); }
46 template<
typename AggregatesT = Aws::Vector<AggregationOutput>>
48 template<
typename AggregatesT = AggregationOutput>
57 template<
typename ItemsT = Aws::Vector<SearchResultItem>>
58 void SetItems(ItemsT&& value) { m_itemsHasBeenSet =
true; m_items = std::forward<ItemsT>(value); }
59 template<
typename ItemsT = Aws::Vector<SearchResultItem>>
61 template<
typename ItemsT = SearchResultItem>
75 template<
typename NextTokenT = Aws::String>
76 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
77 template<
typename NextTokenT = Aws::String>
86 inline void SetTotalMatchCount(
int value) { m_totalMatchCountHasBeenSet =
true; m_totalMatchCount = value; }
93 template<
typename RequestIdT = Aws::String>
94 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
95 template<
typename RequestIdT = Aws::String>
101 bool m_aggregatesHasBeenSet =
false;
104 bool m_itemsHasBeenSet =
false;
107 bool m_nextTokenHasBeenSet =
false;
109 int m_totalMatchCount{0};
110 bool m_totalMatchCountHasBeenSet =
false;
113 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