AWS SDK for C++  1.9.108
AWS SDK for C++
PermissionSetProvisioningStatus.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 SSOAdmin
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const StatusValues& GetStatus() const{ return m_status; }
47 
51  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
52 
56  inline void SetStatus(const StatusValues& value) { m_statusHasBeenSet = true; m_status = value; }
57 
61  inline void SetStatus(StatusValues&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
62 
66  inline PermissionSetProvisioningStatus& WithStatus(const StatusValues& value) { SetStatus(value); return *this;}
67 
71  inline PermissionSetProvisioningStatus& WithStatus(StatusValues&& value) { SetStatus(std::move(value)); return *this;}
72 
73 
78  inline const Aws::String& GetRequestId() const{ return m_requestId; }
79 
84  inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
85 
90  inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
91 
96  inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
97 
102  inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
103 
108  inline PermissionSetProvisioningStatus& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
109 
114  inline PermissionSetProvisioningStatus& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
115 
120  inline PermissionSetProvisioningStatus& WithRequestId(const char* value) { SetRequestId(value); return *this;}
121 
122 
127  inline const Aws::String& GetAccountId() const{ return m_accountId; }
128 
133  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
134 
139  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
140 
145  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
146 
151  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
152 
157  inline PermissionSetProvisioningStatus& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
158 
163  inline PermissionSetProvisioningStatus& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
164 
169  inline PermissionSetProvisioningStatus& WithAccountId(const char* value) { SetAccountId(value); return *this;}
170 
171 
178  inline const Aws::String& GetPermissionSetArn() const{ return m_permissionSetArn; }
179 
186  inline bool PermissionSetArnHasBeenSet() const { return m_permissionSetArnHasBeenSet; }
187 
194  inline void SetPermissionSetArn(const Aws::String& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = value; }
195 
202  inline void SetPermissionSetArn(Aws::String&& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = std::move(value); }
203 
210  inline void SetPermissionSetArn(const char* value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn.assign(value); }
211 
218  inline PermissionSetProvisioningStatus& WithPermissionSetArn(const Aws::String& value) { SetPermissionSetArn(value); return *this;}
219 
226  inline PermissionSetProvisioningStatus& WithPermissionSetArn(Aws::String&& value) { SetPermissionSetArn(std::move(value)); return *this;}
227 
234  inline PermissionSetProvisioningStatus& WithPermissionSetArn(const char* value) { SetPermissionSetArn(value); return *this;}
235 
236 
241  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
242 
247  inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
248 
253  inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
254 
259  inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
260 
265  inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
266 
271  inline PermissionSetProvisioningStatus& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
272 
277  inline PermissionSetProvisioningStatus& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
278 
283  inline PermissionSetProvisioningStatus& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
284 
285 
289  inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
290 
294  inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
295 
299  inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
300 
304  inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
305 
309  inline PermissionSetProvisioningStatus& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
310 
314  inline PermissionSetProvisioningStatus& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
315 
316  private:
317 
318  StatusValues m_status;
319  bool m_statusHasBeenSet;
320 
321  Aws::String m_requestId;
322  bool m_requestIdHasBeenSet;
323 
324  Aws::String m_accountId;
325  bool m_accountIdHasBeenSet;
326 
327  Aws::String m_permissionSetArn;
328  bool m_permissionSetArnHasBeenSet;
329 
330  Aws::String m_failureReason;
331  bool m_failureReasonHasBeenSet;
332 
333  Aws::Utils::DateTime m_createdDate;
334  bool m_createdDateHasBeenSet;
335  };
336 
337 } // namespace Model
338 } // namespace SSOAdmin
339 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::WithPermissionSetArn
PermissionSetProvisioningStatus & WithPermissionSetArn(Aws::String &&value)
Definition: PermissionSetProvisioningStatus.h:226
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::WithAccountId
PermissionSetProvisioningStatus & WithAccountId(const char *value)
Definition: PermissionSetProvisioningStatus.h:169
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::operator=
PermissionSetProvisioningStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus
Definition: PermissionSetProvisioningStatus.h:35
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::PermissionSetProvisioningStatus
PermissionSetProvisioningStatus()
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::WithRequestId
PermissionSetProvisioningStatus & WithRequestId(Aws::String &&value)
Definition: PermissionSetProvisioningStatus.h:114
DateTime.h
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::SetPermissionSetArn
void SetPermissionSetArn(const Aws::String &value)
Definition: PermissionSetProvisioningStatus.h:194
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::SetRequestId
void SetRequestId(const char *value)
Definition: PermissionSetProvisioningStatus.h:102
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::SetPermissionSetArn
void SetPermissionSetArn(const char *value)
Definition: PermissionSetProvisioningStatus.h:210
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::SetAccountId
void SetAccountId(const char *value)
Definition: PermissionSetProvisioningStatus.h:151
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: PermissionSetProvisioningStatus.h:90
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::SetPermissionSetArn
void SetPermissionSetArn(Aws::String &&value)
Definition: PermissionSetProvisioningStatus.h:202
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::SetFailureReason
void SetFailureReason(const char *value)
Definition: PermissionSetProvisioningStatus.h:265
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::WithRequestId
PermissionSetProvisioningStatus & WithRequestId(const char *value)
Definition: PermissionSetProvisioningStatus.h:120
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::WithCreatedDate
PermissionSetProvisioningStatus & WithCreatedDate(Aws::Utils::DateTime &&value)
Definition: PermissionSetProvisioningStatus.h:314
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: PermissionSetProvisioningStatus.h:259
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::WithPermissionSetArn
PermissionSetProvisioningStatus & WithPermissionSetArn(const Aws::String &value)
Definition: PermissionSetProvisioningStatus.h:218
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: PermissionSetProvisioningStatus.h:139
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::WithFailureReason
PermissionSetProvisioningStatus & WithFailureReason(Aws::String &&value)
Definition: PermissionSetProvisioningStatus.h:277
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::GetStatus
const StatusValues & GetStatus() const
Definition: PermissionSetProvisioningStatus.h:46
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::WithAccountId
PermissionSetProvisioningStatus & WithAccountId(const Aws::String &value)
Definition: PermissionSetProvisioningStatus.h:157
Aws::SSOAdmin::Model::StatusValues
StatusValues
Definition: StatusValues.h:17
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::FailureReasonHasBeenSet
bool FailureReasonHasBeenSet() const
Definition: PermissionSetProvisioningStatus.h:247
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::WithAccountId
PermissionSetProvisioningStatus & WithAccountId(Aws::String &&value)
Definition: PermissionSetProvisioningStatus.h:163
AWSString.h
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: PermissionSetProvisioningStatus.h:96
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::PermissionSetProvisioningStatus
PermissionSetProvisioningStatus(Aws::Utils::Json::JsonView jsonValue)
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::WithCreatedDate
PermissionSetProvisioningStatus & WithCreatedDate(const Aws::Utils::DateTime &value)
Definition: PermissionSetProvisioningStatus.h:309
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::SetStatus
void SetStatus(const StatusValues &value)
Definition: PermissionSetProvisioningStatus.h:56
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: PermissionSetProvisioningStatus.h:241
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::WithRequestId
PermissionSetProvisioningStatus & WithRequestId(const Aws::String &value)
Definition: PermissionSetProvisioningStatus.h:108
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::WithStatus
PermissionSetProvisioningStatus & WithStatus(StatusValues &&value)
Definition: PermissionSetProvisioningStatus.h:71
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::GetCreatedDate
const Aws::Utils::DateTime & GetCreatedDate() const
Definition: PermissionSetProvisioningStatus.h:289
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::GetPermissionSetArn
const Aws::String & GetPermissionSetArn() const
Definition: PermissionSetProvisioningStatus.h:178
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::WithPermissionSetArn
PermissionSetProvisioningStatus & WithPermissionSetArn(const char *value)
Definition: PermissionSetProvisioningStatus.h:234
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::SetCreatedDate
void SetCreatedDate(const Aws::Utils::DateTime &value)
Definition: PermissionSetProvisioningStatus.h:299
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::SetCreatedDate
void SetCreatedDate(Aws::Utils::DateTime &&value)
Definition: PermissionSetProvisioningStatus.h:304
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: PermissionSetProvisioningStatus.h:133
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::RequestIdHasBeenSet
bool RequestIdHasBeenSet() const
Definition: PermissionSetProvisioningStatus.h:84
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: PermissionSetProvisioningStatus.h:253
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::WithStatus
PermissionSetProvisioningStatus & WithStatus(const StatusValues &value)
Definition: PermissionSetProvisioningStatus.h:66
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: PermissionSetProvisioningStatus.h:145
StatusValues.h
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::WithFailureReason
PermissionSetProvisioningStatus & WithFailureReason(const Aws::String &value)
Definition: PermissionSetProvisioningStatus.h:271
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: PermissionSetProvisioningStatus.h:51
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::SetStatus
void SetStatus(StatusValues &&value)
Definition: PermissionSetProvisioningStatus.h:61
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::WithFailureReason
PermissionSetProvisioningStatus & WithFailureReason(const char *value)
Definition: PermissionSetProvisioningStatus.h:283
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::GetRequestId
const Aws::String & GetRequestId() const
Definition: PermissionSetProvisioningStatus.h:78
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::PermissionSetArnHasBeenSet
bool PermissionSetArnHasBeenSet() const
Definition: PermissionSetProvisioningStatus.h:186
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::CreatedDateHasBeenSet
bool CreatedDateHasBeenSet() const
Definition: PermissionSetProvisioningStatus.h:294
Aws::SSOAdmin::Model::PermissionSetProvisioningStatus::GetAccountId
const Aws::String & GetAccountId() const
Definition: PermissionSetProvisioningStatus.h:127