AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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