AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PermissionSetProvisioningStatus.h
1
6#pragma once
7#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sso-admin/model/StatusValues.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 SSOAdmin
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetAccountId() const{ return m_accountId; }
49 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
50 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
51 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
52 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
53 inline PermissionSetProvisioningStatus& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
54 inline PermissionSetProvisioningStatus& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
55 inline PermissionSetProvisioningStatus& WithAccountId(const char* value) { SetAccountId(value); return *this;}
57
59
62 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
63 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
64 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
65 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
67 inline PermissionSetProvisioningStatus& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
69
71
75 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
76 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
77 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
78 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
79 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
81 inline PermissionSetProvisioningStatus& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
82 inline PermissionSetProvisioningStatus& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
84
86
92 inline const Aws::String& GetPermissionSetArn() const{ return m_permissionSetArn; }
93 inline bool PermissionSetArnHasBeenSet() const { return m_permissionSetArnHasBeenSet; }
94 inline void SetPermissionSetArn(const Aws::String& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = value; }
95 inline void SetPermissionSetArn(Aws::String&& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = std::move(value); }
96 inline void SetPermissionSetArn(const char* value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn.assign(value); }
98 inline PermissionSetProvisioningStatus& WithPermissionSetArn(Aws::String&& value) { SetPermissionSetArn(std::move(value)); return *this;}
99 inline PermissionSetProvisioningStatus& WithPermissionSetArn(const char* value) { SetPermissionSetArn(value); return *this;}
101
103
107 inline const Aws::String& GetRequestId() const{ return m_requestId; }
108 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
109 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
110 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
111 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
112 inline PermissionSetProvisioningStatus& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
113 inline PermissionSetProvisioningStatus& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
114 inline PermissionSetProvisioningStatus& WithRequestId(const char* value) { SetRequestId(value); return *this;}
116
118
121 inline const StatusValues& GetStatus() const{ return m_status; }
122 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
123 inline void SetStatus(const StatusValues& value) { m_statusHasBeenSet = true; m_status = value; }
124 inline void SetStatus(StatusValues&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
125 inline PermissionSetProvisioningStatus& WithStatus(const StatusValues& value) { SetStatus(value); return *this;}
126 inline PermissionSetProvisioningStatus& WithStatus(StatusValues&& value) { SetStatus(std::move(value)); return *this;}
128 private:
129
130 Aws::String m_accountId;
131 bool m_accountIdHasBeenSet = false;
132
133 Aws::Utils::DateTime m_createdDate;
134 bool m_createdDateHasBeenSet = false;
135
136 Aws::String m_failureReason;
137 bool m_failureReasonHasBeenSet = false;
138
139 Aws::String m_permissionSetArn;
140 bool m_permissionSetArnHasBeenSet = false;
141
142 Aws::String m_requestId;
143 bool m_requestIdHasBeenSet = false;
144
145 StatusValues m_status;
146 bool m_statusHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace SSOAdmin
151} // namespace Aws
PermissionSetProvisioningStatus & WithPermissionSetArn(const Aws::String &value)
PermissionSetProvisioningStatus & WithPermissionSetArn(const char *value)
PermissionSetProvisioningStatus & WithRequestId(Aws::String &&value)
PermissionSetProvisioningStatus & WithAccountId(const Aws::String &value)
AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
PermissionSetProvisioningStatus & WithCreatedDate(Aws::Utils::DateTime &&value)
PermissionSetProvisioningStatus & WithAccountId(const char *value)
PermissionSetProvisioningStatus & WithStatus(StatusValues &&value)
PermissionSetProvisioningStatus & WithStatus(const StatusValues &value)
AWS_SSOADMIN_API PermissionSetProvisioningStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
PermissionSetProvisioningStatus & WithRequestId(const char *value)
PermissionSetProvisioningStatus & WithAccountId(Aws::String &&value)
PermissionSetProvisioningStatus & WithCreatedDate(const Aws::Utils::DateTime &value)
AWS_SSOADMIN_API PermissionSetProvisioningStatus(Aws::Utils::Json::JsonView jsonValue)
PermissionSetProvisioningStatus & WithFailureReason(const char *value)
PermissionSetProvisioningStatus & WithFailureReason(Aws::String &&value)
PermissionSetProvisioningStatus & WithFailureReason(const Aws::String &value)
PermissionSetProvisioningStatus & WithPermissionSetArn(Aws::String &&value)
PermissionSetProvisioningStatus & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue