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/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/geo-routes/model/RouteMatrixBoundary.h>
11#include <aws/geo-routes/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 GeoRoutes
27{
28namespace Model
29{
31 {
32 public:
33 AWS_GEOROUTES_API CalculateRouteMatrixResult();
36
37
39
43 inline int GetErrorCount() const{ return m_errorCount; }
44 inline void SetErrorCount(int value) { m_errorCount = value; }
45 inline CalculateRouteMatrixResult& WithErrorCount(int value) { SetErrorCount(value); return *this;}
47
49
52 inline const Aws::String& GetPricingBucket() const{ return m_pricingBucket; }
53 inline void SetPricingBucket(const Aws::String& value) { m_pricingBucket = value; }
54 inline void SetPricingBucket(Aws::String&& value) { m_pricingBucket = std::move(value); }
55 inline void SetPricingBucket(const char* value) { m_pricingBucket.assign(value); }
56 inline CalculateRouteMatrixResult& WithPricingBucket(const Aws::String& value) { SetPricingBucket(value); return *this;}
57 inline CalculateRouteMatrixResult& WithPricingBucket(Aws::String&& value) { SetPricingBucket(std::move(value)); return *this;}
58 inline CalculateRouteMatrixResult& WithPricingBucket(const char* value) { SetPricingBucket(value); return *this;}
60
62
68 inline const Aws::Vector<Aws::Vector<RouteMatrixEntry>>& GetRouteMatrix() const{ return m_routeMatrix; }
69 inline void SetRouteMatrix(const Aws::Vector<Aws::Vector<RouteMatrixEntry>>& value) { m_routeMatrix = value; }
70 inline void SetRouteMatrix(Aws::Vector<Aws::Vector<RouteMatrixEntry>>&& value) { m_routeMatrix = std::move(value); }
73 inline CalculateRouteMatrixResult& AddRouteMatrix(const Aws::Vector<RouteMatrixEntry>& value) { m_routeMatrix.push_back(value); return *this; }
74 inline CalculateRouteMatrixResult& AddRouteMatrix(Aws::Vector<RouteMatrixEntry>&& value) { m_routeMatrix.push_back(std::move(value)); return *this; }
76
78
84 inline const RouteMatrixBoundary& GetRoutingBoundary() const{ return m_routingBoundary; }
85 inline void SetRoutingBoundary(const RouteMatrixBoundary& value) { m_routingBoundary = value; }
86 inline void SetRoutingBoundary(RouteMatrixBoundary&& value) { m_routingBoundary = std::move(value); }
88 inline CalculateRouteMatrixResult& WithRoutingBoundary(RouteMatrixBoundary&& value) { SetRoutingBoundary(std::move(value)); return *this;}
90
92
93 inline const Aws::String& GetRequestId() const{ return m_requestId; }
94 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
95 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
96 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
97 inline CalculateRouteMatrixResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
98 inline CalculateRouteMatrixResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
99 inline CalculateRouteMatrixResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
101 private:
102
103 int m_errorCount;
104
105 Aws::String m_pricingBucket;
106
108
109 RouteMatrixBoundary m_routingBoundary;
110
111 Aws::String m_requestId;
112 };
113
114} // namespace Model
115} // namespace GeoRoutes
116} // namespace Aws
AWS_GEOROUTES_API CalculateRouteMatrixResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRoutingBoundary(const RouteMatrixBoundary &value)
CalculateRouteMatrixResult & AddRouteMatrix(const Aws::Vector< RouteMatrixEntry > &value)
void SetRouteMatrix(const Aws::Vector< Aws::Vector< RouteMatrixEntry > > &value)
CalculateRouteMatrixResult & WithPricingBucket(const Aws::String &value)
CalculateRouteMatrixResult & WithRoutingBoundary(RouteMatrixBoundary &&value)
AWS_GEOROUTES_API CalculateRouteMatrixResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CalculateRouteMatrixResult & WithPricingBucket(const char *value)
CalculateRouteMatrixResult & WithRoutingBoundary(const RouteMatrixBoundary &value)
CalculateRouteMatrixResult & WithRequestId(const char *value)
CalculateRouteMatrixResult & WithRouteMatrix(Aws::Vector< Aws::Vector< RouteMatrixEntry > > &&value)
const Aws::Vector< Aws::Vector< RouteMatrixEntry > > & GetRouteMatrix() const
CalculateRouteMatrixResult & WithPricingBucket(Aws::String &&value)
CalculateRouteMatrixResult & WithRequestId(Aws::String &&value)
CalculateRouteMatrixResult & WithRequestId(const Aws::String &value)
CalculateRouteMatrixResult & WithRouteMatrix(const Aws::Vector< Aws::Vector< RouteMatrixEntry > > &value)
CalculateRouteMatrixResult & AddRouteMatrix(Aws::Vector< RouteMatrixEntry > &&value)
void SetRouteMatrix(Aws::Vector< Aws::Vector< RouteMatrixEntry > > &&value)
CalculateRouteMatrixResult & WithErrorCount(int 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