AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchTextResult.h
1
6#pragma once
7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/geo-places/model/SearchTextResultItem.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace GeoPlaces
26{
27namespace Model
28{
30 {
31 public:
32 AWS_GEOPLACES_API SearchTextResult();
35
36
38
44 inline const Aws::String& GetPricingBucket() const{ return m_pricingBucket; }
45 inline void SetPricingBucket(const Aws::String& value) { m_pricingBucket = value; }
46 inline void SetPricingBucket(Aws::String&& value) { m_pricingBucket = std::move(value); }
47 inline void SetPricingBucket(const char* value) { m_pricingBucket.assign(value); }
48 inline SearchTextResult& WithPricingBucket(const Aws::String& value) { SetPricingBucket(value); return *this;}
49 inline SearchTextResult& WithPricingBucket(Aws::String&& value) { SetPricingBucket(std::move(value)); return *this;}
50 inline SearchTextResult& WithPricingBucket(const char* value) { SetPricingBucket(value); return *this;}
52
54
57 inline const Aws::Vector<SearchTextResultItem>& GetResultItems() const{ return m_resultItems; }
58 inline void SetResultItems(const Aws::Vector<SearchTextResultItem>& value) { m_resultItems = value; }
59 inline void SetResultItems(Aws::Vector<SearchTextResultItem>&& value) { m_resultItems = std::move(value); }
61 inline SearchTextResult& WithResultItems(Aws::Vector<SearchTextResultItem>&& value) { SetResultItems(std::move(value)); return *this;}
62 inline SearchTextResult& AddResultItems(const SearchTextResultItem& value) { m_resultItems.push_back(value); return *this; }
63 inline SearchTextResult& AddResultItems(SearchTextResultItem&& value) { m_resultItems.push_back(std::move(value)); return *this; }
65
67
71 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
72 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
73 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
74 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
75 inline SearchTextResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
76 inline SearchTextResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
77 inline SearchTextResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
79
81
82 inline const Aws::String& GetRequestId() const{ return m_requestId; }
83 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
84 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
85 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
86 inline SearchTextResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
87 inline SearchTextResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
88 inline SearchTextResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
90 private:
91
92 Aws::String m_pricingBucket;
93
95
96 Aws::String m_nextToken;
97
98 Aws::String m_requestId;
99 };
100
101} // namespace Model
102} // namespace GeoPlaces
103} // namespace Aws
const Aws::String & GetPricingBucket() const
AWS_GEOPLACES_API SearchTextResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchTextResult & WithPricingBucket(const char *value)
SearchTextResult & WithNextToken(Aws::String &&value)
SearchTextResult & WithNextToken(const char *value)
const Aws::Vector< SearchTextResultItem > & GetResultItems() const
void SetPricingBucket(Aws::String &&value)
SearchTextResult & WithRequestId(const char *value)
SearchTextResult & AddResultItems(SearchTextResultItem &&value)
AWS_GEOPLACES_API SearchTextResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchTextResult & WithResultItems(Aws::Vector< SearchTextResultItem > &&value)
void SetResultItems(const Aws::Vector< SearchTextResultItem > &value)
void SetNextToken(const Aws::String &value)
SearchTextResult & WithNextToken(const Aws::String &value)
void SetRequestId(const Aws::String &value)
SearchTextResult & WithRequestId(Aws::String &&value)
SearchTextResult & WithPricingBucket(Aws::String &&value)
const Aws::String & GetRequestId() const
SearchTextResult & WithPricingBucket(const Aws::String &value)
SearchTextResult & WithResultItems(const Aws::Vector< SearchTextResultItem > &value)
SearchTextResult & AddResultItems(const SearchTextResultItem &value)
const Aws::String & GetNextToken() const
SearchTextResult & WithRequestId(const Aws::String &value)
void SetResultItems(Aws::Vector< SearchTextResultItem > &&value)
void SetPricingBucket(const Aws::String &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