AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
Group.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/identitystore/IdentityStore_EXPORTS.h>
11#include <aws/identitystore/model/ExternalId.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IdentityStore {
23namespace Model {
24
31class Group {
32 public:
33 AWS_IDENTITYSTORE_API Group() = default;
34 AWS_IDENTITYSTORE_API Group(Aws::Utils::Json::JsonView jsonValue);
35 AWS_IDENTITYSTORE_API Group& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetIdentityStoreId() const { return m_identityStoreId; }
43 inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; }
44 template <typename IdentityStoreIdT = Aws::String>
45 void SetIdentityStoreId(IdentityStoreIdT&& value) {
46 m_identityStoreIdHasBeenSet = true;
47 m_identityStoreId = std::forward<IdentityStoreIdT>(value);
48 }
49 template <typename IdentityStoreIdT = Aws::String>
50 Group& WithIdentityStoreId(IdentityStoreIdT&& value) {
51 SetIdentityStoreId(std::forward<IdentityStoreIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetGroupId() const { return m_groupId; }
61 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
62 template <typename GroupIdT = Aws::String>
63 void SetGroupId(GroupIdT&& value) {
64 m_groupIdHasBeenSet = true;
65 m_groupId = std::forward<GroupIdT>(value);
66 }
67 template <typename GroupIdT = Aws::String>
68 Group& WithGroupId(GroupIdT&& value) {
69 SetGroupId(std::forward<GroupIdT>(value));
70 return *this;
71 }
73
75
80 inline const Aws::String& GetGroupArn() const { return m_groupArn; }
81 inline bool GroupArnHasBeenSet() const { return m_groupArnHasBeenSet; }
82 template <typename GroupArnT = Aws::String>
83 void SetGroupArn(GroupArnT&& value) {
84 m_groupArnHasBeenSet = true;
85 m_groupArn = std::forward<GroupArnT>(value);
86 }
87 template <typename GroupArnT = Aws::String>
88 Group& WithGroupArn(GroupArnT&& value) {
89 SetGroupArn(std::forward<GroupArnT>(value));
90 return *this;
91 }
93
95
102 inline const Aws::String& GetRevision() const { return m_revision; }
103 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
104 template <typename RevisionT = Aws::String>
105 void SetRevision(RevisionT&& value) {
106 m_revisionHasBeenSet = true;
107 m_revision = std::forward<RevisionT>(value);
108 }
109 template <typename RevisionT = Aws::String>
110 Group& WithRevision(RevisionT&& value) {
111 SetRevision(std::forward<RevisionT>(value));
112 return *this;
113 }
115
117
125 inline const Aws::String& GetDisplayName() const { return m_displayName; }
126 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
127 template <typename DisplayNameT = Aws::String>
128 void SetDisplayName(DisplayNameT&& value) {
129 m_displayNameHasBeenSet = true;
130 m_displayName = std::forward<DisplayNameT>(value);
131 }
132 template <typename DisplayNameT = Aws::String>
133 Group& WithDisplayName(DisplayNameT&& value) {
134 SetDisplayName(std::forward<DisplayNameT>(value));
135 return *this;
136 }
138
140
144 inline const Aws::Vector<ExternalId>& GetExternalIds() const { return m_externalIds; }
145 inline bool ExternalIdsHasBeenSet() const { return m_externalIdsHasBeenSet; }
146 template <typename ExternalIdsT = Aws::Vector<ExternalId>>
147 void SetExternalIds(ExternalIdsT&& value) {
148 m_externalIdsHasBeenSet = true;
149 m_externalIds = std::forward<ExternalIdsT>(value);
150 }
151 template <typename ExternalIdsT = Aws::Vector<ExternalId>>
152 Group& WithExternalIds(ExternalIdsT&& value) {
153 SetExternalIds(std::forward<ExternalIdsT>(value));
154 return *this;
155 }
156 template <typename ExternalIdsT = ExternalId>
157 Group& AddExternalIds(ExternalIdsT&& value) {
158 m_externalIdsHasBeenSet = true;
159 m_externalIds.emplace_back(std::forward<ExternalIdsT>(value));
160 return *this;
161 }
163
165
168 inline const Aws::String& GetDescription() const { return m_description; }
169 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
170 template <typename DescriptionT = Aws::String>
171 void SetDescription(DescriptionT&& value) {
172 m_descriptionHasBeenSet = true;
173 m_description = std::forward<DescriptionT>(value);
174 }
175 template <typename DescriptionT = Aws::String>
176 Group& WithDescription(DescriptionT&& value) {
177 SetDescription(std::forward<DescriptionT>(value));
178 return *this;
179 }
181
183
186 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
187 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
188 template <typename CreatedAtT = Aws::Utils::DateTime>
189 void SetCreatedAt(CreatedAtT&& value) {
190 m_createdAtHasBeenSet = true;
191 m_createdAt = std::forward<CreatedAtT>(value);
192 }
193 template <typename CreatedAtT = Aws::Utils::DateTime>
194 Group& WithCreatedAt(CreatedAtT&& value) {
195 SetCreatedAt(std::forward<CreatedAtT>(value));
196 return *this;
197 }
199
201
204 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
205 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
206 template <typename UpdatedAtT = Aws::Utils::DateTime>
207 void SetUpdatedAt(UpdatedAtT&& value) {
208 m_updatedAtHasBeenSet = true;
209 m_updatedAt = std::forward<UpdatedAtT>(value);
210 }
211 template <typename UpdatedAtT = Aws::Utils::DateTime>
212 Group& WithUpdatedAt(UpdatedAtT&& value) {
213 SetUpdatedAt(std::forward<UpdatedAtT>(value));
214 return *this;
215 }
217
219
222 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
223 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
224 template <typename CreatedByT = Aws::String>
225 void SetCreatedBy(CreatedByT&& value) {
226 m_createdByHasBeenSet = true;
227 m_createdBy = std::forward<CreatedByT>(value);
228 }
229 template <typename CreatedByT = Aws::String>
230 Group& WithCreatedBy(CreatedByT&& value) {
231 SetCreatedBy(std::forward<CreatedByT>(value));
232 return *this;
233 }
235
237
240 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
241 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
242 template <typename UpdatedByT = Aws::String>
243 void SetUpdatedBy(UpdatedByT&& value) {
244 m_updatedByHasBeenSet = true;
245 m_updatedBy = std::forward<UpdatedByT>(value);
246 }
247 template <typename UpdatedByT = Aws::String>
248 Group& WithUpdatedBy(UpdatedByT&& value) {
249 SetUpdatedBy(std::forward<UpdatedByT>(value));
250 return *this;
251 }
253 private:
254 Aws::String m_identityStoreId;
255
256 Aws::String m_groupId;
257
258 Aws::String m_groupArn;
259
260 Aws::String m_revision;
261
262 Aws::String m_displayName;
263
264 Aws::Vector<ExternalId> m_externalIds;
265
266 Aws::String m_description;
267
268 Aws::Utils::DateTime m_createdAt{};
269
270 Aws::Utils::DateTime m_updatedAt{};
271
272 Aws::String m_createdBy;
273
274 Aws::String m_updatedBy;
275 bool m_identityStoreIdHasBeenSet = false;
276 bool m_groupIdHasBeenSet = false;
277 bool m_groupArnHasBeenSet = false;
278 bool m_revisionHasBeenSet = false;
279 bool m_displayNameHasBeenSet = false;
280 bool m_externalIdsHasBeenSet = false;
281 bool m_descriptionHasBeenSet = false;
282 bool m_createdAtHasBeenSet = false;
283 bool m_updatedAtHasBeenSet = false;
284 bool m_createdByHasBeenSet = false;
285 bool m_updatedByHasBeenSet = false;
286};
287
288} // namespace Model
289} // namespace IdentityStore
290} // namespace Aws
bool CreatedAtHasBeenSet() const
Definition Group.h:187
Group & AddExternalIds(ExternalIdsT &&value)
Definition Group.h:157
const Aws::String & GetDisplayName() const
Definition Group.h:125
AWS_IDENTITYSTORE_API Group(Aws::Utils::Json::JsonView jsonValue)
void SetGroupArn(GroupArnT &&value)
Definition Group.h:83
Group & WithUpdatedAt(UpdatedAtT &&value)
Definition Group.h:212
bool ExternalIdsHasBeenSet() const
Definition Group.h:145
bool DescriptionHasBeenSet() const
Definition Group.h:169
Group & WithDescription(DescriptionT &&value)
Definition Group.h:176
Group & WithCreatedBy(CreatedByT &&value)
Definition Group.h:230
bool IdentityStoreIdHasBeenSet() const
Definition Group.h:43
bool UpdatedByHasBeenSet() const
Definition Group.h:241
Group & WithIdentityStoreId(IdentityStoreIdT &&value)
Definition Group.h:50
AWS_IDENTITYSTORE_API Group()=default
void SetDisplayName(DisplayNameT &&value)
Definition Group.h:128
Group & WithExternalIds(ExternalIdsT &&value)
Definition Group.h:152
Group & WithRevision(RevisionT &&value)
Definition Group.h:110
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Group.h:204
const Aws::String & GetIdentityStoreId() const
Definition Group.h:42
void SetIdentityStoreId(IdentityStoreIdT &&value)
Definition Group.h:45
const Aws::Vector< ExternalId > & GetExternalIds() const
Definition Group.h:144
void SetExternalIds(ExternalIdsT &&value)
Definition Group.h:147
Group & WithGroupId(GroupIdT &&value)
Definition Group.h:68
void SetUpdatedAt(UpdatedAtT &&value)
Definition Group.h:207
AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGroupId(GroupIdT &&value)
Definition Group.h:63
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Group.h:186
const Aws::String & GetGroupArn() const
Definition Group.h:80
void SetCreatedBy(CreatedByT &&value)
Definition Group.h:225
AWS_IDENTITYSTORE_API Group & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRevision() const
Definition Group.h:102
const Aws::String & GetUpdatedBy() const
Definition Group.h:240
bool DisplayNameHasBeenSet() const
Definition Group.h:126
const Aws::String & GetCreatedBy() const
Definition Group.h:222
bool GroupArnHasBeenSet() const
Definition Group.h:81
bool GroupIdHasBeenSet() const
Definition Group.h:61
Group & WithCreatedAt(CreatedAtT &&value)
Definition Group.h:194
Group & WithDisplayName(DisplayNameT &&value)
Definition Group.h:133
void SetCreatedAt(CreatedAtT &&value)
Definition Group.h:189
bool CreatedByHasBeenSet() const
Definition Group.h:223
void SetUpdatedBy(UpdatedByT &&value)
Definition Group.h:243
void SetRevision(RevisionT &&value)
Definition Group.h:105
const Aws::String & GetGroupId() const
Definition Group.h:60
void SetDescription(DescriptionT &&value)
Definition Group.h:171
Group & WithUpdatedBy(UpdatedByT &&value)
Definition Group.h:248
bool UpdatedAtHasBeenSet() const
Definition Group.h:205
Group & WithGroupArn(GroupArnT &&value)
Definition Group.h:88
const Aws::String & GetDescription() const
Definition Group.h:168
bool RevisionHasBeenSet() const
Definition Group.h:103
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue