AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
DescribeGroupResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/identitystore/IdentityStore_EXPORTS.h>
12#include <aws/identitystore/model/ExternalId.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IdentityStore {
26namespace Model {
28 public:
29 AWS_IDENTITYSTORE_API DescribeGroupResult() = default;
32
34
37 inline const Aws::String& GetIdentityStoreId() const { return m_identityStoreId; }
38 template <typename IdentityStoreIdT = Aws::String>
39 void SetIdentityStoreId(IdentityStoreIdT&& value) {
40 m_identityStoreIdHasBeenSet = true;
41 m_identityStoreId = std::forward<IdentityStoreIdT>(value);
42 }
43 template <typename IdentityStoreIdT = Aws::String>
44 DescribeGroupResult& WithIdentityStoreId(IdentityStoreIdT&& value) {
45 SetIdentityStoreId(std::forward<IdentityStoreIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetGroupId() const { return m_groupId; }
55 template <typename GroupIdT = Aws::String>
56 void SetGroupId(GroupIdT&& value) {
57 m_groupIdHasBeenSet = true;
58 m_groupId = std::forward<GroupIdT>(value);
59 }
60 template <typename GroupIdT = Aws::String>
61 DescribeGroupResult& WithGroupId(GroupIdT&& value) {
62 SetGroupId(std::forward<GroupIdT>(value));
63 return *this;
64 }
66
68
73 inline const Aws::String& GetGroupArn() const { return m_groupArn; }
74 template <typename GroupArnT = Aws::String>
75 void SetGroupArn(GroupArnT&& value) {
76 m_groupArnHasBeenSet = true;
77 m_groupArn = std::forward<GroupArnT>(value);
78 }
79 template <typename GroupArnT = Aws::String>
80 DescribeGroupResult& WithGroupArn(GroupArnT&& value) {
81 SetGroupArn(std::forward<GroupArnT>(value));
82 return *this;
83 }
85
87
91 inline const Aws::String& GetRevision() const { return m_revision; }
92 template <typename RevisionT = Aws::String>
93 void SetRevision(RevisionT&& value) {
94 m_revisionHasBeenSet = true;
95 m_revision = std::forward<RevisionT>(value);
96 }
97 template <typename RevisionT = Aws::String>
98 DescribeGroupResult& WithRevision(RevisionT&& value) {
99 SetRevision(std::forward<RevisionT>(value));
100 return *this;
101 }
103
105
112 inline const Aws::String& GetDisplayName() const { return m_displayName; }
113 template <typename DisplayNameT = Aws::String>
114 void SetDisplayName(DisplayNameT&& value) {
115 m_displayNameHasBeenSet = true;
116 m_displayName = std::forward<DisplayNameT>(value);
117 }
118 template <typename DisplayNameT = Aws::String>
119 DescribeGroupResult& WithDisplayName(DisplayNameT&& value) {
120 SetDisplayName(std::forward<DisplayNameT>(value));
121 return *this;
122 }
124
126
130 inline const Aws::Vector<ExternalId>& GetExternalIds() const { return m_externalIds; }
131 template <typename ExternalIdsT = Aws::Vector<ExternalId>>
132 void SetExternalIds(ExternalIdsT&& value) {
133 m_externalIdsHasBeenSet = true;
134 m_externalIds = std::forward<ExternalIdsT>(value);
135 }
136 template <typename ExternalIdsT = Aws::Vector<ExternalId>>
137 DescribeGroupResult& WithExternalIds(ExternalIdsT&& value) {
138 SetExternalIds(std::forward<ExternalIdsT>(value));
139 return *this;
140 }
141 template <typename ExternalIdsT = ExternalId>
142 DescribeGroupResult& AddExternalIds(ExternalIdsT&& value) {
143 m_externalIdsHasBeenSet = true;
144 m_externalIds.emplace_back(std::forward<ExternalIdsT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::String& GetDescription() const { return m_description; }
154 template <typename DescriptionT = Aws::String>
155 void SetDescription(DescriptionT&& value) {
156 m_descriptionHasBeenSet = true;
157 m_description = std::forward<DescriptionT>(value);
158 }
159 template <typename DescriptionT = Aws::String>
160 DescribeGroupResult& WithDescription(DescriptionT&& value) {
161 SetDescription(std::forward<DescriptionT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
171 template <typename CreatedAtT = Aws::Utils::DateTime>
172 void SetCreatedAt(CreatedAtT&& value) {
173 m_createdAtHasBeenSet = true;
174 m_createdAt = std::forward<CreatedAtT>(value);
175 }
176 template <typename CreatedAtT = Aws::Utils::DateTime>
177 DescribeGroupResult& WithCreatedAt(CreatedAtT&& value) {
178 SetCreatedAt(std::forward<CreatedAtT>(value));
179 return *this;
180 }
182
184
187 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
188 template <typename UpdatedAtT = Aws::Utils::DateTime>
189 void SetUpdatedAt(UpdatedAtT&& value) {
190 m_updatedAtHasBeenSet = true;
191 m_updatedAt = std::forward<UpdatedAtT>(value);
192 }
193 template <typename UpdatedAtT = Aws::Utils::DateTime>
194 DescribeGroupResult& WithUpdatedAt(UpdatedAtT&& value) {
195 SetUpdatedAt(std::forward<UpdatedAtT>(value));
196 return *this;
197 }
199
201
204 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
205 template <typename CreatedByT = Aws::String>
206 void SetCreatedBy(CreatedByT&& value) {
207 m_createdByHasBeenSet = true;
208 m_createdBy = std::forward<CreatedByT>(value);
209 }
210 template <typename CreatedByT = Aws::String>
211 DescribeGroupResult& WithCreatedBy(CreatedByT&& value) {
212 SetCreatedBy(std::forward<CreatedByT>(value));
213 return *this;
214 }
216
218
221 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
222 template <typename UpdatedByT = Aws::String>
223 void SetUpdatedBy(UpdatedByT&& value) {
224 m_updatedByHasBeenSet = true;
225 m_updatedBy = std::forward<UpdatedByT>(value);
226 }
227 template <typename UpdatedByT = Aws::String>
228 DescribeGroupResult& WithUpdatedBy(UpdatedByT&& value) {
229 SetUpdatedBy(std::forward<UpdatedByT>(value));
230 return *this;
231 }
233
235
236 inline const Aws::String& GetRequestId() const { return m_requestId; }
237 template <typename RequestIdT = Aws::String>
238 void SetRequestId(RequestIdT&& value) {
239 m_requestIdHasBeenSet = true;
240 m_requestId = std::forward<RequestIdT>(value);
241 }
242 template <typename RequestIdT = Aws::String>
243 DescribeGroupResult& WithRequestId(RequestIdT&& value) {
244 SetRequestId(std::forward<RequestIdT>(value));
245 return *this;
246 }
248 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
249
250 private:
251 Aws::String m_identityStoreId;
252
253 Aws::String m_groupId;
254
255 Aws::String m_groupArn;
256
257 Aws::String m_revision;
258
259 Aws::String m_displayName;
260
261 Aws::Vector<ExternalId> m_externalIds;
262
263 Aws::String m_description;
264
265 Aws::Utils::DateTime m_createdAt{};
266
267 Aws::Utils::DateTime m_updatedAt{};
268
269 Aws::String m_createdBy;
270
271 Aws::String m_updatedBy;
272
273 Aws::String m_requestId;
274 Aws::Http::HttpResponseCode m_HttpResponseCode;
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 bool m_requestIdHasBeenSet = false;
287};
288
289} // namespace Model
290} // namespace IdentityStore
291} // namespace Aws
DescribeGroupResult & WithDescription(DescriptionT &&value)
DescribeGroupResult & WithExternalIds(ExternalIdsT &&value)
DescribeGroupResult & WithGroupId(GroupIdT &&value)
AWS_IDENTITYSTORE_API DescribeGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedAt() const
DescribeGroupResult & AddExternalIds(ExternalIdsT &&value)
DescribeGroupResult & WithRequestId(RequestIdT &&value)
DescribeGroupResult & WithCreatedAt(CreatedAtT &&value)
DescribeGroupResult & WithIdentityStoreId(IdentityStoreIdT &&value)
const Aws::Vector< ExternalId > & GetExternalIds() const
const Aws::Utils::DateTime & GetUpdatedAt() const
DescribeGroupResult & WithGroupArn(GroupArnT &&value)
DescribeGroupResult & WithDisplayName(DisplayNameT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeGroupResult & WithUpdatedAt(UpdatedAtT &&value)
DescribeGroupResult & WithUpdatedBy(UpdatedByT &&value)
DescribeGroupResult & WithRevision(RevisionT &&value)
AWS_IDENTITYSTORE_API DescribeGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeGroupResult & WithCreatedBy(CreatedByT &&value)
void SetIdentityStoreId(IdentityStoreIdT &&value)
AWS_IDENTITYSTORE_API DescribeGroupResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue