/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Account details for a Well-Architected best practice in relation to Trusted
* Advisor checks.See Also:
AWS
* API Reference
Trusted Advisor check ID.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *Trusted Advisor check ID.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *Trusted Advisor check ID.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *Trusted Advisor check ID.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *Trusted Advisor check ID.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *Trusted Advisor check ID.
*/ inline CheckDetail& WithId(const Aws::String& value) { SetId(value); return *this;} /** *Trusted Advisor check ID.
*/ inline CheckDetail& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *Trusted Advisor check ID.
*/ inline CheckDetail& WithId(const char* value) { SetId(value); return *this;} /** *Trusted Advisor check name.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *Trusted Advisor check name.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *Trusted Advisor check name.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *Trusted Advisor check name.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *Trusted Advisor check name.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *Trusted Advisor check name.
*/ inline CheckDetail& WithName(const Aws::String& value) { SetName(value); return *this;} /** *Trusted Advisor check name.
*/ inline CheckDetail& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *Trusted Advisor check name.
*/ inline CheckDetail& WithName(const char* value) { SetName(value); return *this;} /** *Trusted Advisor check description.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *Trusted Advisor check description.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *Trusted Advisor check description.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *Trusted Advisor check description.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *Trusted Advisor check description.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *Trusted Advisor check description.
*/ inline CheckDetail& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *Trusted Advisor check description.
*/ inline CheckDetail& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *Trusted Advisor check description.
*/ inline CheckDetail& WithDescription(const char* value) { SetDescription(value); return *this;} /** *Provider of the check related to the best practice.
*/ inline const CheckProvider& GetProvider() const{ return m_provider; } /** *Provider of the check related to the best practice.
*/ inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; } /** *Provider of the check related to the best practice.
*/ inline void SetProvider(const CheckProvider& value) { m_providerHasBeenSet = true; m_provider = value; } /** *Provider of the check related to the best practice.
*/ inline void SetProvider(CheckProvider&& value) { m_providerHasBeenSet = true; m_provider = std::move(value); } /** *Provider of the check related to the best practice.
*/ inline CheckDetail& WithProvider(const CheckProvider& value) { SetProvider(value); return *this;} /** *Provider of the check related to the best practice.
*/ inline CheckDetail& WithProvider(CheckProvider&& value) { SetProvider(std::move(value)); return *this;} /** *Well-Architected Lens ARN associated to the check.
*/ inline const Aws::String& GetLensArn() const{ return m_lensArn; } /** *Well-Architected Lens ARN associated to the check.
*/ inline bool LensArnHasBeenSet() const { return m_lensArnHasBeenSet; } /** *Well-Architected Lens ARN associated to the check.
*/ inline void SetLensArn(const Aws::String& value) { m_lensArnHasBeenSet = true; m_lensArn = value; } /** *Well-Architected Lens ARN associated to the check.
*/ inline void SetLensArn(Aws::String&& value) { m_lensArnHasBeenSet = true; m_lensArn = std::move(value); } /** *Well-Architected Lens ARN associated to the check.
*/ inline void SetLensArn(const char* value) { m_lensArnHasBeenSet = true; m_lensArn.assign(value); } /** *Well-Architected Lens ARN associated to the check.
*/ inline CheckDetail& WithLensArn(const Aws::String& value) { SetLensArn(value); return *this;} /** *Well-Architected Lens ARN associated to the check.
*/ inline CheckDetail& WithLensArn(Aws::String&& value) { SetLensArn(std::move(value)); return *this;} /** *Well-Architected Lens ARN associated to the check.
*/ inline CheckDetail& WithLensArn(const char* value) { SetLensArn(value); return *this;} inline const Aws::String& GetPillarId() const{ return m_pillarId; } inline bool PillarIdHasBeenSet() const { return m_pillarIdHasBeenSet; } inline void SetPillarId(const Aws::String& value) { m_pillarIdHasBeenSet = true; m_pillarId = value; } inline void SetPillarId(Aws::String&& value) { m_pillarIdHasBeenSet = true; m_pillarId = std::move(value); } inline void SetPillarId(const char* value) { m_pillarIdHasBeenSet = true; m_pillarId.assign(value); } inline CheckDetail& WithPillarId(const Aws::String& value) { SetPillarId(value); return *this;} inline CheckDetail& WithPillarId(Aws::String&& value) { SetPillarId(std::move(value)); return *this;} inline CheckDetail& WithPillarId(const char* value) { SetPillarId(value); return *this;} inline const Aws::String& GetQuestionId() const{ return m_questionId; } inline bool QuestionIdHasBeenSet() const { return m_questionIdHasBeenSet; } inline void SetQuestionId(const Aws::String& value) { m_questionIdHasBeenSet = true; m_questionId = value; } inline void SetQuestionId(Aws::String&& value) { m_questionIdHasBeenSet = true; m_questionId = std::move(value); } inline void SetQuestionId(const char* value) { m_questionIdHasBeenSet = true; m_questionId.assign(value); } inline CheckDetail& WithQuestionId(const Aws::String& value) { SetQuestionId(value); return *this;} inline CheckDetail& WithQuestionId(Aws::String&& value) { SetQuestionId(std::move(value)); return *this;} inline CheckDetail& WithQuestionId(const char* value) { SetQuestionId(value); return *this;} inline const Aws::String& GetChoiceId() const{ return m_choiceId; } inline bool ChoiceIdHasBeenSet() const { return m_choiceIdHasBeenSet; } inline void SetChoiceId(const Aws::String& value) { m_choiceIdHasBeenSet = true; m_choiceId = value; } inline void SetChoiceId(Aws::String&& value) { m_choiceIdHasBeenSet = true; m_choiceId = std::move(value); } inline void SetChoiceId(const char* value) { m_choiceIdHasBeenSet = true; m_choiceId.assign(value); } inline CheckDetail& WithChoiceId(const Aws::String& value) { SetChoiceId(value); return *this;} inline CheckDetail& WithChoiceId(Aws::String&& value) { SetChoiceId(std::move(value)); return *this;} inline CheckDetail& WithChoiceId(const char* value) { SetChoiceId(value); return *this;} /** *Status associated to the check.
*/ inline const CheckStatus& GetStatus() const{ return m_status; } /** *Status associated to the check.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Status associated to the check.
*/ inline void SetStatus(const CheckStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *Status associated to the check.
*/ inline void SetStatus(CheckStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Status associated to the check.
*/ inline CheckDetail& WithStatus(const CheckStatus& value) { SetStatus(value); return *this;} /** *Status associated to the check.
*/ inline CheckDetail& WithStatus(CheckStatus&& value) { SetStatus(std::move(value)); return *this;} inline const Aws::String& GetAccountId() const{ return m_accountId; } inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } inline CheckDetail& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} inline CheckDetail& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} inline CheckDetail& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *Count of flagged resources associated to the check.
*/ inline int GetFlaggedResources() const{ return m_flaggedResources; } /** *Count of flagged resources associated to the check.
*/ inline bool FlaggedResourcesHasBeenSet() const { return m_flaggedResourcesHasBeenSet; } /** *Count of flagged resources associated to the check.
*/ inline void SetFlaggedResources(int value) { m_flaggedResourcesHasBeenSet = true; m_flaggedResources = value; } /** *Count of flagged resources associated to the check.
*/ inline CheckDetail& WithFlaggedResources(int value) { SetFlaggedResources(value); return *this;} /** *Reason associated to the check.
*/ inline const CheckFailureReason& GetReason() const{ return m_reason; } /** *Reason associated to the check.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *Reason associated to the check.
*/ inline void SetReason(const CheckFailureReason& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *Reason associated to the check.
*/ inline void SetReason(CheckFailureReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *Reason associated to the check.
*/ inline CheckDetail& WithReason(const CheckFailureReason& value) { SetReason(value); return *this;} /** *Reason associated to the check.
*/ inline CheckDetail& WithReason(CheckFailureReason&& value) { SetReason(std::move(value)); return *this;} inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } inline CheckDetail& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} inline CheckDetail& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(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; CheckProvider m_provider; bool m_providerHasBeenSet = false; Aws::String m_lensArn; bool m_lensArnHasBeenSet = false; Aws::String m_pillarId; bool m_pillarIdHasBeenSet = false; Aws::String m_questionId; bool m_questionIdHasBeenSet = false; Aws::String m_choiceId; bool m_choiceIdHasBeenSet = false; CheckStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_accountId; bool m_accountIdHasBeenSet = false; int m_flaggedResources; bool m_flaggedResourcesHasBeenSet = false; CheckFailureReason m_reason; bool m_reasonHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; }; } // namespace Model } // namespace WellArchitected } // namespace Aws