AWS SDK for C++  1.9.154
AWS SDK for C++
NetworkSummary.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace ManagedBlockchain
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetId() const{ return m_id; }
47 
51  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
52 
56  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
57 
61  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
62 
66  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
67 
71  inline NetworkSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
72 
76  inline NetworkSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
77 
81  inline NetworkSummary& WithId(const char* value) { SetId(value); return *this;}
82 
83 
87  inline const Aws::String& GetName() const{ return m_name; }
88 
92  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
93 
97  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
98 
102  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
103 
107  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
108 
112  inline NetworkSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
113 
117  inline NetworkSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
118 
122  inline NetworkSummary& WithName(const char* value) { SetName(value); return *this;}
123 
124 
128  inline const Aws::String& GetDescription() const{ return m_description; }
129 
133  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
134 
138  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
139 
143  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
144 
148  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
149 
153  inline NetworkSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
154 
158  inline NetworkSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
159 
163  inline NetworkSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
164 
165 
169  inline const Framework& GetFramework() const{ return m_framework; }
170 
174  inline bool FrameworkHasBeenSet() const { return m_frameworkHasBeenSet; }
175 
179  inline void SetFramework(const Framework& value) { m_frameworkHasBeenSet = true; m_framework = value; }
180 
184  inline void SetFramework(Framework&& value) { m_frameworkHasBeenSet = true; m_framework = std::move(value); }
185 
189  inline NetworkSummary& WithFramework(const Framework& value) { SetFramework(value); return *this;}
190 
194  inline NetworkSummary& WithFramework(Framework&& value) { SetFramework(std::move(value)); return *this;}
195 
196 
200  inline const Aws::String& GetFrameworkVersion() const{ return m_frameworkVersion; }
201 
205  inline bool FrameworkVersionHasBeenSet() const { return m_frameworkVersionHasBeenSet; }
206 
210  inline void SetFrameworkVersion(const Aws::String& value) { m_frameworkVersionHasBeenSet = true; m_frameworkVersion = value; }
211 
215  inline void SetFrameworkVersion(Aws::String&& value) { m_frameworkVersionHasBeenSet = true; m_frameworkVersion = std::move(value); }
216 
220  inline void SetFrameworkVersion(const char* value) { m_frameworkVersionHasBeenSet = true; m_frameworkVersion.assign(value); }
221 
225  inline NetworkSummary& WithFrameworkVersion(const Aws::String& value) { SetFrameworkVersion(value); return *this;}
226 
230  inline NetworkSummary& WithFrameworkVersion(Aws::String&& value) { SetFrameworkVersion(std::move(value)); return *this;}
231 
235  inline NetworkSummary& WithFrameworkVersion(const char* value) { SetFrameworkVersion(value); return *this;}
236 
237 
241  inline const NetworkStatus& GetStatus() const{ return m_status; }
242 
246  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
247 
251  inline void SetStatus(const NetworkStatus& value) { m_statusHasBeenSet = true; m_status = value; }
252 
256  inline void SetStatus(NetworkStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
257 
261  inline NetworkSummary& WithStatus(const NetworkStatus& value) { SetStatus(value); return *this;}
262 
266  inline NetworkSummary& WithStatus(NetworkStatus&& value) { SetStatus(std::move(value)); return *this;}
267 
268 
272  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
273 
277  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
278 
282  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
283 
287  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
288 
292  inline NetworkSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
293 
297  inline NetworkSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
298 
299 
306  inline const Aws::String& GetArn() const{ return m_arn; }
307 
314  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
315 
322  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
323 
330  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
331 
338  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
339 
346  inline NetworkSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
347 
354  inline NetworkSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
355 
362  inline NetworkSummary& WithArn(const char* value) { SetArn(value); return *this;}
363 
364  private:
365 
366  Aws::String m_id;
367  bool m_idHasBeenSet;
368 
369  Aws::String m_name;
370  bool m_nameHasBeenSet;
371 
372  Aws::String m_description;
373  bool m_descriptionHasBeenSet;
374 
375  Framework m_framework;
376  bool m_frameworkHasBeenSet;
377 
378  Aws::String m_frameworkVersion;
379  bool m_frameworkVersionHasBeenSet;
380 
381  NetworkStatus m_status;
382  bool m_statusHasBeenSet;
383 
384  Aws::Utils::DateTime m_creationDate;
385  bool m_creationDateHasBeenSet;
386 
387  Aws::String m_arn;
388  bool m_arnHasBeenSet;
389  };
390 
391 } // namespace Model
392 } // namespace ManagedBlockchain
393 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::ManagedBlockchain::Model::NetworkSummary::WithId
NetworkSummary & WithId(Aws::String &&value)
Definition: NetworkSummary.h:76
Aws::ManagedBlockchain::Model::NetworkSummary::WithId
NetworkSummary & WithId(const char *value)
Definition: NetworkSummary.h:81
Aws::ManagedBlockchain::Model::NetworkSummary::SetFramework
void SetFramework(const Framework &value)
Definition: NetworkSummary.h:179
Aws::ManagedBlockchain::Model::NetworkSummary::WithId
NetworkSummary & WithId(const Aws::String &value)
Definition: NetworkSummary.h:71
Aws::ManagedBlockchain::Model::NetworkSummary::SetDescription
void SetDescription(const char *value)
Definition: NetworkSummary.h:148
Aws::ManagedBlockchain::Model::NetworkSummary::WithArn
NetworkSummary & WithArn(const Aws::String &value)
Definition: NetworkSummary.h:346
Aws::ManagedBlockchain::Model::NetworkSummary::WithCreationDate
NetworkSummary & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: NetworkSummary.h:292
Aws::ManagedBlockchain::Model::NetworkSummary::WithFrameworkVersion
NetworkSummary & WithFrameworkVersion(Aws::String &&value)
Definition: NetworkSummary.h:230
Aws::ManagedBlockchain::Model::NetworkSummary::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: NetworkSummary.h:314
Aws::ManagedBlockchain::Model::NetworkSummary::SetFramework
void SetFramework(Framework &&value)
Definition: NetworkSummary.h:184
Aws::ManagedBlockchain::Model::NetworkSummary::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: NetworkSummary.h:272
Aws::ManagedBlockchain::Model::NetworkSummary::SetStatus
void SetStatus(const NetworkStatus &value)
Definition: NetworkSummary.h:251
Aws::ManagedBlockchain::Model::NetworkSummary::SetFrameworkVersion
void SetFrameworkVersion(const Aws::String &value)
Definition: NetworkSummary.h:210
Aws::ManagedBlockchain::Model::NetworkSummary::SetId
void SetId(const char *value)
Definition: NetworkSummary.h:66
Aws::ManagedBlockchain::Model::NetworkSummary::GetFramework
const Framework & GetFramework() const
Definition: NetworkSummary.h:169
Aws::ManagedBlockchain::Model::NetworkSummary::WithArn
NetworkSummary & WithArn(Aws::String &&value)
Definition: NetworkSummary.h:354
Aws::ManagedBlockchain::Model::NetworkSummary::SetName
void SetName(const char *value)
Definition: NetworkSummary.h:107
NetworkStatus.h
DateTime.h
Aws::ManagedBlockchain::Model::NetworkSummary::WithCreationDate
NetworkSummary & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: NetworkSummary.h:297
Aws::ManagedBlockchain::Model::NetworkSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: NetworkSummary.h:92
Aws::ManagedBlockchain::Model::NetworkSummary::SetFrameworkVersion
void SetFrameworkVersion(Aws::String &&value)
Definition: NetworkSummary.h:215
Aws::ManagedBlockchain::Model::NetworkSummary::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: NetworkSummary.h:133
Aws::ManagedBlockchain::Model::NetworkSummary::NetworkSummary
NetworkSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::ManagedBlockchain::Model::NetworkSummary::SetStatus
void SetStatus(NetworkStatus &&value)
Definition: NetworkSummary.h:256
Aws::ManagedBlockchain::Model::NetworkSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ManagedBlockchain::Model::NetworkSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: NetworkSummary.h:51
Aws::ManagedBlockchain::Model::NetworkSummary::WithFramework
NetworkSummary & WithFramework(const Framework &value)
Definition: NetworkSummary.h:189
Aws::ManagedBlockchain::Model::NetworkSummary::FrameworkVersionHasBeenSet
bool FrameworkVersionHasBeenSet() const
Definition: NetworkSummary.h:205
Aws::ManagedBlockchain::Model::NetworkSummary::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: NetworkSummary.h:287
Aws::ManagedBlockchain::Model::NetworkSummary::WithArn
NetworkSummary & WithArn(const char *value)
Definition: NetworkSummary.h:362
Aws::ManagedBlockchain::Model::NetworkSummary::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: NetworkSummary.h:277
Aws::ManagedBlockchain::Model::NetworkSummary::WithName
NetworkSummary & WithName(const char *value)
Definition: NetworkSummary.h:122
Aws::ManagedBlockchain::Model::NetworkSummary::SetDescription
void SetDescription(Aws::String &&value)
Definition: NetworkSummary.h:143
Aws::ManagedBlockchain::Model::NetworkSummary
Definition: NetworkSummary.h:35
Aws::ManagedBlockchain::Model::NetworkSummary::SetName
void SetName(Aws::String &&value)
Definition: NetworkSummary.h:102
Aws::ManagedBlockchain::Model::NetworkSummary::GetFrameworkVersion
const Aws::String & GetFrameworkVersion() const
Definition: NetworkSummary.h:200
Aws::ManagedBlockchain::Model::NetworkSummary::SetArn
void SetArn(Aws::String &&value)
Definition: NetworkSummary.h:330
Aws::ManagedBlockchain::Model::NetworkSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: NetworkSummary.h:246
Framework.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ManagedBlockchain::Model::NetworkSummary::SetId
void SetId(const Aws::String &value)
Definition: NetworkSummary.h:56
Aws::ManagedBlockchain::Model::NetworkSummary::SetArn
void SetArn(const char *value)
Definition: NetworkSummary.h:338
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ManagedBlockchain::Model::NetworkSummary::GetDescription
const Aws::String & GetDescription() const
Definition: NetworkSummary.h:128
Aws::ManagedBlockchain::Model::NetworkSummary::GetStatus
const NetworkStatus & GetStatus() const
Definition: NetworkSummary.h:241
Aws::ManagedBlockchain::Model::NetworkSummary::WithFrameworkVersion
NetworkSummary & WithFrameworkVersion(const Aws::String &value)
Definition: NetworkSummary.h:225
Aws::ManagedBlockchain::Model::NetworkSummary::SetDescription
void SetDescription(const Aws::String &value)
Definition: NetworkSummary.h:138
Aws::ManagedBlockchain::Model::NetworkSummary::WithStatus
NetworkSummary & WithStatus(NetworkStatus &&value)
Definition: NetworkSummary.h:266
AWS_MANAGEDBLOCKCHAIN_API
#define AWS_MANAGEDBLOCKCHAIN_API
Definition: ManagedBlockchain_EXPORTS.h:28
Aws::ManagedBlockchain::Model::NetworkSummary::GetId
const Aws::String & GetId() const
Definition: NetworkSummary.h:46
Aws::ManagedBlockchain::Model::NetworkSummary::WithName
NetworkSummary & WithName(Aws::String &&value)
Definition: NetworkSummary.h:117
Aws::ManagedBlockchain::Model::NetworkSummary::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: NetworkSummary.h:282
Aws::ManagedBlockchain::Model::NetworkSummary::WithFramework
NetworkSummary & WithFramework(Framework &&value)
Definition: NetworkSummary.h:194
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ManagedBlockchain::Model::NetworkSummary::SetFrameworkVersion
void SetFrameworkVersion(const char *value)
Definition: NetworkSummary.h:220
Aws::ManagedBlockchain::Model::NetworkSummary::SetArn
void SetArn(const Aws::String &value)
Definition: NetworkSummary.h:322
ManagedBlockchain_EXPORTS.h
Aws::ManagedBlockchain::Model::Framework
Framework
Definition: Framework.h:17
Aws::ManagedBlockchain::Model::NetworkStatus
NetworkStatus
Definition: NetworkStatus.h:17
Aws::ManagedBlockchain::Model::NetworkSummary::SetName
void SetName(const Aws::String &value)
Definition: NetworkSummary.h:97
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ManagedBlockchain::Model::NetworkSummary::GetArn
const Aws::String & GetArn() const
Definition: NetworkSummary.h:306
Aws::ManagedBlockchain::Model::NetworkSummary::WithFrameworkVersion
NetworkSummary & WithFrameworkVersion(const char *value)
Definition: NetworkSummary.h:235
Aws::ManagedBlockchain::Model::NetworkSummary::NetworkSummary
NetworkSummary()
Aws::ManagedBlockchain::Model::NetworkSummary::WithDescription
NetworkSummary & WithDescription(const Aws::String &value)
Definition: NetworkSummary.h:153
Aws::ManagedBlockchain::Model::NetworkSummary::operator=
NetworkSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ManagedBlockchain::Model::NetworkSummary::FrameworkHasBeenSet
bool FrameworkHasBeenSet() const
Definition: NetworkSummary.h:174
Aws::ManagedBlockchain::Model::NetworkSummary::SetId
void SetId(Aws::String &&value)
Definition: NetworkSummary.h:61
Aws::ManagedBlockchain::Model::NetworkSummary::WithName
NetworkSummary & WithName(const Aws::String &value)
Definition: NetworkSummary.h:112
Aws::ManagedBlockchain::Model::NetworkSummary::WithDescription
NetworkSummary & WithDescription(const char *value)
Definition: NetworkSummary.h:163
Aws::ManagedBlockchain::Model::NetworkSummary::WithStatus
NetworkSummary & WithStatus(const NetworkStatus &value)
Definition: NetworkSummary.h:261
Aws::ManagedBlockchain::Model::NetworkSummary::WithDescription
NetworkSummary & WithDescription(Aws::String &&value)
Definition: NetworkSummary.h:158
Aws::ManagedBlockchain::Model::NetworkSummary::GetName
const Aws::String & GetName() const
Definition: NetworkSummary.h:87