AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RoadSnapNotice.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RoadSnapNoticeCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.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
35 {
36 public:
37 AWS_GEOROUTES_API RoadSnapNotice() = default;
38 AWS_GEOROUTES_API RoadSnapNotice(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline RoadSnapNoticeCode GetCode() const { return m_code; }
48 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
49 inline void SetCode(RoadSnapNoticeCode value) { m_codeHasBeenSet = true; m_code = value; }
50 inline RoadSnapNotice& WithCode(RoadSnapNoticeCode value) { SetCode(value); return *this;}
52
54
57 inline const Aws::String& GetTitle() const { return m_title; }
58 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
59 template<typename TitleT = Aws::String>
60 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
61 template<typename TitleT = Aws::String>
62 RoadSnapNotice& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
64
66
69 inline const Aws::Vector<int>& GetTracePointIndexes() const { return m_tracePointIndexes; }
70 inline bool TracePointIndexesHasBeenSet() const { return m_tracePointIndexesHasBeenSet; }
71 template<typename TracePointIndexesT = Aws::Vector<int>>
72 void SetTracePointIndexes(TracePointIndexesT&& value) { m_tracePointIndexesHasBeenSet = true; m_tracePointIndexes = std::forward<TracePointIndexesT>(value); }
73 template<typename TracePointIndexesT = Aws::Vector<int>>
74 RoadSnapNotice& WithTracePointIndexes(TracePointIndexesT&& value) { SetTracePointIndexes(std::forward<TracePointIndexesT>(value)); return *this;}
75 inline RoadSnapNotice& AddTracePointIndexes(int value) { m_tracePointIndexesHasBeenSet = true; m_tracePointIndexes.push_back(value); return *this; }
77 private:
78
80 bool m_codeHasBeenSet = false;
81
82 Aws::String m_title;
83 bool m_titleHasBeenSet = false;
84
85 Aws::Vector<int> m_tracePointIndexes;
86 bool m_tracePointIndexesHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace GeoRoutes
91} // namespace Aws
AWS_GEOROUTES_API RoadSnapNotice & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTitle() const
void SetTracePointIndexes(TracePointIndexesT &&value)
AWS_GEOROUTES_API RoadSnapNotice()=default
const Aws::Vector< int > & GetTracePointIndexes() const
RoadSnapNotice & AddTracePointIndexes(int value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RoadSnapNotice & WithTracePointIndexes(TracePointIndexesT &&value)
void SetCode(RoadSnapNoticeCode value)
AWS_GEOROUTES_API RoadSnapNotice(Aws::Utils::Json::JsonView jsonValue)
RoadSnapNotice & WithCode(RoadSnapNoticeCode value)
RoadSnapNoticeCode GetCode() const
RoadSnapNotice & WithTitle(TitleT &&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