7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/SearchInventoryResultItem.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename ItemsT = Aws::Vector<SearchInventoryResultItem>>
39 m_itemsHasBeenSet =
true;
40 m_items = std::forward<ItemsT>(value);
42 template <
typename ItemsT = Aws::Vector<SearchInventoryResultItem>>
44 SetItems(std::forward<ItemsT>(value));
47 template <
typename ItemsT = SearchInventoryResultItem>
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;
95 template <
typename RequestIdT = Aws::String>
97 m_requestIdHasBeenSet =
true;
98 m_requestId = std::forward<RequestIdT>(value);
100 template <
typename RequestIdT = Aws::String>
113 int m_totalMatchCount{0};
117 bool m_itemsHasBeenSet =
false;
118 bool m_nextTokenHasBeenSet =
false;
119 bool m_totalMatchCountHasBeenSet =
false;
120 bool m_requestIdHasBeenSet =
false;
void SetTotalMatchCount(int value)
AWS_DATAZONE_API SearchResult()=default
const Aws::String & GetNextToken() const
SearchResult & WithRequestId(RequestIdT &&value)
SearchResult & WithItems(ItemsT &&value)
void SetRequestId(RequestIdT &&value)
AWS_DATAZONE_API SearchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
SearchResult & WithNextToken(NextTokenT &&value)
const Aws::String & GetRequestId() const
SearchResult & AddItems(ItemsT &&value)
void SetItems(ItemsT &&value)
AWS_DATAZONE_API SearchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchResult & WithTotalMatchCount(int value)
const Aws::Vector< SearchInventoryResultItem > & GetItems() const
int GetTotalMatchCount() const
void SetNextToken(NextTokenT &&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