AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
ReviewTemplatePillarReviewSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
10#include <aws/wellarchitected/model/Question.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WellArchitected {
22namespace Model {
23
30 public:
31 AWS_WELLARCHITECTED_API ReviewTemplatePillarReviewSummary() = default;
34 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const Aws::String& GetPillarId() const { return m_pillarId; }
39 inline bool PillarIdHasBeenSet() const { return m_pillarIdHasBeenSet; }
40 template <typename PillarIdT = Aws::String>
41 void SetPillarId(PillarIdT&& value) {
42 m_pillarIdHasBeenSet = true;
43 m_pillarId = std::forward<PillarIdT>(value);
44 }
45 template <typename PillarIdT = Aws::String>
47 SetPillarId(std::forward<PillarIdT>(value));
48 return *this;
49 }
51
53
54 inline const Aws::String& GetPillarName() const { return m_pillarName; }
55 inline bool PillarNameHasBeenSet() const { return m_pillarNameHasBeenSet; }
56 template <typename PillarNameT = Aws::String>
57 void SetPillarName(PillarNameT&& value) {
58 m_pillarNameHasBeenSet = true;
59 m_pillarName = std::forward<PillarNameT>(value);
60 }
61 template <typename PillarNameT = Aws::String>
63 SetPillarName(std::forward<PillarNameT>(value));
64 return *this;
65 }
67
69
70 inline const Aws::String& GetNotes() const { return m_notes; }
71 inline bool NotesHasBeenSet() const { return m_notesHasBeenSet; }
72 template <typename NotesT = Aws::String>
73 void SetNotes(NotesT&& value) {
74 m_notesHasBeenSet = true;
75 m_notes = std::forward<NotesT>(value);
76 }
77 template <typename NotesT = Aws::String>
79 SetNotes(std::forward<NotesT>(value));
80 return *this;
81 }
83
85
89 inline const Aws::Map<Question, int>& GetQuestionCounts() const { return m_questionCounts; }
90 inline bool QuestionCountsHasBeenSet() const { return m_questionCountsHasBeenSet; }
91 template <typename QuestionCountsT = Aws::Map<Question, int>>
92 void SetQuestionCounts(QuestionCountsT&& value) {
93 m_questionCountsHasBeenSet = true;
94 m_questionCounts = std::forward<QuestionCountsT>(value);
95 }
96 template <typename QuestionCountsT = Aws::Map<Question, int>>
98 SetQuestionCounts(std::forward<QuestionCountsT>(value));
99 return *this;
100 }
102 m_questionCountsHasBeenSet = true;
103 m_questionCounts.emplace(key, value);
104 return *this;
105 }
107 private:
108 Aws::String m_pillarId;
109 bool m_pillarIdHasBeenSet = false;
110
111 Aws::String m_pillarName;
112 bool m_pillarNameHasBeenSet = false;
113
114 Aws::String m_notes;
115 bool m_notesHasBeenSet = false;
116
117 Aws::Map<Question, int> m_questionCounts;
118 bool m_questionCountsHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace WellArchitected
123} // namespace Aws
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
ReviewTemplatePillarReviewSummary & WithPillarName(PillarNameT &&value)
ReviewTemplatePillarReviewSummary & AddQuestionCounts(Question key, int value)
AWS_WELLARCHITECTED_API ReviewTemplatePillarReviewSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API ReviewTemplatePillarReviewSummary()=default
AWS_WELLARCHITECTED_API ReviewTemplatePillarReviewSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ReviewTemplatePillarReviewSummary & WithQuestionCounts(QuestionCountsT &&value)
ReviewTemplatePillarReviewSummary & WithPillarId(PillarIdT &&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