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/geo-places/GeoPlaces_EXPORTS.h>
11#include <aws/geo-places/model/SearchTextResultItem.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
40 template <
typename PricingBucketT = Aws::String>
42 m_pricingBucketHasBeenSet =
true;
43 m_pricingBucket = std::forward<PricingBucketT>(value);
45 template <
typename PricingBucketT = Aws::String>
57 template <
typename ResultItemsT = Aws::Vector<SearchTextResultItem>>
59 m_resultItemsHasBeenSet =
true;
60 m_resultItems = std::forward<ResultItemsT>(value);
62 template <
typename ResultItemsT = Aws::Vector<SearchTextResultItem>>
67 template <
typename ResultItemsT = SearchTextResultItem>
69 m_resultItemsHasBeenSet =
true;
70 m_resultItems.emplace_back(std::forward<ResultItemsT>(value));
81 template <
typename NextTokenT = Aws::String>
83 m_nextTokenHasBeenSet =
true;
84 m_nextToken = std::forward<NextTokenT>(value);
86 template <
typename NextTokenT = Aws::String>
96 template <
typename RequestIdT = Aws::String>
98 m_requestIdHasBeenSet =
true;
99 m_requestId = std::forward<RequestIdT>(value);
101 template <
typename RequestIdT = Aws::String>
118 bool m_pricingBucketHasBeenSet =
false;
119 bool m_resultItemsHasBeenSet =
false;
120 bool m_nextTokenHasBeenSet =
false;
121 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetPricingBucket() const
AWS_GEOPLACES_API SearchTextResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetResultItems(ResultItemsT &&value)
const Aws::Vector< SearchTextResultItem > & GetResultItems() const
SearchTextResult & AddResultItems(ResultItemsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_GEOPLACES_API SearchTextResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchTextResult & WithNextToken(NextTokenT &&value)
void SetRequestId(RequestIdT &&value)
void SetPricingBucket(PricingBucketT &&value)
SearchTextResult & WithResultItems(ResultItemsT &&value)
SearchTextResult & WithPricingBucket(PricingBucketT &&value)
const Aws::String & GetRequestId() const
void SetNextToken(NextTokenT &&value)
SearchTextResult & WithRequestId(RequestIdT &&value)
AWS_GEOPLACES_API SearchTextResult()=default
const Aws::String & GetNextToken() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue