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/wellarchitected/model/Risk.h>
23namespace WellArchitected
46 template<
typename PillarIdT = Aws::String>
47 void SetPillarId(PillarIdT&& value) { m_pillarIdHasBeenSet =
true; m_pillarId = std::forward<PillarIdT>(value); }
48 template<
typename PillarIdT = Aws::String>
56 template<
typename PillarNameT = Aws::String>
57 void SetPillarName(PillarNameT&& value) { m_pillarNameHasBeenSet =
true; m_pillarName = std::forward<PillarNameT>(value); }
58 template<
typename PillarNameT = Aws::String>
66 template<
typename NotesT = Aws::String>
67 void SetNotes(NotesT&& value) { m_notesHasBeenSet =
true; m_notes = std::forward<NotesT>(value); }
68 template<
typename NotesT = Aws::String>
76 template<
typename RiskCountsT = Aws::Map<Risk,
int>>
77 void SetRiskCounts(RiskCountsT&& value) { m_riskCountsHasBeenSet =
true; m_riskCounts = std::forward<RiskCountsT>(value); }
78 template<
typename RiskCountsT = Aws::Map<Risk,
int>>
81 m_riskCountsHasBeenSet =
true; m_riskCounts.emplace(key, value);
return *
this;
89 template<
typename PrioritizedRiskCountsT = Aws::Map<Risk,
int>>
90 void SetPrioritizedRiskCounts(PrioritizedRiskCountsT&& value) { m_prioritizedRiskCountsHasBeenSet =
true; m_prioritizedRiskCounts = std::forward<PrioritizedRiskCountsT>(value); }
91 template<
typename PrioritizedRiskCountsT = Aws::Map<Risk,
int>>
94 m_prioritizedRiskCountsHasBeenSet =
true; m_prioritizedRiskCounts.emplace(key, value);
return *
this;
100 bool m_pillarIdHasBeenSet =
false;
103 bool m_pillarNameHasBeenSet =
false;
106 bool m_notesHasBeenSet =
false;
109 bool m_riskCountsHasBeenSet =
false;
112 bool m_prioritizedRiskCountsHasBeenSet =
false;
void SetRiskCounts(RiskCountsT &&value)
PillarReviewSummary & WithPillarId(PillarIdT &&value)
void SetPillarId(PillarIdT &&value)
const Aws::Map< Risk, int > & GetPrioritizedRiskCounts() const
AWS_WELLARCHITECTED_API PillarReviewSummary()=default
PillarReviewSummary & WithPrioritizedRiskCounts(PrioritizedRiskCountsT &&value)
const Aws::String & GetPillarId() const
PillarReviewSummary & AddPrioritizedRiskCounts(Risk key, int value)
bool NotesHasBeenSet() const
AWS_WELLARCHITECTED_API PillarReviewSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetNotes() const
void SetNotes(NotesT &&value)
const Aws::String & GetPillarName() const
bool PillarNameHasBeenSet() const
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
bool PillarIdHasBeenSet() const
const Aws::Map< Risk, int > & GetRiskCounts() const
void SetPrioritizedRiskCounts(PrioritizedRiskCountsT &&value)
AWS_WELLARCHITECTED_API PillarReviewSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PrioritizedRiskCountsHasBeenSet() const
PillarReviewSummary & AddRiskCounts(Risk key, int value)
bool RiskCountsHasBeenSet() const
PillarReviewSummary & WithNotes(NotesT &&value)
void SetPillarName(PillarNameT &&value)
PillarReviewSummary & WithRiskCounts(RiskCountsT &&value)
PillarReviewSummary & WithPillarName(PillarNameT &&value)
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
Aws::Utils::Json::JsonValue JsonValue