AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteMatrixOrigin.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteMatrixOriginOptions.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GeoRoutes
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GEOROUTES_API RouteMatrixOrigin();
36 AWS_GEOROUTES_API RouteMatrixOrigin(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const RouteMatrixOriginOptions& GetOptions() const{ return m_options; }
46 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
47 inline void SetOptions(const RouteMatrixOriginOptions& value) { m_optionsHasBeenSet = true; m_options = value; }
48 inline void SetOptions(RouteMatrixOriginOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
49 inline RouteMatrixOrigin& WithOptions(const RouteMatrixOriginOptions& value) { SetOptions(value); return *this;}
50 inline RouteMatrixOrigin& WithOptions(RouteMatrixOriginOptions&& value) { SetOptions(std::move(value)); return *this;}
52
54
57 inline const Aws::Vector<double>& GetPosition() const{ return m_position; }
58 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
59 inline void SetPosition(const Aws::Vector<double>& value) { m_positionHasBeenSet = true; m_position = value; }
60 inline void SetPosition(Aws::Vector<double>&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
61 inline RouteMatrixOrigin& WithPosition(const Aws::Vector<double>& value) { SetPosition(value); return *this;}
62 inline RouteMatrixOrigin& WithPosition(Aws::Vector<double>&& value) { SetPosition(std::move(value)); return *this;}
63 inline RouteMatrixOrigin& AddPosition(double value) { m_positionHasBeenSet = true; m_position.push_back(value); return *this; }
65 private:
66
68 bool m_optionsHasBeenSet = false;
69
70 Aws::Vector<double> m_position;
71 bool m_positionHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace GeoRoutes
76} // namespace Aws
const Aws::Vector< double > & GetPosition() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPosition(const Aws::Vector< double > &value)
AWS_GEOROUTES_API RouteMatrixOrigin(Aws::Utils::Json::JsonView jsonValue)
const RouteMatrixOriginOptions & GetOptions() const
RouteMatrixOrigin & WithPosition(const Aws::Vector< double > &value)
RouteMatrixOrigin & WithOptions(RouteMatrixOriginOptions &&value)
void SetOptions(RouteMatrixOriginOptions &&value)
AWS_GEOROUTES_API RouteMatrixOrigin & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteMatrixOrigin & WithOptions(const RouteMatrixOriginOptions &value)
void SetPosition(Aws::Vector< double > &&value)
RouteMatrixOrigin & AddPosition(double value)
RouteMatrixOrigin & WithPosition(Aws::Vector< double > &&value)
void SetOptions(const RouteMatrixOriginOptions &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue