AWS SDK for C++

AWS SDK for C++ Version 1.11.765

Loading...
Searching...
No Matches
RouteContinueStepDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
9#include <aws/geo-routes/model/LocalizedString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GeoRoutes {
21namespace Model {
22
29 public:
30 AWS_GEOROUTES_API RouteContinueStepDetails() = default;
33 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::Vector<LocalizedString>& GetIntersection() const { return m_intersection; }
40 inline bool IntersectionHasBeenSet() const { return m_intersectionHasBeenSet; }
41 template <typename IntersectionT = Aws::Vector<LocalizedString>>
42 void SetIntersection(IntersectionT&& value) {
43 m_intersectionHasBeenSet = true;
44 m_intersection = std::forward<IntersectionT>(value);
45 }
46 template <typename IntersectionT = Aws::Vector<LocalizedString>>
48 SetIntersection(std::forward<IntersectionT>(value));
49 return *this;
50 }
51 template <typename IntersectionT = LocalizedString>
52 RouteContinueStepDetails& AddIntersection(IntersectionT&& value) {
53 m_intersectionHasBeenSet = true;
54 m_intersection.emplace_back(std::forward<IntersectionT>(value));
55 return *this;
56 }
58 private:
59 Aws::Vector<LocalizedString> m_intersection;
60 bool m_intersectionHasBeenSet = false;
61};
62
63} // namespace Model
64} // namespace GeoRoutes
65} // namespace Aws
RouteContinueStepDetails & AddIntersection(IntersectionT &&value)
AWS_GEOROUTES_API RouteContinueStepDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< LocalizedString > & GetIntersection() const
AWS_GEOROUTES_API RouteContinueStepDetails(Aws::Utils::Json::JsonView jsonValue)
RouteContinueStepDetails & WithIntersection(IntersectionT &&value)
AWS_GEOROUTES_API RouteContinueStepDetails()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue