7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
11#include <aws/wellarchitected/model/QuestionMetric.h>
12#include <aws/wellarchitected/model/Risk.h>
23namespace WellArchitected {
42 template <
typename PillarIdT = Aws::String>
44 m_pillarIdHasBeenSet =
true;
45 m_pillarId = std::forward<PillarIdT>(value);
47 template <
typename PillarIdT = Aws::String>
58 template <
typename RiskCountsT = Aws::Map<Risk,
int>>
60 m_riskCountsHasBeenSet =
true;
61 m_riskCounts = std::forward<RiskCountsT>(value);
63 template <
typename RiskCountsT = Aws::Map<Risk,
int>>
69 m_riskCountsHasBeenSet =
true;
70 m_riskCounts.emplace(key, value);
81 template <
typename QuestionsT = Aws::Vector<QuestionMetric>>
83 m_questionsHasBeenSet =
true;
84 m_questions = std::forward<QuestionsT>(value);
86 template <
typename QuestionsT = Aws::Vector<QuestionMetric>>
91 template <
typename QuestionsT = QuestionMetric>
93 m_questionsHasBeenSet =
true;
94 m_questions.emplace_back(std::forward<QuestionsT>(value));
100 bool m_pillarIdHasBeenSet =
false;
103 bool m_riskCountsHasBeenSet =
false;
106 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