AWS SDK for C++

AWS SDK for C++ Version 1.11.781

Loading...
Searching...
No Matches
RouteVehicleNoticeDetail.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
9#include <aws/geo-routes/model/RouteViolatedConstraints.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 RouteVehicleNoticeDetail() = default;
33 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetTitle() const { return m_title; }
40 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
41 template <typename TitleT = Aws::String>
42 void SetTitle(TitleT&& value) {
43 m_titleHasBeenSet = true;
44 m_title = std::forward<TitleT>(value);
45 }
46 template <typename TitleT = Aws::String>
48 SetTitle(std::forward<TitleT>(value));
49 return *this;
50 }
52
54
57 inline const RouteViolatedConstraints& GetViolatedConstraints() const { return m_violatedConstraints; }
58 inline bool ViolatedConstraintsHasBeenSet() const { return m_violatedConstraintsHasBeenSet; }
59 template <typename ViolatedConstraintsT = RouteViolatedConstraints>
60 void SetViolatedConstraints(ViolatedConstraintsT&& value) {
61 m_violatedConstraintsHasBeenSet = true;
62 m_violatedConstraints = std::forward<ViolatedConstraintsT>(value);
63 }
64 template <typename ViolatedConstraintsT = RouteViolatedConstraints>
65 RouteVehicleNoticeDetail& WithViolatedConstraints(ViolatedConstraintsT&& value) {
66 SetViolatedConstraints(std::forward<ViolatedConstraintsT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_title;
72
73 RouteViolatedConstraints m_violatedConstraints;
74 bool m_titleHasBeenSet = false;
75 bool m_violatedConstraintsHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace GeoRoutes
80} // namespace Aws
RouteVehicleNoticeDetail & WithTitle(TitleT &&value)
AWS_GEOROUTES_API RouteVehicleNoticeDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API RouteVehicleNoticeDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetViolatedConstraints(ViolatedConstraintsT &&value)
AWS_GEOROUTES_API RouteVehicleNoticeDetail()=default
RouteVehicleNoticeDetail & WithViolatedConstraints(ViolatedConstraintsT &&value)
const RouteViolatedConstraints & GetViolatedConstraints() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue