AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReverseGeocodeResult.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/ReverseGeocodeResultItem.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 ReverseGeocodeResult();
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 ReverseGeocodeResult& WithPricingBucket(const Aws::String& value) { SetPricingBucket(value); return *this;}
49 inline ReverseGeocodeResult& WithPricingBucket(Aws::String&& value) { SetPricingBucket(std::move(value)); return *this;}
50 inline ReverseGeocodeResult& WithPricingBucket(const char* value) { SetPricingBucket(value); return *this;}
52
54
57 inline const Aws::Vector<ReverseGeocodeResultItem>& GetResultItems() const{ return m_resultItems; }
58 inline void SetResultItems(const Aws::Vector<ReverseGeocodeResultItem>& value) { m_resultItems = value; }
59 inline void SetResultItems(Aws::Vector<ReverseGeocodeResultItem>&& value) { m_resultItems = std::move(value); }
62 inline ReverseGeocodeResult& AddResultItems(const ReverseGeocodeResultItem& value) { m_resultItems.push_back(value); return *this; }
63 inline ReverseGeocodeResult& AddResultItems(ReverseGeocodeResultItem&& value) { m_resultItems.push_back(std::move(value)); return *this; }
65
67
68 inline const Aws::String& GetRequestId() const{ return m_requestId; }
69 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
70 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
71 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
72 inline ReverseGeocodeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
73 inline ReverseGeocodeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
74 inline ReverseGeocodeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
76 private:
77
78 Aws::String m_pricingBucket;
79
81
82 Aws::String m_requestId;
83 };
84
85} // namespace Model
86} // namespace GeoPlaces
87} // namespace Aws
ReverseGeocodeResult & WithResultItems(const Aws::Vector< ReverseGeocodeResultItem > &value)
ReverseGeocodeResult & WithPricingBucket(const Aws::String &value)
void SetResultItems(Aws::Vector< ReverseGeocodeResultItem > &&value)
AWS_GEOPLACES_API ReverseGeocodeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetResultItems(const Aws::Vector< ReverseGeocodeResultItem > &value)
void SetPricingBucket(const Aws::String &value)
ReverseGeocodeResult & WithPricingBucket(Aws::String &&value)
ReverseGeocodeResult & WithPricingBucket(const char *value)
ReverseGeocodeResult & AddResultItems(const ReverseGeocodeResultItem &value)
ReverseGeocodeResult & WithRequestId(const char *value)
ReverseGeocodeResult & WithResultItems(Aws::Vector< ReverseGeocodeResultItem > &&value)
AWS_GEOPLACES_API ReverseGeocodeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ReverseGeocodeResult & WithRequestId(Aws::String &&value)
ReverseGeocodeResult & AddResultItems(ReverseGeocodeResultItem &&value)
ReverseGeocodeResult & WithRequestId(const Aws::String &value)
const Aws::Vector< ReverseGeocodeResultItem > & GetResultItems() 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