AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CalculateIsolinesResult.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/geo-routes/model/GeometryFormat.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/geo-routes/model/Isoline.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace GeoRoutes
27{
28namespace Model
29{
31 {
32 public:
33 AWS_GEOROUTES_API CalculateIsolinesResult();
36
37
39
46 inline const Aws::String& GetArrivalTime() const{ return m_arrivalTime; }
47 inline void SetArrivalTime(const Aws::String& value) { m_arrivalTime = value; }
48 inline void SetArrivalTime(Aws::String&& value) { m_arrivalTime = std::move(value); }
49 inline void SetArrivalTime(const char* value) { m_arrivalTime.assign(value); }
50 inline CalculateIsolinesResult& WithArrivalTime(const Aws::String& value) { SetArrivalTime(value); return *this;}
51 inline CalculateIsolinesResult& WithArrivalTime(Aws::String&& value) { SetArrivalTime(std::move(value)); return *this;}
52 inline CalculateIsolinesResult& WithArrivalTime(const char* value) { SetArrivalTime(value); return *this;}
54
56
62 inline const Aws::String& GetDepartureTime() const{ return m_departureTime; }
63 inline void SetDepartureTime(const Aws::String& value) { m_departureTime = value; }
64 inline void SetDepartureTime(Aws::String&& value) { m_departureTime = std::move(value); }
65 inline void SetDepartureTime(const char* value) { m_departureTime.assign(value); }
66 inline CalculateIsolinesResult& WithDepartureTime(const Aws::String& value) { SetDepartureTime(value); return *this;}
67 inline CalculateIsolinesResult& WithDepartureTime(Aws::String&& value) { SetDepartureTime(std::move(value)); return *this;}
68 inline CalculateIsolinesResult& WithDepartureTime(const char* value) { SetDepartureTime(value); return *this;}
70
72
76 inline const GeometryFormat& GetIsolineGeometryFormat() const{ return m_isolineGeometryFormat; }
77 inline void SetIsolineGeometryFormat(const GeometryFormat& value) { m_isolineGeometryFormat = value; }
78 inline void SetIsolineGeometryFormat(GeometryFormat&& value) { m_isolineGeometryFormat = std::move(value); }
82
84
87 inline const Aws::Vector<Isoline>& GetIsolines() const{ return m_isolines; }
88 inline void SetIsolines(const Aws::Vector<Isoline>& value) { m_isolines = value; }
89 inline void SetIsolines(Aws::Vector<Isoline>&& value) { m_isolines = std::move(value); }
90 inline CalculateIsolinesResult& WithIsolines(const Aws::Vector<Isoline>& value) { SetIsolines(value); return *this;}
91 inline CalculateIsolinesResult& WithIsolines(Aws::Vector<Isoline>&& value) { SetIsolines(std::move(value)); return *this;}
92 inline CalculateIsolinesResult& AddIsolines(const Isoline& value) { m_isolines.push_back(value); return *this; }
93 inline CalculateIsolinesResult& AddIsolines(Isoline&& value) { m_isolines.push_back(std::move(value)); return *this; }
95
97
100 inline const Aws::String& GetPricingBucket() const{ return m_pricingBucket; }
101 inline void SetPricingBucket(const Aws::String& value) { m_pricingBucket = value; }
102 inline void SetPricingBucket(Aws::String&& value) { m_pricingBucket = std::move(value); }
103 inline void SetPricingBucket(const char* value) { m_pricingBucket.assign(value); }
104 inline CalculateIsolinesResult& WithPricingBucket(const Aws::String& value) { SetPricingBucket(value); return *this;}
105 inline CalculateIsolinesResult& WithPricingBucket(Aws::String&& value) { SetPricingBucket(std::move(value)); return *this;}
106 inline CalculateIsolinesResult& WithPricingBucket(const char* value) { SetPricingBucket(value); return *this;}
108
110
113 inline const Aws::Vector<double>& GetSnappedDestination() const{ return m_snappedDestination; }
114 inline void SetSnappedDestination(const Aws::Vector<double>& value) { m_snappedDestination = value; }
115 inline void SetSnappedDestination(Aws::Vector<double>&& value) { m_snappedDestination = std::move(value); }
118 inline CalculateIsolinesResult& AddSnappedDestination(double value) { m_snappedDestination.push_back(value); return *this; }
120
122
125 inline const Aws::Vector<double>& GetSnappedOrigin() const{ return m_snappedOrigin; }
126 inline void SetSnappedOrigin(const Aws::Vector<double>& value) { m_snappedOrigin = value; }
127 inline void SetSnappedOrigin(Aws::Vector<double>&& value) { m_snappedOrigin = std::move(value); }
129 inline CalculateIsolinesResult& WithSnappedOrigin(Aws::Vector<double>&& value) { SetSnappedOrigin(std::move(value)); return *this;}
130 inline CalculateIsolinesResult& AddSnappedOrigin(double value) { m_snappedOrigin.push_back(value); return *this; }
132
134
135 inline const Aws::String& GetRequestId() const{ return m_requestId; }
136 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
137 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
138 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
139 inline CalculateIsolinesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
140 inline CalculateIsolinesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
141 inline CalculateIsolinesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
143 private:
144
145 Aws::String m_arrivalTime;
146
147 Aws::String m_departureTime;
148
149 GeometryFormat m_isolineGeometryFormat;
150
151 Aws::Vector<Isoline> m_isolines;
152
153 Aws::String m_pricingBucket;
154
155 Aws::Vector<double> m_snappedDestination;
156
157 Aws::Vector<double> m_snappedOrigin;
158
159 Aws::String m_requestId;
160 };
161
162} // namespace Model
163} // namespace GeoRoutes
164} // namespace Aws
void SetSnappedDestination(const Aws::Vector< double > &value)
CalculateIsolinesResult & WithSnappedOrigin(const Aws::Vector< double > &value)
CalculateIsolinesResult & WithSnappedDestination(const Aws::Vector< double > &value)
CalculateIsolinesResult & WithDepartureTime(const char *value)
const Aws::Vector< Isoline > & GetIsolines() const
void SetIsolineGeometryFormat(const GeometryFormat &value)
const Aws::Vector< double > & GetSnappedOrigin() const
CalculateIsolinesResult & WithPricingBucket(const char *value)
CalculateIsolinesResult & AddSnappedOrigin(double value)
void SetSnappedDestination(Aws::Vector< double > &&value)
CalculateIsolinesResult & AddIsolines(Isoline &&value)
CalculateIsolinesResult & WithDepartureTime(Aws::String &&value)
CalculateIsolinesResult & WithArrivalTime(Aws::String &&value)
CalculateIsolinesResult & WithSnappedOrigin(Aws::Vector< double > &&value)
CalculateIsolinesResult & AddSnappedDestination(double value)
CalculateIsolinesResult & WithArrivalTime(const char *value)
const Aws::Vector< double > & GetSnappedDestination() const
CalculateIsolinesResult & WithArrivalTime(const Aws::String &value)
CalculateIsolinesResult & WithRequestId(const Aws::String &value)
CalculateIsolinesResult & WithPricingBucket(Aws::String &&value)
CalculateIsolinesResult & WithSnappedDestination(Aws::Vector< double > &&value)
void SetIsolines(Aws::Vector< Isoline > &&value)
AWS_GEOROUTES_API CalculateIsolinesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CalculateIsolinesResult & AddIsolines(const Isoline &value)
void SetSnappedOrigin(const Aws::Vector< double > &value)
AWS_GEOROUTES_API CalculateIsolinesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CalculateIsolinesResult & WithRequestId(Aws::String &&value)
void SetSnappedOrigin(Aws::Vector< double > &&value)
CalculateIsolinesResult & WithDepartureTime(const Aws::String &value)
CalculateIsolinesResult & WithIsolines(const Aws::Vector< Isoline > &value)
CalculateIsolinesResult & WithIsolineGeometryFormat(const GeometryFormat &value)
CalculateIsolinesResult & WithRequestId(const char *value)
CalculateIsolinesResult & WithPricingBucket(const Aws::String &value)
void SetIsolines(const Aws::Vector< Isoline > &value)
CalculateIsolinesResult & WithIsolineGeometryFormat(GeometryFormat &&value)
CalculateIsolinesResult & WithIsolines(Aws::Vector< Isoline > &&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