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

An object that contains information about your account details * review.

See Also:

AWS * API Reference

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

The status of the latest review of your account. The status can be one of the * following:

  • PENDING – We have received your appeal * and are in the process of reviewing it.

  • GRANTED * – Your appeal has been reviewed and your production access has been granted.

    *
  • DENIED – Your appeal has been reviewed and your * production access has been denied.

  • FAILED – An * internal error occurred and we didn't receive your appeal. You can submit your * appeal again.

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

The status of the latest review of your account. The status can be one of the * following:

  • PENDING – We have received your appeal * and are in the process of reviewing it.

  • GRANTED * – Your appeal has been reviewed and your production access has been granted.

    *
  • DENIED – Your appeal has been reviewed and your * production access has been denied.

  • FAILED – An * internal error occurred and we didn't receive your appeal. You can submit your * appeal again.

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

The status of the latest review of your account. The status can be one of the * following:

  • PENDING – We have received your appeal * and are in the process of reviewing it.

  • GRANTED * – Your appeal has been reviewed and your production access has been granted.

    *
  • DENIED – Your appeal has been reviewed and your * production access has been denied.

  • FAILED – An * internal error occurred and we didn't receive your appeal. You can submit your * appeal again.

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

The status of the latest review of your account. The status can be one of the * following:

  • PENDING – We have received your appeal * and are in the process of reviewing it.

  • GRANTED * – Your appeal has been reviewed and your production access has been granted.

    *
  • DENIED – Your appeal has been reviewed and your * production access has been denied.

  • FAILED – An * internal error occurred and we didn't receive your appeal. You can submit your * appeal again.

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

The status of the latest review of your account. The status can be one of the * following:

  • PENDING – We have received your appeal * and are in the process of reviewing it.

  • GRANTED * – Your appeal has been reviewed and your production access has been granted.

    *
  • DENIED – Your appeal has been reviewed and your * production access has been denied.

  • FAILED – An * internal error occurred and we didn't receive your appeal. You can submit your * appeal again.

*/ inline ReviewDetails& WithStatus(const ReviewStatus& value) { SetStatus(value); return *this;} /** *

The status of the latest review of your account. The status can be one of the * following:

  • PENDING – We have received your appeal * and are in the process of reviewing it.

  • GRANTED * – Your appeal has been reviewed and your production access has been granted.

    *
  • DENIED – Your appeal has been reviewed and your * production access has been denied.

  • FAILED – An * internal error occurred and we didn't receive your appeal. You can submit your * appeal again.

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

The associated support center case ID (if any).

*/ inline const Aws::String& GetCaseId() const{ return m_caseId; } /** *

The associated support center case ID (if any).

*/ inline bool CaseIdHasBeenSet() const { return m_caseIdHasBeenSet; } /** *

The associated support center case ID (if any).

*/ inline void SetCaseId(const Aws::String& value) { m_caseIdHasBeenSet = true; m_caseId = value; } /** *

The associated support center case ID (if any).

*/ inline void SetCaseId(Aws::String&& value) { m_caseIdHasBeenSet = true; m_caseId = std::move(value); } /** *

The associated support center case ID (if any).

*/ inline void SetCaseId(const char* value) { m_caseIdHasBeenSet = true; m_caseId.assign(value); } /** *

The associated support center case ID (if any).

*/ inline ReviewDetails& WithCaseId(const Aws::String& value) { SetCaseId(value); return *this;} /** *

The associated support center case ID (if any).

*/ inline ReviewDetails& WithCaseId(Aws::String&& value) { SetCaseId(std::move(value)); return *this;} /** *

The associated support center case ID (if any).

*/ inline ReviewDetails& WithCaseId(const char* value) { SetCaseId(value); return *this;} private: ReviewStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_caseId; bool m_caseIdHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws