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

The refresh status of a Trusted Advisor check.

See Also:

AWS * API Reference

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

The unique identifier for the Trusted Advisor check.

*/ inline const Aws::String& GetCheckId() const{ return m_checkId; } /** *

The unique identifier for the Trusted Advisor check.

*/ inline bool CheckIdHasBeenSet() const { return m_checkIdHasBeenSet; } /** *

The unique identifier for the Trusted Advisor check.

*/ inline void SetCheckId(const Aws::String& value) { m_checkIdHasBeenSet = true; m_checkId = value; } /** *

The unique identifier for the Trusted Advisor check.

*/ inline void SetCheckId(Aws::String&& value) { m_checkIdHasBeenSet = true; m_checkId = std::move(value); } /** *

The unique identifier for the Trusted Advisor check.

*/ inline void SetCheckId(const char* value) { m_checkIdHasBeenSet = true; m_checkId.assign(value); } /** *

The unique identifier for the Trusted Advisor check.

*/ inline TrustedAdvisorCheckRefreshStatus& WithCheckId(const Aws::String& value) { SetCheckId(value); return *this;} /** *

The unique identifier for the Trusted Advisor check.

*/ inline TrustedAdvisorCheckRefreshStatus& WithCheckId(Aws::String&& value) { SetCheckId(std::move(value)); return *this;} /** *

The unique identifier for the Trusted Advisor check.

*/ inline TrustedAdvisorCheckRefreshStatus& WithCheckId(const char* value) { SetCheckId(value); return *this;} /** *

The status of the Trusted Advisor check for which a refresh has been * requested:

  • none - The check is not refreshed or * the non-success status exceeds the timeout

  • * enqueued - The check refresh requests has entered the refresh * queue

  • processing - The check refresh request is * picked up by the rule processing engine

  • success * - The check is successfully refreshed

  • abandoned * - The check refresh has failed

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

The status of the Trusted Advisor check for which a refresh has been * requested:

  • none - The check is not refreshed or * the non-success status exceeds the timeout

  • * enqueued - The check refresh requests has entered the refresh * queue

  • processing - The check refresh request is * picked up by the rule processing engine

  • success * - The check is successfully refreshed

  • abandoned * - The check refresh has failed

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

The status of the Trusted Advisor check for which a refresh has been * requested:

  • none - The check is not refreshed or * the non-success status exceeds the timeout

  • * enqueued - The check refresh requests has entered the refresh * queue

  • processing - The check refresh request is * picked up by the rule processing engine

  • success * - The check is successfully refreshed

  • abandoned * - The check refresh has failed

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

The status of the Trusted Advisor check for which a refresh has been * requested:

  • none - The check is not refreshed or * the non-success status exceeds the timeout

  • * enqueued - The check refresh requests has entered the refresh * queue

  • processing - The check refresh request is * picked up by the rule processing engine

  • success * - The check is successfully refreshed

  • abandoned * - The check refresh has failed

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

The status of the Trusted Advisor check for which a refresh has been * requested:

  • none - The check is not refreshed or * the non-success status exceeds the timeout

  • * enqueued - The check refresh requests has entered the refresh * queue

  • processing - The check refresh request is * picked up by the rule processing engine

  • success * - The check is successfully refreshed

  • abandoned * - The check refresh has failed

*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *

The status of the Trusted Advisor check for which a refresh has been * requested:

  • none - The check is not refreshed or * the non-success status exceeds the timeout

  • * enqueued - The check refresh requests has entered the refresh * queue

  • processing - The check refresh request is * picked up by the rule processing engine

  • success * - The check is successfully refreshed

  • abandoned * - The check refresh has failed

*/ inline TrustedAdvisorCheckRefreshStatus& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

The status of the Trusted Advisor check for which a refresh has been * requested:

  • none - The check is not refreshed or * the non-success status exceeds the timeout

  • * enqueued - The check refresh requests has entered the refresh * queue

  • processing - The check refresh request is * picked up by the rule processing engine

  • success * - The check is successfully refreshed

  • abandoned * - The check refresh has failed

*/ inline TrustedAdvisorCheckRefreshStatus& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

The status of the Trusted Advisor check for which a refresh has been * requested:

  • none - The check is not refreshed or * the non-success status exceeds the timeout

  • * enqueued - The check refresh requests has entered the refresh * queue

  • processing - The check refresh request is * picked up by the rule processing engine

  • success * - The check is successfully refreshed

  • abandoned * - The check refresh has failed

*/ inline TrustedAdvisorCheckRefreshStatus& WithStatus(const char* value) { SetStatus(value); return *this;} /** *

The amount of time, in milliseconds, until the Trusted Advisor check is * eligible for refresh.

*/ inline long long GetMillisUntilNextRefreshable() const{ return m_millisUntilNextRefreshable; } /** *

The amount of time, in milliseconds, until the Trusted Advisor check is * eligible for refresh.

*/ inline bool MillisUntilNextRefreshableHasBeenSet() const { return m_millisUntilNextRefreshableHasBeenSet; } /** *

The amount of time, in milliseconds, until the Trusted Advisor check is * eligible for refresh.

*/ inline void SetMillisUntilNextRefreshable(long long value) { m_millisUntilNextRefreshableHasBeenSet = true; m_millisUntilNextRefreshable = value; } /** *

The amount of time, in milliseconds, until the Trusted Advisor check is * eligible for refresh.

*/ inline TrustedAdvisorCheckRefreshStatus& WithMillisUntilNextRefreshable(long long value) { SetMillisUntilNextRefreshable(value); return *this;} private: Aws::String m_checkId; bool m_checkIdHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; long long m_millisUntilNextRefreshable; bool m_millisUntilNextRefreshableHasBeenSet = false; }; } // namespace Model } // namespace Support } // namespace Aws