7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/wellarchitected/model/Risk.h>
12#include <aws/wellarchitected/model/QuestionMetric.h>
25namespace WellArchitected
48 template<
typename PillarIdT = Aws::String>
49 void SetPillarId(PillarIdT&& value) { m_pillarIdHasBeenSet =
true; m_pillarId = std::forward<PillarIdT>(value); }
50 template<
typename PillarIdT = Aws::String>
58 template<
typename RiskCountsT = Aws::Map<Risk,
int>>
59 void SetRiskCounts(RiskCountsT&& value) { m_riskCountsHasBeenSet =
true; m_riskCounts = std::forward<RiskCountsT>(value); }
60 template<
typename RiskCountsT = Aws::Map<Risk,
int>>
63 m_riskCountsHasBeenSet =
true; m_riskCounts.emplace(key, value);
return *
this;
73 template<
typename QuestionsT = Aws::Vector<QuestionMetric>>
74 void SetQuestions(QuestionsT&& value) { m_questionsHasBeenSet =
true; m_questions = std::forward<QuestionsT>(value); }
75 template<
typename QuestionsT = Aws::Vector<QuestionMetric>>
77 template<
typename QuestionsT = QuestionMetric>
78 PillarMetric&
AddQuestions(QuestionsT&& value) { m_questionsHasBeenSet =
true; m_questions.emplace_back(std::forward<QuestionsT>(value));
return *
this; }
83 bool m_pillarIdHasBeenSet =
false;
86 bool m_riskCountsHasBeenSet =
false;
89 bool m_questionsHasBeenSet =
false;
bool QuestionsHasBeenSet() const
const Aws::String & GetPillarId() const
AWS_WELLARCHITECTED_API PillarMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
PillarMetric & WithRiskCounts(RiskCountsT &&value)
PillarMetric & WithQuestions(QuestionsT &&value)
void SetRiskCounts(RiskCountsT &&value)
bool PillarIdHasBeenSet() const
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
PillarMetric & AddQuestions(QuestionsT &&value)
void SetPillarId(PillarIdT &&value)
PillarMetric & WithPillarId(PillarIdT &&value)
bool RiskCountsHasBeenSet() const
void SetQuestions(QuestionsT &&value)
AWS_WELLARCHITECTED_API PillarMetric()=default
PillarMetric & AddRiskCounts(Risk key, int value)
const Aws::Map< Risk, int > & GetRiskCounts() const
const Aws::Vector< QuestionMetric > & GetQuestions() const
AWS_WELLARCHITECTED_API PillarMetric(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue