AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MemberSummary.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/MemberStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ManagedBlockchain
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_MANAGEDBLOCKCHAIN_API MemberSummary();
38 AWS_MANAGEDBLOCKCHAIN_API MemberSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MANAGEDBLOCKCHAIN_API MemberSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline MemberSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline MemberSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline MemberSummary& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline MemberSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline MemberSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline MemberSummary& WithName(const char* value) { SetName(value); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline MemberSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline MemberSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline MemberSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
110 inline const MemberStatus& GetStatus() const{ return m_status; }
111 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
112 inline void SetStatus(const MemberStatus& value) { m_statusHasBeenSet = true; m_status = value; }
113 inline void SetStatus(MemberStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
114 inline MemberSummary& WithStatus(const MemberStatus& value) { SetStatus(value); return *this;}
115 inline MemberSummary& WithStatus(MemberStatus&& value) { SetStatus(std::move(value)); return *this;}
117
119
122 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
123 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
124 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
125 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
126 inline MemberSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
127 inline MemberSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
129
131
135 inline bool GetIsOwned() const{ return m_isOwned; }
136 inline bool IsOwnedHasBeenSet() const { return m_isOwnedHasBeenSet; }
137 inline void SetIsOwned(bool value) { m_isOwnedHasBeenSet = true; m_isOwned = value; }
138 inline MemberSummary& WithIsOwned(bool value) { SetIsOwned(value); return *this;}
140
142
149 inline const Aws::String& GetArn() const{ return m_arn; }
150 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
151 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
152 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
153 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
154 inline MemberSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
155 inline MemberSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
156 inline MemberSummary& WithArn(const char* value) { SetArn(value); return *this;}
158 private:
159
160 Aws::String m_id;
161 bool m_idHasBeenSet = false;
162
163 Aws::String m_name;
164 bool m_nameHasBeenSet = false;
165
166 Aws::String m_description;
167 bool m_descriptionHasBeenSet = false;
168
169 MemberStatus m_status;
170 bool m_statusHasBeenSet = false;
171
172 Aws::Utils::DateTime m_creationDate;
173 bool m_creationDateHasBeenSet = false;
174
175 bool m_isOwned;
176 bool m_isOwnedHasBeenSet = false;
177
178 Aws::String m_arn;
179 bool m_arnHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace ManagedBlockchain
184} // namespace Aws
void SetId(const Aws::String &value)
void SetDescription(const Aws::String &value)
MemberSummary & WithStatus(const MemberStatus &value)
MemberSummary & WithDescription(const Aws::String &value)
MemberSummary & WithCreationDate(const Aws::Utils::DateTime &value)
MemberSummary & WithDescription(Aws::String &&value)
const Aws::String & GetDescription() const
AWS_MANAGEDBLOCKCHAIN_API MemberSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDBLOCKCHAIN_API MemberSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
MemberSummary & WithArn(Aws::String &&value)
MemberSummary & WithName(const Aws::String &value)
void SetStatus(const MemberStatus &value)
MemberSummary & WithId(const char *value)
MemberSummary & WithName(Aws::String &&value)
MemberSummary & WithId(Aws::String &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetArn(const Aws::String &value)
MemberSummary & WithId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationDate() const
MemberSummary & WithCreationDate(Aws::Utils::DateTime &&value)
MemberSummary & WithArn(const Aws::String &value)
MemberSummary & WithName(const char *value)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
MemberSummary & WithStatus(MemberStatus &&value)
void SetCreationDate(Aws::Utils::DateTime &&value)
MemberSummary & WithDescription(const char *value)
AWS_MANAGEDBLOCKCHAIN_API MemberSummary()
MemberSummary & WithArn(const char *value)
void SetName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue