7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
10#include <aws/wellarchitected/model/BestPractice.h>
11#include <aws/wellarchitected/model/Risk.h>
22namespace WellArchitected {
42 template <
typename QuestionIdT = Aws::String>
44 m_questionIdHasBeenSet =
true;
45 m_questionId = std::forward<QuestionIdT>(value);
47 template <
typename QuestionIdT = Aws::String>
59 m_riskHasBeenSet =
true;
75 template <
typename BestPracticesT = Aws::Vector<BestPractice>>
77 m_bestPracticesHasBeenSet =
true;
78 m_bestPractices = std::forward<BestPracticesT>(value);
80 template <
typename BestPracticesT = Aws::Vector<BestPractice>>
85 template <
typename BestPracticesT = BestPractice>
87 m_bestPracticesHasBeenSet =
true;
88 m_bestPractices.emplace_back(std::forward<BestPracticesT>(value));
98 bool m_questionIdHasBeenSet =
false;
99 bool m_riskHasBeenSet =
false;
100 bool m_bestPracticesHasBeenSet =
false;
AWS_WELLARCHITECTED_API QuestionMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
bool BestPracticesHasBeenSet() const
QuestionMetric & AddBestPractices(BestPracticesT &&value)
bool QuestionIdHasBeenSet() const
bool RiskHasBeenSet() const
const Aws::String & GetQuestionId() const
void SetQuestionId(QuestionIdT &&value)
AWS_WELLARCHITECTED_API QuestionMetric(Aws::Utils::Json::JsonView jsonValue)
void SetBestPractices(BestPracticesT &&value)
QuestionMetric & WithRisk(Risk value)
const Aws::Vector< BestPractice > & GetBestPractices() const
QuestionMetric & WithQuestionId(QuestionIdT &&value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WELLARCHITECTED_API QuestionMetric()=default
QuestionMetric & WithBestPractices(BestPracticesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue