AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteMatrixDestination.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteMatrixDestinationOptions.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 RouteMatrixDestination();
38 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const RouteMatrixDestinationOptions& GetOptions() const{ return m_options; }
46 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
47 inline void SetOptions(const RouteMatrixDestinationOptions& value) { m_optionsHasBeenSet = true; m_options = value; }
48 inline void SetOptions(RouteMatrixDestinationOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
49 inline RouteMatrixDestination& WithOptions(const RouteMatrixDestinationOptions& value) { SetOptions(value); return *this;}
50 inline RouteMatrixDestination& WithOptions(RouteMatrixDestinationOptions&& 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 RouteMatrixDestination& WithPosition(const Aws::Vector<double>& value) { SetPosition(value); return *this;}
62 inline RouteMatrixDestination& WithPosition(Aws::Vector<double>&& value) { SetPosition(std::move(value)); return *this;}
63 inline RouteMatrixDestination& 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
RouteMatrixDestination & WithOptions(const RouteMatrixDestinationOptions &value)
const RouteMatrixDestinationOptions & GetOptions() const
AWS_GEOROUTES_API RouteMatrixDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteMatrixDestination & WithOptions(RouteMatrixDestinationOptions &&value)
void SetPosition(Aws::Vector< double > &&value)
void SetPosition(const Aws::Vector< double > &value)
AWS_GEOROUTES_API RouteMatrixDestination(Aws::Utils::Json::JsonView jsonValue)
RouteMatrixDestination & WithPosition(Aws::Vector< double > &&value)
void SetOptions(RouteMatrixDestinationOptions &&value)
RouteMatrixDestination & AddPosition(double value)
RouteMatrixDestination & WithPosition(const Aws::Vector< double > &value)
void SetOptions(const RouteMatrixDestinationOptions &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue