/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SSOAdmin { namespace Model { /** *

A structure that is used to provide the status of the provisioning operation * for a specified permission set.

See Also:

AWS * API Reference

*/ class PermissionSetProvisioningStatus { public: AWS_SSOADMIN_API PermissionSetProvisioningStatus(); AWS_SSOADMIN_API PermissionSetProvisioningStatus(Aws::Utils::Json::JsonView jsonValue); AWS_SSOADMIN_API PermissionSetProvisioningStatus& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The status of the permission set provisioning process.

*/ inline const StatusValues& GetStatus() const{ return m_status; } /** *

The status of the permission set provisioning process.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the permission set provisioning process.

*/ inline void SetStatus(const StatusValues& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the permission set provisioning process.

*/ inline void SetStatus(StatusValues&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the permission set provisioning process.

*/ inline PermissionSetProvisioningStatus& WithStatus(const StatusValues& value) { SetStatus(value); return *this;} /** *

The status of the permission set provisioning process.

*/ inline PermissionSetProvisioningStatus& WithStatus(StatusValues&& value) { SetStatus(std::move(value)); return *this;} /** *

The identifier for tracking the request operation that is generated by the * universally unique identifier (UUID) workflow.

*/ inline const Aws::String& GetRequestId() const{ return m_requestId; } /** *

The identifier for tracking the request operation that is generated by the * universally unique identifier (UUID) workflow.

*/ inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; } /** *

The identifier for tracking the request operation that is generated by the * universally unique identifier (UUID) workflow.

*/ inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; } /** *

The identifier for tracking the request operation that is generated by the * universally unique identifier (UUID) workflow.

*/ inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); } /** *

The identifier for tracking the request operation that is generated by the * universally unique identifier (UUID) workflow.

*/ inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); } /** *

The identifier for tracking the request operation that is generated by the * universally unique identifier (UUID) workflow.

*/ inline PermissionSetProvisioningStatus& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} /** *

The identifier for tracking the request operation that is generated by the * universally unique identifier (UUID) workflow.

*/ inline PermissionSetProvisioningStatus& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} /** *

The identifier for tracking the request operation that is generated by the * universally unique identifier (UUID) workflow.

*/ inline PermissionSetProvisioningStatus& WithRequestId(const char* value) { SetRequestId(value); return *this;} /** *

The identifier of the AWS account from which to list the assignments.

*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *

The identifier of the AWS account from which to list the assignments.

*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *

The identifier of the AWS account from which to list the assignments.

*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *

The identifier of the AWS account from which to list the assignments.

*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *

The identifier of the AWS account from which to list the assignments.

*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *

The identifier of the AWS account from which to list the assignments.

*/ inline PermissionSetProvisioningStatus& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *

The identifier of the AWS account from which to list the assignments.

*/ inline PermissionSetProvisioningStatus& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *

The identifier of the AWS account from which to list the assignments.

*/ inline PermissionSetProvisioningStatus& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *

The ARN of the permission set that is being provisioned. For more information * about ARNs, see Amazon * Resource Names (ARNs) and AWS Service Namespaces in the AWS General * Reference.

*/ inline const Aws::String& GetPermissionSetArn() const{ return m_permissionSetArn; } /** *

The ARN of the permission set that is being provisioned. For more information * about ARNs, see Amazon * Resource Names (ARNs) and AWS Service Namespaces in the AWS General * Reference.

*/ inline bool PermissionSetArnHasBeenSet() const { return m_permissionSetArnHasBeenSet; } /** *

The ARN of the permission set that is being provisioned. For more information * about ARNs, see Amazon * Resource Names (ARNs) and AWS Service Namespaces in the AWS General * Reference.

*/ inline void SetPermissionSetArn(const Aws::String& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = value; } /** *

The ARN of the permission set that is being provisioned. For more information * about ARNs, see Amazon * Resource Names (ARNs) and AWS Service Namespaces in the AWS General * Reference.

*/ inline void SetPermissionSetArn(Aws::String&& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = std::move(value); } /** *

The ARN of the permission set that is being provisioned. For more information * about ARNs, see Amazon * Resource Names (ARNs) and AWS Service Namespaces in the AWS General * Reference.

*/ inline void SetPermissionSetArn(const char* value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn.assign(value); } /** *

The ARN of the permission set that is being provisioned. For more information * about ARNs, see Amazon * Resource Names (ARNs) and AWS Service Namespaces in the AWS General * Reference.

*/ inline PermissionSetProvisioningStatus& WithPermissionSetArn(const Aws::String& value) { SetPermissionSetArn(value); return *this;} /** *

The ARN of the permission set that is being provisioned. For more information * about ARNs, see Amazon * Resource Names (ARNs) and AWS Service Namespaces in the AWS General * Reference.

*/ inline PermissionSetProvisioningStatus& WithPermissionSetArn(Aws::String&& value) { SetPermissionSetArn(std::move(value)); return *this;} /** *

The ARN of the permission set that is being provisioned. For more information * about ARNs, see Amazon * Resource Names (ARNs) and AWS Service Namespaces in the AWS General * Reference.

*/ inline PermissionSetProvisioningStatus& WithPermissionSetArn(const char* value) { SetPermissionSetArn(value); return *this;} /** *

The message that contains an error or exception in case of an operation * failure.

*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *

The message that contains an error or exception in case of an operation * failure.

*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *

The message that contains an error or exception in case of an operation * failure.

*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *

The message that contains an error or exception in case of an operation * failure.

*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *

The message that contains an error or exception in case of an operation * failure.

*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *

The message that contains an error or exception in case of an operation * failure.

*/ inline PermissionSetProvisioningStatus& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *

The message that contains an error or exception in case of an operation * failure.

*/ inline PermissionSetProvisioningStatus& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *

The message that contains an error or exception in case of an operation * failure.

*/ inline PermissionSetProvisioningStatus& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *

The date that the permission set was created.

*/ inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; } /** *

The date that the permission set was created.

*/ inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; } /** *

The date that the permission set was created.

*/ inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; } /** *

The date that the permission set was created.

*/ inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); } /** *

The date that the permission set was created.

*/ inline PermissionSetProvisioningStatus& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;} /** *

The date that the permission set was created.

*/ inline PermissionSetProvisioningStatus& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;} private: StatusValues m_status; bool m_statusHasBeenSet = false; Aws::String m_requestId; bool m_requestIdHasBeenSet = false; Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_permissionSetArn; bool m_permissionSetArnHasBeenSet = false; Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; Aws::Utils::DateTime m_createdDate; bool m_createdDateHasBeenSet = false; }; } // namespace Model } // namespace SSOAdmin } // namespace Aws