AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Member.h
1
6#pragma once
7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/managedblockchain/model/MemberFrameworkAttributes.h>
10#include <aws/managedblockchain/model/MemberLogPublishingConfiguration.h>
11#include <aws/managedblockchain/model/MemberStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace ManagedBlockchain
27{
28namespace Model
29{
30
37 class Member
38 {
39 public:
40 AWS_MANAGEDBLOCKCHAIN_API Member();
41 AWS_MANAGEDBLOCKCHAIN_API Member(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MANAGEDBLOCKCHAIN_API Member& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetNetworkId() const{ return m_networkId; }
51 inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
52 inline void SetNetworkId(const Aws::String& value) { m_networkIdHasBeenSet = true; m_networkId = value; }
53 inline void SetNetworkId(Aws::String&& value) { m_networkIdHasBeenSet = true; m_networkId = std::move(value); }
54 inline void SetNetworkId(const char* value) { m_networkIdHasBeenSet = true; m_networkId.assign(value); }
55 inline Member& WithNetworkId(const Aws::String& value) { SetNetworkId(value); return *this;}
56 inline Member& WithNetworkId(Aws::String&& value) { SetNetworkId(std::move(value)); return *this;}
57 inline Member& WithNetworkId(const char* value) { SetNetworkId(value); return *this;}
59
61
64 inline const Aws::String& GetId() const{ return m_id; }
65 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
66 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
67 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
68 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
69 inline Member& WithId(const Aws::String& value) { SetId(value); return *this;}
70 inline Member& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
71 inline Member& WithId(const char* value) { SetId(value); return *this;}
73
75
78 inline const Aws::String& GetName() const{ return m_name; }
79 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
80 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
81 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
82 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
83 inline Member& WithName(const Aws::String& value) { SetName(value); return *this;}
84 inline Member& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
85 inline Member& WithName(const char* value) { SetName(value); return *this;}
87
89
92 inline const Aws::String& GetDescription() const{ return m_description; }
93 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
94 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
95 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
96 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
97 inline Member& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
98 inline Member& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
99 inline Member& WithDescription(const char* value) { SetDescription(value); return *this;}
101
103
107 inline const MemberFrameworkAttributes& GetFrameworkAttributes() const{ return m_frameworkAttributes; }
108 inline bool FrameworkAttributesHasBeenSet() const { return m_frameworkAttributesHasBeenSet; }
109 inline void SetFrameworkAttributes(const MemberFrameworkAttributes& value) { m_frameworkAttributesHasBeenSet = true; m_frameworkAttributes = value; }
110 inline void SetFrameworkAttributes(MemberFrameworkAttributes&& value) { m_frameworkAttributesHasBeenSet = true; m_frameworkAttributes = std::move(value); }
112 inline Member& WithFrameworkAttributes(MemberFrameworkAttributes&& value) { SetFrameworkAttributes(std::move(value)); return *this;}
114
116
119 inline const MemberLogPublishingConfiguration& GetLogPublishingConfiguration() const{ return m_logPublishingConfiguration; }
120 inline bool LogPublishingConfigurationHasBeenSet() const { return m_logPublishingConfigurationHasBeenSet; }
121 inline void SetLogPublishingConfiguration(const MemberLogPublishingConfiguration& value) { m_logPublishingConfigurationHasBeenSet = true; m_logPublishingConfiguration = value; }
122 inline void SetLogPublishingConfiguration(MemberLogPublishingConfiguration&& value) { m_logPublishingConfigurationHasBeenSet = true; m_logPublishingConfiguration = std::move(value); }
126
128
152 inline const MemberStatus& GetStatus() const{ return m_status; }
153 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
154 inline void SetStatus(const MemberStatus& value) { m_statusHasBeenSet = true; m_status = value; }
155 inline void SetStatus(MemberStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
156 inline Member& WithStatus(const MemberStatus& value) { SetStatus(value); return *this;}
157 inline Member& WithStatus(MemberStatus&& value) { SetStatus(std::move(value)); return *this;}
159
161
164 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
165 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
166 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
167 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
168 inline Member& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
169 inline Member& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
171
173
183 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
184 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
185 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
186 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
187 inline Member& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
188 inline Member& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
189 inline Member& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
190 inline Member& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
191 inline Member& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
192 inline Member& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
193 inline Member& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
194 inline Member& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
195 inline Member& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
197
199
206 inline const Aws::String& GetArn() const{ return m_arn; }
207 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
208 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
209 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
210 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
211 inline Member& WithArn(const Aws::String& value) { SetArn(value); return *this;}
212 inline Member& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
213 inline Member& WithArn(const char* value) { SetArn(value); return *this;}
215
217
227 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
228 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
229 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
230 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
231 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
232 inline Member& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
233 inline Member& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
234 inline Member& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
236 private:
237
238 Aws::String m_networkId;
239 bool m_networkIdHasBeenSet = false;
240
241 Aws::String m_id;
242 bool m_idHasBeenSet = false;
243
244 Aws::String m_name;
245 bool m_nameHasBeenSet = false;
246
247 Aws::String m_description;
248 bool m_descriptionHasBeenSet = false;
249
250 MemberFrameworkAttributes m_frameworkAttributes;
251 bool m_frameworkAttributesHasBeenSet = false;
252
253 MemberLogPublishingConfiguration m_logPublishingConfiguration;
254 bool m_logPublishingConfigurationHasBeenSet = false;
255
256 MemberStatus m_status;
257 bool m_statusHasBeenSet = false;
258
259 Aws::Utils::DateTime m_creationDate;
260 bool m_creationDateHasBeenSet = false;
261
263 bool m_tagsHasBeenSet = false;
264
265 Aws::String m_arn;
266 bool m_arnHasBeenSet = false;
267
268 Aws::String m_kmsKeyArn;
269 bool m_kmsKeyArnHasBeenSet = false;
270 };
271
272} // namespace Model
273} // namespace ManagedBlockchain
274} // namespace Aws
Member & WithCreationDate(const Aws::Utils::DateTime &value)
Definition Member.h:168
const MemberLogPublishingConfiguration & GetLogPublishingConfiguration() const
Definition Member.h:119
const Aws::String & GetKmsKeyArn() const
Definition Member.h:227
Member & WithNetworkId(const char *value)
Definition Member.h:57
Member & WithName(const char *value)
Definition Member.h:85
void SetKmsKeyArn(const char *value)
Definition Member.h:231
void SetFrameworkAttributes(const MemberFrameworkAttributes &value)
Definition Member.h:109
void SetKmsKeyArn(Aws::String &&value)
Definition Member.h:230
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition Member.h:166
Member & WithKmsKeyArn(const Aws::String &value)
Definition Member.h:232
Member & WithNetworkId(const Aws::String &value)
Definition Member.h:55
bool LogPublishingConfigurationHasBeenSet() const
Definition Member.h:120
Member & WithLogPublishingConfiguration(MemberLogPublishingConfiguration &&value)
Definition Member.h:124
void SetId(const Aws::String &value)
Definition Member.h:66
Member & WithDescription(Aws::String &&value)
Definition Member.h:98
Member & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Member.h:187
Member & WithKmsKeyArn(Aws::String &&value)
Definition Member.h:233
void SetArn(const Aws::String &value)
Definition Member.h:208
const Aws::String & GetNetworkId() const
Definition Member.h:50
void SetDescription(const char *value)
Definition Member.h:96
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Member.h:183
const MemberStatus & GetStatus() const
Definition Member.h:152
void SetId(Aws::String &&value)
Definition Member.h:67
void SetKmsKeyArn(const Aws::String &value)
Definition Member.h:229
void SetName(const char *value)
Definition Member.h:82
Member & WithId(const Aws::String &value)
Definition Member.h:69
Member & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Member.h:188
void SetStatus(const MemberStatus &value)
Definition Member.h:154
Member & WithDescription(const char *value)
Definition Member.h:99
Member & WithName(const Aws::String &value)
Definition Member.h:83
Member & WithNetworkId(Aws::String &&value)
Definition Member.h:56
AWS_MANAGEDBLOCKCHAIN_API Member & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(MemberStatus &&value)
Definition Member.h:155
Member & AddTags(Aws::String &&key, const char *value)
Definition Member.h:194
Member & WithId(Aws::String &&value)
Definition Member.h:70
void SetNetworkId(const Aws::String &value)
Definition Member.h:52
void SetArn(Aws::String &&value)
Definition Member.h:209
Member & WithArn(Aws::String &&value)
Definition Member.h:212
Member & WithFrameworkAttributes(MemberFrameworkAttributes &&value)
Definition Member.h:112
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Member.h:185
void SetDescription(const Aws::String &value)
Definition Member.h:94
Member & WithStatus(const MemberStatus &value)
Definition Member.h:156
const Aws::String & GetName() const
Definition Member.h:78
void SetName(Aws::String &&value)
Definition Member.h:81
void SetDescription(Aws::String &&value)
Definition Member.h:95
Member & WithStatus(MemberStatus &&value)
Definition Member.h:157
Member & AddTags(Aws::String &&key, const Aws::String &value)
Definition Member.h:190
Member & WithDescription(const Aws::String &value)
Definition Member.h:97
Member & WithLogPublishingConfiguration(const MemberLogPublishingConfiguration &value)
Definition Member.h:123
void SetName(const Aws::String &value)
Definition Member.h:80
void SetNetworkId(const char *value)
Definition Member.h:54
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Member.h:186
const Aws::String & GetDescription() const
Definition Member.h:92
Member & AddTags(const char *key, Aws::String &&value)
Definition Member.h:193
AWS_MANAGEDBLOCKCHAIN_API Member()
const MemberFrameworkAttributes & GetFrameworkAttributes() const
Definition Member.h:107
Member & AddTags(Aws::String &&key, Aws::String &&value)
Definition Member.h:192
Member & WithKmsKeyArn(const char *value)
Definition Member.h:234
Member & AddTags(const Aws::String &key, const Aws::String &value)
Definition Member.h:189
Member & WithArn(const char *value)
Definition Member.h:213
Member & AddTags(const Aws::String &key, Aws::String &&value)
Definition Member.h:191
void SetLogPublishingConfiguration(const MemberLogPublishingConfiguration &value)
Definition Member.h:121
void SetId(const char *value)
Definition Member.h:68
const Aws::Utils::DateTime & GetCreationDate() const
Definition Member.h:164
Member & WithName(Aws::String &&value)
Definition Member.h:84
void SetArn(const char *value)
Definition Member.h:210
Member & WithFrameworkAttributes(const MemberFrameworkAttributes &value)
Definition Member.h:111
Member & WithArn(const Aws::String &value)
Definition Member.h:211
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetId() const
Definition Member.h:64
void SetLogPublishingConfiguration(MemberLogPublishingConfiguration &&value)
Definition Member.h:122
void SetFrameworkAttributes(MemberFrameworkAttributes &&value)
Definition Member.h:110
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition Member.h:167
void SetNetworkId(Aws::String &&value)
Definition Member.h:53
const Aws::String & GetArn() const
Definition Member.h:206
Member & WithId(const char *value)
Definition Member.h:71
Member & AddTags(const char *key, const char *value)
Definition Member.h:195
AWS_MANAGEDBLOCKCHAIN_API Member(Aws::Utils::Json::JsonView jsonValue)
Member & WithCreationDate(Aws::Utils::DateTime &&value)
Definition Member.h:169
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue