7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/model/CheckProvider.h>
10#include <aws/wellarchitected/model/CheckStatus.h>
11#include <aws/wellarchitected/model/CheckFailureReason.h>
12#include <aws/core/utils/DateTime.h>
25namespace WellArchitected
51 template<
typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
53 template<
typename IdT = Aws::String>
63 template<
typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
65 template<
typename NameT = Aws::String>
75 template<
typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
77 template<
typename DescriptionT = Aws::String>
97 template<
typename LensArnT = Aws::String>
98 void SetLensArn(LensArnT&& value) { m_lensArnHasBeenSet =
true; m_lensArn = std::forward<LensArnT>(value); }
99 template<
typename LensArnT = Aws::String>
107 template<
typename PillarIdT = Aws::String>
108 void SetPillarId(PillarIdT&& value) { m_pillarIdHasBeenSet =
true; m_pillarId = std::forward<PillarIdT>(value); }
109 template<
typename PillarIdT = Aws::String>
117 template<
typename QuestionIdT = Aws::String>
118 void SetQuestionId(QuestionIdT&& value) { m_questionIdHasBeenSet =
true; m_questionId = std::forward<QuestionIdT>(value); }
119 template<
typename QuestionIdT = Aws::String>
127 template<
typename ChoiceIdT = Aws::String>
128 void SetChoiceId(ChoiceIdT&& value) { m_choiceIdHasBeenSet =
true; m_choiceId = std::forward<ChoiceIdT>(value); }
129 template<
typename ChoiceIdT = Aws::String>
147 template<
typename AccountIdT = Aws::String>
148 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
149 template<
typename AccountIdT = Aws::String>
159 inline void SetFlaggedResources(
int value) { m_flaggedResourcesHasBeenSet =
true; m_flaggedResources = value; }
177 template<
typename UpdatedAtT = Aws::Utils::DateTime>
178 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
179 template<
typename UpdatedAtT = Aws::Utils::DateTime>
185 bool m_idHasBeenSet =
false;
188 bool m_nameHasBeenSet =
false;
191 bool m_descriptionHasBeenSet =
false;
194 bool m_providerHasBeenSet =
false;
197 bool m_lensArnHasBeenSet =
false;
200 bool m_pillarIdHasBeenSet =
false;
203 bool m_questionIdHasBeenSet =
false;
206 bool m_choiceIdHasBeenSet =
false;
209 bool m_statusHasBeenSet =
false;
212 bool m_accountIdHasBeenSet =
false;
214 int m_flaggedResources{0};
215 bool m_flaggedResourcesHasBeenSet =
false;
218 bool m_reasonHasBeenSet =
false;
221 bool m_updatedAtHasBeenSet =
false;
void SetLensArn(LensArnT &&value)
CheckDetail & WithUpdatedAt(UpdatedAtT &&value)
bool DescriptionHasBeenSet() const
void SetChoiceId(ChoiceIdT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
CheckFailureReason GetReason() const
CheckDetail & WithFlaggedResources(int value)
AWS_WELLARCHITECTED_API CheckDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
CheckDetail & WithLensArn(LensArnT &&value)
const Aws::String & GetQuestionId() const
void SetPillarId(PillarIdT &&value)
bool AccountIdHasBeenSet() const
bool ReasonHasBeenSet() const
void SetFlaggedResources(int value)
bool UpdatedAtHasBeenSet() const
AWS_WELLARCHITECTED_API CheckDetail()=default
bool LensArnHasBeenSet() const
void SetProvider(CheckProvider value)
bool ProviderHasBeenSet() const
void SetReason(CheckFailureReason value)
void SetQuestionId(QuestionIdT &&value)
CheckProvider GetProvider() const
void SetStatus(CheckStatus value)
const Aws::String & GetDescription() const
const Aws::String & GetAccountId() const
bool ChoiceIdHasBeenSet() const
CheckDetail & WithPillarId(PillarIdT &&value)
CheckDetail & WithQuestionId(QuestionIdT &&value)
CheckDetail & WithReason(CheckFailureReason value)
CheckDetail & WithAccountId(AccountIdT &&value)
const Aws::String & GetLensArn() const
CheckStatus GetStatus() const
bool PillarIdHasBeenSet() const
bool StatusHasBeenSet() const
bool FlaggedResourcesHasBeenSet() const
const Aws::String & GetChoiceId() const
CheckDetail & WithId(IdT &&value)
int GetFlaggedResources() const
AWS_WELLARCHITECTED_API CheckDetail(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
CheckDetail & WithChoiceId(ChoiceIdT &&value)
void SetDescription(DescriptionT &&value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
CheckDetail & WithProvider(CheckProvider value)
CheckDetail & WithStatus(CheckStatus value)
void SetName(NameT &&value)
const Aws::String & GetName() const
void SetUpdatedAt(UpdatedAtT &&value)
void SetAccountId(AccountIdT &&value)
CheckDetail & WithDescription(DescriptionT &&value)
const Aws::String & GetPillarId() const
CheckDetail & WithName(NameT &&value)
bool NameHasBeenSet() const
bool QuestionIdHasBeenSet() const
const Aws::String & GetId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue