AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchNearbyResult.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/SearchNearbyResultItem.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 SearchNearbyResult();
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 SearchNearbyResult& WithPricingBucket(const Aws::String& value) { SetPricingBucket(value); return *this;}
49 inline SearchNearbyResult& WithPricingBucket(Aws::String&& value) { SetPricingBucket(std::move(value)); return *this;}
50 inline SearchNearbyResult& WithPricingBucket(const char* value) { SetPricingBucket(value); return *this;}
52
54
57 inline const Aws::Vector<SearchNearbyResultItem>& GetResultItems() const{ return m_resultItems; }
58 inline void SetResultItems(const Aws::Vector<SearchNearbyResultItem>& value) { m_resultItems = value; }
59 inline void SetResultItems(Aws::Vector<SearchNearbyResultItem>&& value) { m_resultItems = std::move(value); }
61 inline SearchNearbyResult& WithResultItems(Aws::Vector<SearchNearbyResultItem>&& value) { SetResultItems(std::move(value)); return *this;}
62 inline SearchNearbyResult& AddResultItems(const SearchNearbyResultItem& value) { m_resultItems.push_back(value); return *this; }
63 inline SearchNearbyResult& AddResultItems(SearchNearbyResultItem&& 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 SearchNearbyResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
76 inline SearchNearbyResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
77 inline SearchNearbyResult& 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 SearchNearbyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
87 inline SearchNearbyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
88 inline SearchNearbyResult& 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
void SetPricingBucket(const Aws::String &value)
SearchNearbyResult & AddResultItems(const SearchNearbyResultItem &value)
SearchNearbyResult & WithNextToken(const Aws::String &value)
AWS_GEOPLACES_API SearchNearbyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GEOPLACES_API SearchNearbyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchNearbyResult & WithRequestId(const char *value)
const Aws::String & GetPricingBucket() const
SearchNearbyResult & WithResultItems(const Aws::Vector< SearchNearbyResultItem > &value)
void SetRequestId(const Aws::String &value)
SearchNearbyResult & WithPricingBucket(const Aws::String &value)
SearchNearbyResult & WithRequestId(Aws::String &&value)
SearchNearbyResult & WithNextToken(Aws::String &&value)
SearchNearbyResult & WithRequestId(const Aws::String &value)
SearchNearbyResult & AddResultItems(SearchNearbyResultItem &&value)
void SetNextToken(const Aws::String &value)
SearchNearbyResult & WithNextToken(const char *value)
SearchNearbyResult & WithPricingBucket(Aws::String &&value)
SearchNearbyResult & WithPricingBucket(const char *value)
void SetResultItems(Aws::Vector< SearchNearbyResultItem > &&value)
const Aws::Vector< SearchNearbyResultItem > & GetResultItems() const
void SetResultItems(const Aws::Vector< SearchNearbyResultItem > &value)
SearchNearbyResult & WithResultItems(Aws::Vector< SearchNearbyResultItem > &&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