AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SnapToRoadsResult.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/geo-routes/model/RoadSnapSnappedGeometry.h>
11#include <aws/geo-routes/model/GeometryFormat.h>
12#include <aws/geo-routes/model/RoadSnapNotice.h>
13#include <aws/geo-routes/model/RoadSnapSnappedTracePoint.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace GeoRoutes
29{
30namespace Model
31{
33 {
34 public:
35 AWS_GEOROUTES_API SnapToRoadsResult();
38
39
41
45 inline const Aws::Vector<RoadSnapNotice>& GetNotices() const{ return m_notices; }
46 inline void SetNotices(const Aws::Vector<RoadSnapNotice>& value) { m_notices = value; }
47 inline void SetNotices(Aws::Vector<RoadSnapNotice>&& value) { m_notices = std::move(value); }
48 inline SnapToRoadsResult& WithNotices(const Aws::Vector<RoadSnapNotice>& value) { SetNotices(value); return *this;}
49 inline SnapToRoadsResult& WithNotices(Aws::Vector<RoadSnapNotice>&& value) { SetNotices(std::move(value)); return *this;}
50 inline SnapToRoadsResult& AddNotices(const RoadSnapNotice& value) { m_notices.push_back(value); return *this; }
51 inline SnapToRoadsResult& AddNotices(RoadSnapNotice&& value) { m_notices.push_back(std::move(value)); return *this; }
53
55
58 inline const Aws::String& GetPricingBucket() const{ return m_pricingBucket; }
59 inline void SetPricingBucket(const Aws::String& value) { m_pricingBucket = value; }
60 inline void SetPricingBucket(Aws::String&& value) { m_pricingBucket = std::move(value); }
61 inline void SetPricingBucket(const char* value) { m_pricingBucket.assign(value); }
62 inline SnapToRoadsResult& WithPricingBucket(const Aws::String& value) { SetPricingBucket(value); return *this;}
63 inline SnapToRoadsResult& WithPricingBucket(Aws::String&& value) { SetPricingBucket(std::move(value)); return *this;}
64 inline SnapToRoadsResult& WithPricingBucket(const char* value) { SetPricingBucket(value); return *this;}
66
68
71 inline const RoadSnapSnappedGeometry& GetSnappedGeometry() const{ return m_snappedGeometry; }
72 inline void SetSnappedGeometry(const RoadSnapSnappedGeometry& value) { m_snappedGeometry = value; }
73 inline void SetSnappedGeometry(RoadSnapSnappedGeometry&& value) { m_snappedGeometry = std::move(value); }
75 inline SnapToRoadsResult& WithSnappedGeometry(RoadSnapSnappedGeometry&& value) { SetSnappedGeometry(std::move(value)); return *this;}
77
79
82 inline const GeometryFormat& GetSnappedGeometryFormat() const{ return m_snappedGeometryFormat; }
83 inline void SetSnappedGeometryFormat(const GeometryFormat& value) { m_snappedGeometryFormat = value; }
84 inline void SetSnappedGeometryFormat(GeometryFormat&& value) { m_snappedGeometryFormat = std::move(value); }
86 inline SnapToRoadsResult& WithSnappedGeometryFormat(GeometryFormat&& value) { SetSnappedGeometryFormat(std::move(value)); return *this;}
88
90
93 inline const Aws::Vector<RoadSnapSnappedTracePoint>& GetSnappedTracePoints() const{ return m_snappedTracePoints; }
94 inline void SetSnappedTracePoints(const Aws::Vector<RoadSnapSnappedTracePoint>& value) { m_snappedTracePoints = value; }
95 inline void SetSnappedTracePoints(Aws::Vector<RoadSnapSnappedTracePoint>&& value) { m_snappedTracePoints = std::move(value); }
98 inline SnapToRoadsResult& AddSnappedTracePoints(const RoadSnapSnappedTracePoint& value) { m_snappedTracePoints.push_back(value); return *this; }
99 inline SnapToRoadsResult& AddSnappedTracePoints(RoadSnapSnappedTracePoint&& value) { m_snappedTracePoints.push_back(std::move(value)); return *this; }
101
103
104 inline const Aws::String& GetRequestId() const{ return m_requestId; }
105 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
106 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
107 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
108 inline SnapToRoadsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
109 inline SnapToRoadsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
110 inline SnapToRoadsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
112 private:
113
115
116 Aws::String m_pricingBucket;
117
118 RoadSnapSnappedGeometry m_snappedGeometry;
119
120 GeometryFormat m_snappedGeometryFormat;
121
122 Aws::Vector<RoadSnapSnappedTracePoint> m_snappedTracePoints;
123
124 Aws::String m_requestId;
125 };
126
127} // namespace Model
128} // namespace GeoRoutes
129} // namespace Aws
void SetSnappedGeometryFormat(GeometryFormat &&value)
const Aws::Vector< RoadSnapNotice > & GetNotices() const
void SetSnappedTracePoints(Aws::Vector< RoadSnapSnappedTracePoint > &&value)
SnapToRoadsResult & WithSnappedGeometry(RoadSnapSnappedGeometry &&value)
void SetSnappedGeometryFormat(const GeometryFormat &value)
AWS_GEOROUTES_API SnapToRoadsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SnapToRoadsResult & WithSnappedGeometry(const RoadSnapSnappedGeometry &value)
SnapToRoadsResult & WithPricingBucket(Aws::String &&value)
SnapToRoadsResult & WithSnappedTracePoints(const Aws::Vector< RoadSnapSnappedTracePoint > &value)
void SetSnappedTracePoints(const Aws::Vector< RoadSnapSnappedTracePoint > &value)
void SetRequestId(const Aws::String &value)
SnapToRoadsResult & WithRequestId(Aws::String &&value)
SnapToRoadsResult & WithNotices(const Aws::Vector< RoadSnapNotice > &value)
const RoadSnapSnappedGeometry & GetSnappedGeometry() const
SnapToRoadsResult & WithRequestId(const Aws::String &value)
void SetPricingBucket(const Aws::String &value)
void SetSnappedGeometry(const RoadSnapSnappedGeometry &value)
SnapToRoadsResult & WithNotices(Aws::Vector< RoadSnapNotice > &&value)
SnapToRoadsResult & AddNotices(const RoadSnapNotice &value)
SnapToRoadsResult & AddSnappedTracePoints(RoadSnapSnappedTracePoint &&value)
SnapToRoadsResult & WithPricingBucket(const Aws::String &value)
const Aws::Vector< RoadSnapSnappedTracePoint > & GetSnappedTracePoints() const
SnapToRoadsResult & AddSnappedTracePoints(const RoadSnapSnappedTracePoint &value)
SnapToRoadsResult & WithSnappedGeometryFormat(const GeometryFormat &value)
void SetNotices(const Aws::Vector< RoadSnapNotice > &value)
const Aws::String & GetPricingBucket() const
void SetSnappedGeometry(RoadSnapSnappedGeometry &&value)
SnapToRoadsResult & WithSnappedGeometryFormat(GeometryFormat &&value)
SnapToRoadsResult & WithPricingBucket(const char *value)
const GeometryFormat & GetSnappedGeometryFormat() const
SnapToRoadsResult & WithSnappedTracePoints(Aws::Vector< RoadSnapSnappedTracePoint > &&value)
SnapToRoadsResult & WithRequestId(const char *value)
void SetNotices(Aws::Vector< RoadSnapNotice > &&value)
SnapToRoadsResult & AddNotices(RoadSnapNotice &&value)
AWS_GEOROUTES_API SnapToRoadsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue