AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RouteVehicleNoticeDetail.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/geo-routes/model/RouteViolatedConstraints.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GeoRoutes
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GEOROUTES_API RouteVehicleNoticeDetail() = default;
38 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetTitle() const { return m_title; }
46 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
47 template<typename TitleT = Aws::String>
48 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
49 template<typename TitleT = Aws::String>
50 RouteVehicleNoticeDetail& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
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) { m_violatedConstraintsHasBeenSet = true; m_violatedConstraints = std::forward<ViolatedConstraintsT>(value); }
61 template<typename ViolatedConstraintsT = RouteViolatedConstraints>
62 RouteVehicleNoticeDetail& WithViolatedConstraints(ViolatedConstraintsT&& value) { SetViolatedConstraints(std::forward<ViolatedConstraintsT>(value)); return *this;}
64 private:
65
66 Aws::String m_title;
67 bool m_titleHasBeenSet = false;
68
69 RouteViolatedConstraints m_violatedConstraints;
70 bool m_violatedConstraintsHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace GeoRoutes
75} // 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