AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const RoadSnapNoticeCode& GetCode() const{ return m_code; }
48 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
49 inline void SetCode(const RoadSnapNoticeCode& value) { m_codeHasBeenSet = true; m_code = value; }
50 inline void SetCode(RoadSnapNoticeCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
51 inline RoadSnapNotice& WithCode(const RoadSnapNoticeCode& value) { SetCode(value); return *this;}
52 inline RoadSnapNotice& WithCode(RoadSnapNoticeCode&& value) { SetCode(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetTitle() const{ return m_title; }
60 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
61 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
62 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
63 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
64 inline RoadSnapNotice& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
65 inline RoadSnapNotice& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
66 inline RoadSnapNotice& WithTitle(const char* value) { SetTitle(value); return *this;}
68
70
73 inline const Aws::Vector<int>& GetTracePointIndexes() const{ return m_tracePointIndexes; }
74 inline bool TracePointIndexesHasBeenSet() const { return m_tracePointIndexesHasBeenSet; }
75 inline void SetTracePointIndexes(const Aws::Vector<int>& value) { m_tracePointIndexesHasBeenSet = true; m_tracePointIndexes = value; }
76 inline void SetTracePointIndexes(Aws::Vector<int>&& value) { m_tracePointIndexesHasBeenSet = true; m_tracePointIndexes = std::move(value); }
77 inline RoadSnapNotice& WithTracePointIndexes(const Aws::Vector<int>& value) { SetTracePointIndexes(value); return *this;}
78 inline RoadSnapNotice& WithTracePointIndexes(Aws::Vector<int>&& value) { SetTracePointIndexes(std::move(value)); return *this;}
79 inline RoadSnapNotice& AddTracePointIndexes(int value) { m_tracePointIndexesHasBeenSet = true; m_tracePointIndexes.push_back(value); return *this; }
81 private:
82
83 RoadSnapNoticeCode m_code;
84 bool m_codeHasBeenSet = false;
85
86 Aws::String m_title;
87 bool m_titleHasBeenSet = false;
88
89 Aws::Vector<int> m_tracePointIndexes;
90 bool m_tracePointIndexesHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace GeoRoutes
95} // namespace Aws
void SetTracePointIndexes(const Aws::Vector< int > &value)
RoadSnapNotice & WithTracePointIndexes(Aws::Vector< int > &&value)
const RoadSnapNoticeCode & GetCode() const
AWS_GEOROUTES_API RoadSnapNotice & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTitle() const
RoadSnapNotice & WithCode(const RoadSnapNoticeCode &value)
void SetTracePointIndexes(Aws::Vector< int > &&value)
const Aws::Vector< int > & GetTracePointIndexes() const
RoadSnapNotice & WithTitle(const char *value)
RoadSnapNotice & AddTracePointIndexes(int value)
void SetCode(RoadSnapNoticeCode &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTitle(const Aws::String &value)
RoadSnapNotice & WithCode(RoadSnapNoticeCode &&value)
AWS_GEOROUTES_API RoadSnapNotice(Aws::Utils::Json::JsonView jsonValue)
RoadSnapNotice & WithTracePointIndexes(const Aws::Vector< int > &value)
RoadSnapNotice & WithTitle(const Aws::String &value)
void SetCode(const RoadSnapNoticeCode &value)
RoadSnapNotice & WithTitle(Aws::String &&value)
void SetTitle(Aws::String &&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