AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RouteZone.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/RouteZoneCategory.h>
9#include <aws/core/utils/memory/stl/AWSString.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 RouteZone() = default;
36 AWS_GEOROUTES_API RouteZone(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GEOROUTES_API RouteZone& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline RouteZoneCategory GetCategory() const { return m_category; }
46 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
47 inline void SetCategory(RouteZoneCategory value) { m_categoryHasBeenSet = true; m_category = value; }
48 inline RouteZone& WithCategory(RouteZoneCategory value) { SetCategory(value); return *this;}
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 template<typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
59 template<typename NameT = Aws::String>
60 RouteZone& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
62 private:
63
65 bool m_categoryHasBeenSet = false;
66
67 Aws::String m_name;
68 bool m_nameHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace GeoRoutes
73} // namespace Aws
RouteZone & WithCategory(RouteZoneCategory value)
Definition RouteZone.h:48
AWS_GEOROUTES_API RouteZone(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
Definition RouteZone.h:55
RouteZone & WithName(NameT &&value)
Definition RouteZone.h:60
AWS_GEOROUTES_API RouteZone()=default
void SetCategory(RouteZoneCategory value)
Definition RouteZone.h:47
AWS_GEOROUTES_API RouteZone & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteZoneCategory GetCategory() const
Definition RouteZone.h:45
void SetName(NameT &&value)
Definition RouteZone.h:58
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue