AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline HierarchyLevel& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline HierarchyLevel& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline HierarchyLevel& WithId(const char* value) { SetId(value); return *this;}
54
56
59 inline const Aws::String& GetArn() const{ return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
62 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
63 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
64 inline HierarchyLevel& WithArn(const Aws::String& value) { SetArn(value); return *this;}
65 inline HierarchyLevel& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
66 inline HierarchyLevel& WithArn(const char* value) { SetArn(value); return *this;}
68
70
73 inline const Aws::String& GetName() const{ return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
76 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
77 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
78 inline HierarchyLevel& WithName(const Aws::String& value) { SetName(value); return *this;}
79 inline HierarchyLevel& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
80 inline HierarchyLevel& WithName(const char* value) { SetName(value); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
88 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
89 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
90 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
91 inline HierarchyLevel& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
92 inline HierarchyLevel& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetLastModifiedRegion() const{ return m_lastModifiedRegion; }
100 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
101 inline void SetLastModifiedRegion(const Aws::String& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = value; }
102 inline void SetLastModifiedRegion(Aws::String&& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = std::move(value); }
103 inline void SetLastModifiedRegion(const char* value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion.assign(value); }
104 inline HierarchyLevel& WithLastModifiedRegion(const Aws::String& value) { SetLastModifiedRegion(value); return *this;}
105 inline HierarchyLevel& WithLastModifiedRegion(Aws::String&& value) { SetLastModifiedRegion(std::move(value)); return *this;}
106 inline HierarchyLevel& WithLastModifiedRegion(const char* value) { SetLastModifiedRegion(value); return *this;}
108 private:
109
110 Aws::String m_id;
111 bool m_idHasBeenSet = false;
112
113 Aws::String m_arn;
114 bool m_arnHasBeenSet = false;
115
116 Aws::String m_name;
117 bool m_nameHasBeenSet = false;
118
119 Aws::Utils::DateTime m_lastModifiedTime;
120 bool m_lastModifiedTimeHasBeenSet = false;
121
122 Aws::String m_lastModifiedRegion;
123 bool m_lastModifiedRegionHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace Connect
128} // namespace Aws
HierarchyLevel & WithName(const char *value)
void SetLastModifiedRegion(const char *value)
HierarchyLevel & WithId(Aws::String &&value)
void SetArn(Aws::String &&value)
void SetId(const Aws::String &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastModifiedRegion(Aws::String &&value)
void SetName(const Aws::String &value)
HierarchyLevel & WithArn(const char *value)
void SetArn(const Aws::String &value)
void SetName(const char *value)
AWS_CONNECT_API HierarchyLevel(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastModifiedTime() const
HierarchyLevel & WithLastModifiedTime(Aws::Utils::DateTime &&value)
HierarchyLevel & WithName(const Aws::String &value)
HierarchyLevel & WithId(const Aws::String &value)
AWS_CONNECT_API HierarchyLevel & operator=(Aws::Utils::Json::JsonView jsonValue)
HierarchyLevel & WithName(Aws::String &&value)
const Aws::String & GetLastModifiedRegion() const
void SetName(Aws::String &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
const Aws::String & GetId() const
const Aws::String & GetArn() const
HierarchyLevel & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetLastModifiedRegion(const Aws::String &value)
HierarchyLevel & WithLastModifiedRegion(Aws::String &&value)
HierarchyLevel & WithId(const char *value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
HierarchyLevel & WithArn(Aws::String &&value)
HierarchyLevel & WithLastModifiedRegion(const char *value)
HierarchyLevel & WithLastModifiedRegion(const Aws::String &value)
HierarchyLevel & WithArn(const Aws::String &value)
void SetId(Aws::String &&value)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue