AWS SDK for C++  1.9.154
AWS SDK for C++
NodeSummary.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace ManagedBlockchain
24 {
25 namespace Model
26 {
27 
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 NodeSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
72 
76  inline NodeSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
77 
81  inline NodeSummary& WithId(const char* value) { SetId(value); return *this;}
82 
83 
87  inline const NodeStatus& GetStatus() const{ return m_status; }
88 
92  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
93 
97  inline void SetStatus(const NodeStatus& value) { m_statusHasBeenSet = true; m_status = value; }
98 
102  inline void SetStatus(NodeStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
103 
107  inline NodeSummary& WithStatus(const NodeStatus& value) { SetStatus(value); return *this;}
108 
112  inline NodeSummary& WithStatus(NodeStatus&& value) { SetStatus(std::move(value)); return *this;}
113 
114 
118  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
119 
123  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
124 
128  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
129 
133  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
134 
138  inline NodeSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
139 
143  inline NodeSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
144 
145 
149  inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
150 
154  inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
155 
159  inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
160 
164  inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
165 
169  inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
170 
174  inline NodeSummary& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
175 
179  inline NodeSummary& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
180 
184  inline NodeSummary& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
185 
186 
190  inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
191 
195  inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
196 
200  inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
201 
205  inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
206 
210  inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
211 
215  inline NodeSummary& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
216 
220  inline NodeSummary& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
221 
225  inline NodeSummary& WithInstanceType(const char* value) { SetInstanceType(value); return *this;}
226 
227 
234  inline const Aws::String& GetArn() const{ return m_arn; }
235 
242  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
243 
250  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
251 
258  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
259 
266  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
267 
274  inline NodeSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
275 
282  inline NodeSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
283 
290  inline NodeSummary& WithArn(const char* value) { SetArn(value); return *this;}
291 
292  private:
293 
294  Aws::String m_id;
295  bool m_idHasBeenSet;
296 
297  NodeStatus m_status;
298  bool m_statusHasBeenSet;
299 
300  Aws::Utils::DateTime m_creationDate;
301  bool m_creationDateHasBeenSet;
302 
303  Aws::String m_availabilityZone;
304  bool m_availabilityZoneHasBeenSet;
305 
306  Aws::String m_instanceType;
307  bool m_instanceTypeHasBeenSet;
308 
309  Aws::String m_arn;
310  bool m_arnHasBeenSet;
311  };
312 
313 } // namespace Model
314 } // namespace ManagedBlockchain
315 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::ManagedBlockchain::Model::NodeSummary::WithArn
NodeSummary & WithArn(const char *value)
Definition: NodeSummary.h:290
Aws::ManagedBlockchain::Model::NodeSummary::SetAvailabilityZone
void SetAvailabilityZone(const char *value)
Definition: NodeSummary.h:169
Aws::ManagedBlockchain::Model::NodeSummary::SetId
void SetId(const Aws::String &value)
Definition: NodeSummary.h:56
Aws::ManagedBlockchain::Model::NodeStatus
NodeStatus
Definition: NodeStatus.h:17
Aws::ManagedBlockchain::Model::NodeSummary::NodeSummary
NodeSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::ManagedBlockchain::Model::NodeSummary::SetAvailabilityZone
void SetAvailabilityZone(Aws::String &&value)
Definition: NodeSummary.h:164
Aws::ManagedBlockchain::Model::NodeSummary::GetArn
const Aws::String & GetArn() const
Definition: NodeSummary.h:234
Aws::ManagedBlockchain::Model::NodeSummary::WithId
NodeSummary & WithId(const Aws::String &value)
Definition: NodeSummary.h:71
Aws::ManagedBlockchain::Model::NodeSummary::AvailabilityZoneHasBeenSet
bool AvailabilityZoneHasBeenSet() const
Definition: NodeSummary.h:154
Aws::ManagedBlockchain::Model::NodeSummary::SetInstanceType
void SetInstanceType(const char *value)
Definition: NodeSummary.h:210
Aws::ManagedBlockchain::Model::NodeSummary::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: NodeSummary.h:123
Aws::ManagedBlockchain::Model::NodeSummary::SetStatus
void SetStatus(const NodeStatus &value)
Definition: NodeSummary.h:97
DateTime.h
Aws::ManagedBlockchain::Model::NodeSummary::SetId
void SetId(Aws::String &&value)
Definition: NodeSummary.h:61
Aws::ManagedBlockchain::Model::NodeSummary::SetId
void SetId(const char *value)
Definition: NodeSummary.h:66
Aws::ManagedBlockchain::Model::NodeSummary
Definition: NodeSummary.h:35
Aws::ManagedBlockchain::Model::NodeSummary::WithId
NodeSummary & WithId(Aws::String &&value)
Definition: NodeSummary.h:76
NodeStatus.h
Aws::ManagedBlockchain::Model::NodeSummary::SetStatus
void SetStatus(NodeStatus &&value)
Definition: NodeSummary.h:102
Aws::ManagedBlockchain::Model::NodeSummary::WithArn
NodeSummary & WithArn(const Aws::String &value)
Definition: NodeSummary.h:274
Aws::ManagedBlockchain::Model::NodeSummary::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: NodeSummary.h:133
Aws::ManagedBlockchain::Model::NodeSummary::WithId
NodeSummary & WithId(const char *value)
Definition: NodeSummary.h:81
Aws::ManagedBlockchain::Model::NodeSummary::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: NodeSummary.h:242
Aws::ManagedBlockchain::Model::NodeSummary::GetStatus
const NodeStatus & GetStatus() const
Definition: NodeSummary.h:87
Aws::ManagedBlockchain::Model::NodeSummary::WithInstanceType
NodeSummary & WithInstanceType(Aws::String &&value)
Definition: NodeSummary.h:220
Aws::ManagedBlockchain::Model::NodeSummary::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: NodeSummary.h:118
Aws::ManagedBlockchain::Model::NodeSummary::WithAvailabilityZone
NodeSummary & WithAvailabilityZone(const Aws::String &value)
Definition: NodeSummary.h:174
Aws::ManagedBlockchain::Model::NodeSummary::GetAvailabilityZone
const Aws::String & GetAvailabilityZone() const
Definition: NodeSummary.h:149
Aws::ManagedBlockchain::Model::NodeSummary::operator=
NodeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ManagedBlockchain::Model::NodeSummary::SetAvailabilityZone
void SetAvailabilityZone(const Aws::String &value)
Definition: NodeSummary.h:159
Aws::ManagedBlockchain::Model::NodeSummary::NodeSummary
NodeSummary()
Aws::ManagedBlockchain::Model::NodeSummary::WithArn
NodeSummary & WithArn(Aws::String &&value)
Definition: NodeSummary.h:282
Aws::ManagedBlockchain::Model::NodeSummary::WithAvailabilityZone
NodeSummary & WithAvailabilityZone(const char *value)
Definition: NodeSummary.h:184
Aws::ManagedBlockchain::Model::NodeSummary::WithCreationDate
NodeSummary & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: NodeSummary.h:138
AWS_MANAGEDBLOCKCHAIN_API
#define AWS_MANAGEDBLOCKCHAIN_API
Definition: ManagedBlockchain_EXPORTS.h:28
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::ManagedBlockchain::Model::NodeSummary::GetId
const Aws::String & GetId() const
Definition: NodeSummary.h:46
Aws
Definition: AccessManagementClient.h:15
Aws::ManagedBlockchain::Model::NodeSummary::SetInstanceType
void SetInstanceType(Aws::String &&value)
Definition: NodeSummary.h:205
ManagedBlockchain_EXPORTS.h
Aws::ManagedBlockchain::Model::NodeSummary::SetArn
void SetArn(const char *value)
Definition: NodeSummary.h:266
Aws::ManagedBlockchain::Model::NodeSummary::WithCreationDate
NodeSummary & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: NodeSummary.h:143
Aws::ManagedBlockchain::Model::NodeSummary::WithInstanceType
NodeSummary & WithInstanceType(const char *value)
Definition: NodeSummary.h:225
Aws::ManagedBlockchain::Model::NodeSummary::SetInstanceType
void SetInstanceType(const Aws::String &value)
Definition: NodeSummary.h:200
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ManagedBlockchain::Model::NodeSummary::SetArn
void SetArn(const Aws::String &value)
Definition: NodeSummary.h:250
Aws::ManagedBlockchain::Model::NodeSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: NodeSummary.h:51
Aws::ManagedBlockchain::Model::NodeSummary::InstanceTypeHasBeenSet
bool InstanceTypeHasBeenSet() const
Definition: NodeSummary.h:195
Aws::ManagedBlockchain::Model::NodeSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: NodeSummary.h:92
Aws::ManagedBlockchain::Model::NodeSummary::WithInstanceType
NodeSummary & WithInstanceType(const Aws::String &value)
Definition: NodeSummary.h:215
Aws::ManagedBlockchain::Model::NodeSummary::WithStatus
NodeSummary & WithStatus(const NodeStatus &value)
Definition: NodeSummary.h:107
Aws::ManagedBlockchain::Model::NodeSummary::SetArn
void SetArn(Aws::String &&value)
Definition: NodeSummary.h:258
Aws::ManagedBlockchain::Model::NodeSummary::WithStatus
NodeSummary & WithStatus(NodeStatus &&value)
Definition: NodeSummary.h:112
Aws::ManagedBlockchain::Model::NodeSummary::WithAvailabilityZone
NodeSummary & WithAvailabilityZone(Aws::String &&value)
Definition: NodeSummary.h:179
Aws::ManagedBlockchain::Model::NodeSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ManagedBlockchain::Model::NodeSummary::GetInstanceType
const Aws::String & GetInstanceType() const
Definition: NodeSummary.h:190
Aws::ManagedBlockchain::Model::NodeSummary::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: NodeSummary.h:128