AWS SDK for C++  1.9.161
AWS SDK for C++
HierarchyGroupSummary.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Connect
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetId() const{ return m_id; }
45 
49  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 
54  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
55 
59  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
60 
64  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 
69  inline HierarchyGroupSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
70 
74  inline HierarchyGroupSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
75 
79  inline HierarchyGroupSummary& WithId(const char* value) { SetId(value); return *this;}
80 
81 
85  inline const Aws::String& GetArn() const{ return m_arn; }
86 
90  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
91 
95  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
96 
100  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
101 
105  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
106 
110  inline HierarchyGroupSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
111 
115  inline HierarchyGroupSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
116 
120  inline HierarchyGroupSummary& WithArn(const char* value) { SetArn(value); return *this;}
121 
122 
126  inline const Aws::String& GetName() const{ return m_name; }
127 
131  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
132 
136  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
137 
141  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
142 
146  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
147 
151  inline HierarchyGroupSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
152 
156  inline HierarchyGroupSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
157 
161  inline HierarchyGroupSummary& WithName(const char* value) { SetName(value); return *this;}
162 
163  private:
164 
165  Aws::String m_id;
166  bool m_idHasBeenSet;
167 
168  Aws::String m_arn;
169  bool m_arnHasBeenSet;
170 
171  Aws::String m_name;
172  bool m_nameHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace Connect
177 } // namespace Aws
Aws::Connect::Model::HierarchyGroupSummary::SetArn
void SetArn(const Aws::String &value)
Definition: HierarchyGroupSummary.h:95
Aws::Connect::Model::HierarchyGroupSummary::WithName
HierarchyGroupSummary & WithName(const Aws::String &value)
Definition: HierarchyGroupSummary.h:151
Aws::Connect::Model::HierarchyGroupSummary
Definition: HierarchyGroupSummary.h:33
Aws::Connect::Model::HierarchyGroupSummary::WithArn
HierarchyGroupSummary & WithArn(Aws::String &&value)
Definition: HierarchyGroupSummary.h:115
Aws::Connect::Model::HierarchyGroupSummary::WithName
HierarchyGroupSummary & WithName(const char *value)
Definition: HierarchyGroupSummary.h:161
Aws::Connect::Model::HierarchyGroupSummary::GetName
const Aws::String & GetName() const
Definition: HierarchyGroupSummary.h:126
Aws::Connect::Model::HierarchyGroupSummary::WithId
HierarchyGroupSummary & WithId(const char *value)
Definition: HierarchyGroupSummary.h:79
Aws::Connect::Model::HierarchyGroupSummary::SetId
void SetId(const Aws::String &value)
Definition: HierarchyGroupSummary.h:54
Aws::Connect::Model::HierarchyGroupSummary::SetId
void SetId(Aws::String &&value)
Definition: HierarchyGroupSummary.h:59
Aws::Connect::Model::HierarchyGroupSummary::SetArn
void SetArn(const char *value)
Definition: HierarchyGroupSummary.h:105
Aws::Connect::Model::HierarchyGroupSummary::HierarchyGroupSummary
HierarchyGroupSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::HierarchyGroupSummary::WithArn
HierarchyGroupSummary & WithArn(const Aws::String &value)
Definition: HierarchyGroupSummary.h:110
Aws::Connect::Model::HierarchyGroupSummary::GetArn
const Aws::String & GetArn() const
Definition: HierarchyGroupSummary.h:85
Aws::Connect::Model::HierarchyGroupSummary::GetId
const Aws::String & GetId() const
Definition: HierarchyGroupSummary.h:44
Aws::Connect::Model::HierarchyGroupSummary::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: HierarchyGroupSummary.h:90
Aws::Connect::Model::HierarchyGroupSummary::SetArn
void SetArn(Aws::String &&value)
Definition: HierarchyGroupSummary.h:100
Aws::Connect::Model::HierarchyGroupSummary::WithArn
HierarchyGroupSummary & WithArn(const char *value)
Definition: HierarchyGroupSummary.h:120
Aws::Connect::Model::HierarchyGroupSummary::WithName
HierarchyGroupSummary & WithName(Aws::String &&value)
Definition: HierarchyGroupSummary.h:156
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::HierarchyGroupSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::HierarchyGroupSummary::operator=
HierarchyGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::HierarchyGroupSummary::WithId
HierarchyGroupSummary & WithId(const Aws::String &value)
Definition: HierarchyGroupSummary.h:69
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::Connect::Model::HierarchyGroupSummary::SetName
void SetName(const Aws::String &value)
Definition: HierarchyGroupSummary.h:136
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::HierarchyGroupSummary::HierarchyGroupSummary
HierarchyGroupSummary()
Aws::Connect::Model::HierarchyGroupSummary::SetId
void SetId(const char *value)
Definition: HierarchyGroupSummary.h:64
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::HierarchyGroupSummary::WithId
HierarchyGroupSummary & WithId(Aws::String &&value)
Definition: HierarchyGroupSummary.h:74
Aws::Connect::Model::HierarchyGroupSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: HierarchyGroupSummary.h:49
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
Aws::Connect::Model::HierarchyGroupSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: HierarchyGroupSummary.h:131
Aws::Connect::Model::HierarchyGroupSummary::SetName
void SetName(Aws::String &&value)
Definition: HierarchyGroupSummary.h:141
Aws::Connect::Model::HierarchyGroupSummary::SetName
void SetName(const char *value)
Definition: HierarchyGroupSummary.h:146