/** * 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 Support { namespace Model { /** *

The description and metadata for a Trusted Advisor check.

See * Also:

AWS * API Reference

*/ class TrustedAdvisorCheckDescription { public: AWS_SUPPORT_API TrustedAdvisorCheckDescription(); AWS_SUPPORT_API TrustedAdvisorCheckDescription(Aws::Utils::Json::JsonView jsonValue); AWS_SUPPORT_API TrustedAdvisorCheckDescription& 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& GetId() const{ return m_id; } /** *

The unique identifier for the Trusted Advisor check.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The unique identifier for the Trusted Advisor check.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The unique identifier for the Trusted Advisor check.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The unique identifier for the Trusted Advisor check.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The unique identifier for the Trusted Advisor check.

*/ inline TrustedAdvisorCheckDescription& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The unique identifier for the Trusted Advisor check.

*/ inline TrustedAdvisorCheckDescription& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The unique identifier for the Trusted Advisor check.

*/ inline TrustedAdvisorCheckDescription& WithId(const char* value) { SetId(value); return *this;} /** *

The display name for the Trusted Advisor check.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The display name for the Trusted Advisor check.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The display name for the Trusted Advisor check.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The display name for the Trusted Advisor check.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The display name for the Trusted Advisor check.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The display name for the Trusted Advisor check.

*/ inline TrustedAdvisorCheckDescription& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The display name for the Trusted Advisor check.

*/ inline TrustedAdvisorCheckDescription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The display name for the Trusted Advisor check.

*/ inline TrustedAdvisorCheckDescription& WithName(const char* value) { SetName(value); return *this;} /** *

The description of the Trusted Advisor check, which includes the alert * criteria and recommended operations (contains HTML markup).

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the Trusted Advisor check, which includes the alert * criteria and recommended operations (contains HTML markup).

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the Trusted Advisor check, which includes the alert * criteria and recommended operations (contains HTML markup).

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the Trusted Advisor check, which includes the alert * criteria and recommended operations (contains HTML markup).

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the Trusted Advisor check, which includes the alert * criteria and recommended operations (contains HTML markup).

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the Trusted Advisor check, which includes the alert * criteria and recommended operations (contains HTML markup).

*/ inline TrustedAdvisorCheckDescription& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the Trusted Advisor check, which includes the alert * criteria and recommended operations (contains HTML markup).

*/ inline TrustedAdvisorCheckDescription& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the Trusted Advisor check, which includes the alert * criteria and recommended operations (contains HTML markup).

*/ inline TrustedAdvisorCheckDescription& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The category of the Trusted Advisor check.

*/ inline const Aws::String& GetCategory() const{ return m_category; } /** *

The category of the Trusted Advisor check.

*/ inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; } /** *

The category of the Trusted Advisor check.

*/ inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; } /** *

The category of the Trusted Advisor check.

*/ inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); } /** *

The category of the Trusted Advisor check.

*/ inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); } /** *

The category of the Trusted Advisor check.

*/ inline TrustedAdvisorCheckDescription& WithCategory(const Aws::String& value) { SetCategory(value); return *this;} /** *

The category of the Trusted Advisor check.

*/ inline TrustedAdvisorCheckDescription& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;} /** *

The category of the Trusted Advisor check.

*/ inline TrustedAdvisorCheckDescription& WithCategory(const char* value) { SetCategory(value); return *this;} /** *

The column headings for the data returned by the Trusted Advisor check. The * order of the headings corresponds to the order of the data in the * Metadata element of the TrustedAdvisorResourceDetail for the * check. Metadata contains all the data that is shown in the Excel * download, even in those cases where the UI shows just summary data.

*/ inline const Aws::Vector& GetMetadata() const{ return m_metadata; } /** *

The column headings for the data returned by the Trusted Advisor check. The * order of the headings corresponds to the order of the data in the * Metadata element of the TrustedAdvisorResourceDetail for the * check. Metadata contains all the data that is shown in the Excel * download, even in those cases where the UI shows just summary data.

*/ inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; } /** *

The column headings for the data returned by the Trusted Advisor check. The * order of the headings corresponds to the order of the data in the * Metadata element of the TrustedAdvisorResourceDetail for the * check. Metadata contains all the data that is shown in the Excel * download, even in those cases where the UI shows just summary data.

*/ inline void SetMetadata(const Aws::Vector& value) { m_metadataHasBeenSet = true; m_metadata = value; } /** *

The column headings for the data returned by the Trusted Advisor check. The * order of the headings corresponds to the order of the data in the * Metadata element of the TrustedAdvisorResourceDetail for the * check. Metadata contains all the data that is shown in the Excel * download, even in those cases where the UI shows just summary data.

*/ inline void SetMetadata(Aws::Vector&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); } /** *

The column headings for the data returned by the Trusted Advisor check. The * order of the headings corresponds to the order of the data in the * Metadata element of the TrustedAdvisorResourceDetail for the * check. Metadata contains all the data that is shown in the Excel * download, even in those cases where the UI shows just summary data.

*/ inline TrustedAdvisorCheckDescription& WithMetadata(const Aws::Vector& value) { SetMetadata(value); return *this;} /** *

The column headings for the data returned by the Trusted Advisor check. The * order of the headings corresponds to the order of the data in the * Metadata element of the TrustedAdvisorResourceDetail for the * check. Metadata contains all the data that is shown in the Excel * download, even in those cases where the UI shows just summary data.

*/ inline TrustedAdvisorCheckDescription& WithMetadata(Aws::Vector&& value) { SetMetadata(std::move(value)); return *this;} /** *

The column headings for the data returned by the Trusted Advisor check. The * order of the headings corresponds to the order of the data in the * Metadata element of the TrustedAdvisorResourceDetail for the * check. Metadata contains all the data that is shown in the Excel * download, even in those cases where the UI shows just summary data.

*/ inline TrustedAdvisorCheckDescription& AddMetadata(const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.push_back(value); return *this; } /** *

The column headings for the data returned by the Trusted Advisor check. The * order of the headings corresponds to the order of the data in the * Metadata element of the TrustedAdvisorResourceDetail for the * check. Metadata contains all the data that is shown in the Excel * download, even in those cases where the UI shows just summary data.

*/ inline TrustedAdvisorCheckDescription& AddMetadata(Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.push_back(std::move(value)); return *this; } /** *

The column headings for the data returned by the Trusted Advisor check. The * order of the headings corresponds to the order of the data in the * Metadata element of the TrustedAdvisorResourceDetail for the * check. Metadata contains all the data that is shown in the Excel * download, even in those cases where the UI shows just summary data.

*/ inline TrustedAdvisorCheckDescription& AddMetadata(const char* value) { m_metadataHasBeenSet = true; m_metadata.push_back(value); return *this; } private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_category; bool m_categoryHasBeenSet = false; Aws::Vector m_metadata; bool m_metadataHasBeenSet = false; }; } // namespace Model } // namespace Support } // namespace Aws