AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WaypointOptimizationImpedingWaypoint.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/WaypointOptimizationFailedConstraint.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GeoRoutes
24{
25namespace Model
26{
27
34 {
35 public:
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<WaypointOptimizationFailedConstraint>& GetFailedConstraints() const{ return m_failedConstraints; }
47 inline bool FailedConstraintsHasBeenSet() const { return m_failedConstraintsHasBeenSet; }
48 inline void SetFailedConstraints(const Aws::Vector<WaypointOptimizationFailedConstraint>& value) { m_failedConstraintsHasBeenSet = true; m_failedConstraints = value; }
49 inline void SetFailedConstraints(Aws::Vector<WaypointOptimizationFailedConstraint>&& value) { m_failedConstraintsHasBeenSet = true; m_failedConstraints = std::move(value); }
52 inline WaypointOptimizationImpedingWaypoint& AddFailedConstraints(const WaypointOptimizationFailedConstraint& value) { m_failedConstraintsHasBeenSet = true; m_failedConstraints.push_back(value); return *this; }
53 inline WaypointOptimizationImpedingWaypoint& AddFailedConstraints(WaypointOptimizationFailedConstraint&& value) { m_failedConstraintsHasBeenSet = true; m_failedConstraints.push_back(std::move(value)); return *this; }
55
57
60 inline const Aws::String& GetId() const{ return m_id; }
61 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
62 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
63 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
64 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 inline WaypointOptimizationImpedingWaypoint& WithId(const Aws::String& value) { SetId(value); return *this;}
66 inline WaypointOptimizationImpedingWaypoint& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
67 inline WaypointOptimizationImpedingWaypoint& WithId(const char* value) { SetId(value); return *this;}
69
71
74 inline const Aws::Vector<double>& GetPosition() const{ return m_position; }
75 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
76 inline void SetPosition(const Aws::Vector<double>& value) { m_positionHasBeenSet = true; m_position = value; }
77 inline void SetPosition(Aws::Vector<double>&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
79 inline WaypointOptimizationImpedingWaypoint& WithPosition(Aws::Vector<double>&& value) { SetPosition(std::move(value)); return *this;}
80 inline WaypointOptimizationImpedingWaypoint& AddPosition(double value) { m_positionHasBeenSet = true; m_position.push_back(value); return *this; }
82 private:
83
85 bool m_failedConstraintsHasBeenSet = false;
86
87 Aws::String m_id;
88 bool m_idHasBeenSet = false;
89
90 Aws::Vector<double> m_position;
91 bool m_positionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace GeoRoutes
96} // namespace Aws
void SetFailedConstraints(const Aws::Vector< WaypointOptimizationFailedConstraint > &value)
WaypointOptimizationImpedingWaypoint & WithId(const char *value)
AWS_GEOROUTES_API WaypointOptimizationImpedingWaypoint & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFailedConstraints(Aws::Vector< WaypointOptimizationFailedConstraint > &&value)
WaypointOptimizationImpedingWaypoint & WithId(const Aws::String &value)
WaypointOptimizationImpedingWaypoint & WithId(Aws::String &&value)
WaypointOptimizationImpedingWaypoint & WithPosition(Aws::Vector< double > &&value)
const Aws::Vector< WaypointOptimizationFailedConstraint > & GetFailedConstraints() const
AWS_GEOROUTES_API WaypointOptimizationImpedingWaypoint(Aws::Utils::Json::JsonView jsonValue)
WaypointOptimizationImpedingWaypoint & WithFailedConstraints(const Aws::Vector< WaypointOptimizationFailedConstraint > &value)
WaypointOptimizationImpedingWaypoint & WithFailedConstraints(Aws::Vector< WaypointOptimizationFailedConstraint > &&value)
WaypointOptimizationImpedingWaypoint & WithPosition(const Aws::Vector< double > &value)
WaypointOptimizationImpedingWaypoint & AddFailedConstraints(const WaypointOptimizationFailedConstraint &value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
WaypointOptimizationImpedingWaypoint & AddFailedConstraints(WaypointOptimizationFailedConstraint &&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