AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CalculateRouteMatrixResult.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/location/model/CalculateRouteMatrixSummary.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/location/model/RouteMatrixEntry.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 LocationService
27{
28namespace Model
29{
37 {
38 public:
39 AWS_LOCATIONSERVICE_API CalculateRouteMatrixResult();
42
43
45
52 inline const Aws::Vector<Aws::Vector<RouteMatrixEntry>>& GetRouteMatrix() const{ return m_routeMatrix; }
53 inline void SetRouteMatrix(const Aws::Vector<Aws::Vector<RouteMatrixEntry>>& value) { m_routeMatrix = value; }
54 inline void SetRouteMatrix(Aws::Vector<Aws::Vector<RouteMatrixEntry>>&& value) { m_routeMatrix = std::move(value); }
57 inline CalculateRouteMatrixResult& AddRouteMatrix(const Aws::Vector<RouteMatrixEntry>& value) { m_routeMatrix.push_back(value); return *this; }
58 inline CalculateRouteMatrixResult& AddRouteMatrix(Aws::Vector<RouteMatrixEntry>&& value) { m_routeMatrix.push_back(std::move(value)); return *this; }
60
62
68 inline const Aws::Vector<Aws::Vector<double>>& GetSnappedDeparturePositions() const{ return m_snappedDeparturePositions; }
69 inline void SetSnappedDeparturePositions(const Aws::Vector<Aws::Vector<double>>& value) { m_snappedDeparturePositions = value; }
70 inline void SetSnappedDeparturePositions(Aws::Vector<Aws::Vector<double>>&& value) { m_snappedDeparturePositions = std::move(value); }
73 inline CalculateRouteMatrixResult& AddSnappedDeparturePositions(const Aws::Vector<double>& value) { m_snappedDeparturePositions.push_back(value); return *this; }
74 inline CalculateRouteMatrixResult& AddSnappedDeparturePositions(Aws::Vector<double>&& value) { m_snappedDeparturePositions.push_back(std::move(value)); return *this; }
76
78
82 inline const Aws::Vector<Aws::Vector<double>>& GetSnappedDestinationPositions() const{ return m_snappedDestinationPositions; }
83 inline void SetSnappedDestinationPositions(const Aws::Vector<Aws::Vector<double>>& value) { m_snappedDestinationPositions = value; }
84 inline void SetSnappedDestinationPositions(Aws::Vector<Aws::Vector<double>>&& value) { m_snappedDestinationPositions = std::move(value); }
87 inline CalculateRouteMatrixResult& AddSnappedDestinationPositions(const Aws::Vector<double>& value) { m_snappedDestinationPositions.push_back(value); return *this; }
88 inline CalculateRouteMatrixResult& AddSnappedDestinationPositions(Aws::Vector<double>&& value) { m_snappedDestinationPositions.push_back(std::move(value)); return *this; }
90
92
97 inline const CalculateRouteMatrixSummary& GetSummary() const{ return m_summary; }
98 inline void SetSummary(const CalculateRouteMatrixSummary& value) { m_summary = value; }
99 inline void SetSummary(CalculateRouteMatrixSummary&& value) { m_summary = std::move(value); }
101 inline CalculateRouteMatrixResult& WithSummary(CalculateRouteMatrixSummary&& value) { SetSummary(std::move(value)); return *this;}
103
105
106 inline const Aws::String& GetRequestId() const{ return m_requestId; }
107 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
108 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
109 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
110 inline CalculateRouteMatrixResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
111 inline CalculateRouteMatrixResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
112 inline CalculateRouteMatrixResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
114 private:
115
117
118 Aws::Vector<Aws::Vector<double>> m_snappedDeparturePositions;
119
120 Aws::Vector<Aws::Vector<double>> m_snappedDestinationPositions;
121
123
124 Aws::String m_requestId;
125 };
126
127} // namespace Model
128} // namespace LocationService
129} // namespace Aws
CalculateRouteMatrixResult & WithSnappedDestinationPositions(const Aws::Vector< Aws::Vector< double > > &value)
void SetSnappedDeparturePositions(Aws::Vector< Aws::Vector< double > > &&value)
CalculateRouteMatrixResult & WithRequestId(const Aws::String &value)
CalculateRouteMatrixResult & AddSnappedDestinationPositions(const Aws::Vector< double > &value)
const Aws::Vector< Aws::Vector< double > > & GetSnappedDeparturePositions() const
void SetSummary(const CalculateRouteMatrixSummary &value)
CalculateRouteMatrixResult & WithRouteMatrix(Aws::Vector< Aws::Vector< RouteMatrixEntry > > &&value)
CalculateRouteMatrixResult & AddSnappedDeparturePositions(const Aws::Vector< double > &value)
CalculateRouteMatrixResult & WithSnappedDestinationPositions(Aws::Vector< Aws::Vector< double > > &&value)
AWS_LOCATIONSERVICE_API CalculateRouteMatrixResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CalculateRouteMatrixResult & WithSnappedDeparturePositions(Aws::Vector< Aws::Vector< double > > &&value)
AWS_LOCATIONSERVICE_API CalculateRouteMatrixResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CalculateRouteMatrixResult & WithRouteMatrix(const Aws::Vector< Aws::Vector< RouteMatrixEntry > > &value)
CalculateRouteMatrixResult & AddRouteMatrix(Aws::Vector< RouteMatrixEntry > &&value)
const Aws::Vector< Aws::Vector< double > > & GetSnappedDestinationPositions() const
CalculateRouteMatrixResult & WithSummary(const CalculateRouteMatrixSummary &value)
void SetSnappedDestinationPositions(const Aws::Vector< Aws::Vector< double > > &value)
void SetSnappedDeparturePositions(const Aws::Vector< Aws::Vector< double > > &value)
const Aws::Vector< Aws::Vector< RouteMatrixEntry > > & GetRouteMatrix() const
CalculateRouteMatrixResult & WithRequestId(const char *value)
void SetRouteMatrix(const Aws::Vector< Aws::Vector< RouteMatrixEntry > > &value)
CalculateRouteMatrixResult & WithSnappedDeparturePositions(const Aws::Vector< Aws::Vector< double > > &value)
CalculateRouteMatrixResult & AddSnappedDestinationPositions(Aws::Vector< double > &&value)
CalculateRouteMatrixResult & WithRequestId(Aws::String &&value)
void SetRouteMatrix(Aws::Vector< Aws::Vector< RouteMatrixEntry > > &&value)
CalculateRouteMatrixResult & AddRouteMatrix(const Aws::Vector< RouteMatrixEntry > &value)
void SetSnappedDestinationPositions(Aws::Vector< Aws::Vector< double > > &&value)
CalculateRouteMatrixResult & AddSnappedDeparturePositions(Aws::Vector< double > &&value)
CalculateRouteMatrixResult & WithSummary(CalculateRouteMatrixSummary &&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