AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
HierarchyLevel.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 Connect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONNECT_API HierarchyLevel() = default;
36 AWS_CONNECT_API HierarchyLevel(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetId() const { return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 template<typename IdT = Aws::String>
48 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
49 template<typename IdT = Aws::String>
50 HierarchyLevel& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetArn() const { return m_arn; }
58 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
59 template<typename ArnT = Aws::String>
60 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
61 template<typename ArnT = Aws::String>
62 HierarchyLevel& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
64
66
69 inline const Aws::String& GetName() const { return m_name; }
70 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
71 template<typename NameT = Aws::String>
72 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
73 template<typename NameT = Aws::String>
74 HierarchyLevel& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
82 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
83 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
84 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
85 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
86 HierarchyLevel& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
88
90
93 inline const Aws::String& GetLastModifiedRegion() const { return m_lastModifiedRegion; }
94 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
95 template<typename LastModifiedRegionT = Aws::String>
96 void SetLastModifiedRegion(LastModifiedRegionT&& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value); }
97 template<typename LastModifiedRegionT = Aws::String>
98 HierarchyLevel& WithLastModifiedRegion(LastModifiedRegionT&& value) { SetLastModifiedRegion(std::forward<LastModifiedRegionT>(value)); return *this;}
100 private:
101
102 Aws::String m_id;
103 bool m_idHasBeenSet = false;
104
105 Aws::String m_arn;
106 bool m_arnHasBeenSet = false;
107
108 Aws::String m_name;
109 bool m_nameHasBeenSet = false;
110
111 Aws::Utils::DateTime m_lastModifiedTime{};
112 bool m_lastModifiedTimeHasBeenSet = false;
113
114 Aws::String m_lastModifiedRegion;
115 bool m_lastModifiedRegionHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace Connect
120} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API HierarchyLevel(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastModifiedTime() const
HierarchyLevel & WithArn(ArnT &&value)
AWS_CONNECT_API HierarchyLevel & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API HierarchyLevel()=default
HierarchyLevel & WithName(NameT &&value)
const Aws::String & GetLastModifiedRegion() const
void SetLastModifiedRegion(LastModifiedRegionT &&value)
const Aws::String & GetId() const
const Aws::String & GetArn() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
HierarchyLevel & WithLastModifiedRegion(LastModifiedRegionT &&value)
HierarchyLevel & WithLastModifiedTime(LastModifiedTimeT &&value)
HierarchyLevel & WithId(IdT &&value)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue