AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
ReviewTemplateLensReview.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
12#include <aws/wellarchitected/model/LensStatus.h>
13#include <aws/wellarchitected/model/Question.h>
14#include <aws/wellarchitected/model/ReviewTemplatePillarReviewSummary.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace WellArchitected {
26namespace Model {
27
34 public:
35 AWS_WELLARCHITECTED_API ReviewTemplateLensReview() = default;
36 AWS_WELLARCHITECTED_API ReviewTemplateLensReview(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
42 inline const Aws::String& GetLensAlias() const { return m_lensAlias; }
43 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
44 template <typename LensAliasT = Aws::String>
45 void SetLensAlias(LensAliasT&& value) {
46 m_lensAliasHasBeenSet = true;
47 m_lensAlias = std::forward<LensAliasT>(value);
48 }
49 template <typename LensAliasT = Aws::String>
51 SetLensAlias(std::forward<LensAliasT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetLensArn() const { return m_lensArn; }
61 inline bool LensArnHasBeenSet() const { return m_lensArnHasBeenSet; }
62 template <typename LensArnT = Aws::String>
63 void SetLensArn(LensArnT&& value) {
64 m_lensArnHasBeenSet = true;
65 m_lensArn = std::forward<LensArnT>(value);
66 }
67 template <typename LensArnT = Aws::String>
69 SetLensArn(std::forward<LensArnT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetLensVersion() const { return m_lensVersion; }
79 inline bool LensVersionHasBeenSet() const { return m_lensVersionHasBeenSet; }
80 template <typename LensVersionT = Aws::String>
81 void SetLensVersion(LensVersionT&& value) {
82 m_lensVersionHasBeenSet = true;
83 m_lensVersion = std::forward<LensVersionT>(value);
84 }
85 template <typename LensVersionT = Aws::String>
87 SetLensVersion(std::forward<LensVersionT>(value));
88 return *this;
89 }
91
93
94 inline const Aws::String& GetLensName() const { return m_lensName; }
95 inline bool LensNameHasBeenSet() const { return m_lensNameHasBeenSet; }
96 template <typename LensNameT = Aws::String>
97 void SetLensName(LensNameT&& value) {
98 m_lensNameHasBeenSet = true;
99 m_lensName = std::forward<LensNameT>(value);
100 }
101 template <typename LensNameT = Aws::String>
103 SetLensName(std::forward<LensNameT>(value));
104 return *this;
105 }
107
109
112 inline LensStatus GetLensStatus() const { return m_lensStatus; }
113 inline bool LensStatusHasBeenSet() const { return m_lensStatusHasBeenSet; }
114 inline void SetLensStatus(LensStatus value) {
115 m_lensStatusHasBeenSet = true;
116 m_lensStatus = value;
117 }
119 SetLensStatus(value);
120 return *this;
121 }
123
125
128 inline const Aws::Vector<ReviewTemplatePillarReviewSummary>& GetPillarReviewSummaries() const { return m_pillarReviewSummaries; }
129 inline bool PillarReviewSummariesHasBeenSet() const { return m_pillarReviewSummariesHasBeenSet; }
130 template <typename PillarReviewSummariesT = Aws::Vector<ReviewTemplatePillarReviewSummary>>
131 void SetPillarReviewSummaries(PillarReviewSummariesT&& value) {
132 m_pillarReviewSummariesHasBeenSet = true;
133 m_pillarReviewSummaries = std::forward<PillarReviewSummariesT>(value);
134 }
135 template <typename PillarReviewSummariesT = Aws::Vector<ReviewTemplatePillarReviewSummary>>
136 ReviewTemplateLensReview& WithPillarReviewSummaries(PillarReviewSummariesT&& value) {
137 SetPillarReviewSummaries(std::forward<PillarReviewSummariesT>(value));
138 return *this;
139 }
140 template <typename PillarReviewSummariesT = ReviewTemplatePillarReviewSummary>
141 ReviewTemplateLensReview& AddPillarReviewSummaries(PillarReviewSummariesT&& value) {
142 m_pillarReviewSummariesHasBeenSet = true;
143 m_pillarReviewSummaries.emplace_back(std::forward<PillarReviewSummariesT>(value));
144 return *this;
145 }
147
149
150 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
151 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
152 template <typename UpdatedAtT = Aws::Utils::DateTime>
153 void SetUpdatedAt(UpdatedAtT&& value) {
154 m_updatedAtHasBeenSet = true;
155 m_updatedAt = std::forward<UpdatedAtT>(value);
156 }
157 template <typename UpdatedAtT = Aws::Utils::DateTime>
159 SetUpdatedAt(std::forward<UpdatedAtT>(value));
160 return *this;
161 }
163
165
166 inline const Aws::String& GetNotes() const { return m_notes; }
167 inline bool NotesHasBeenSet() const { return m_notesHasBeenSet; }
168 template <typename NotesT = Aws::String>
169 void SetNotes(NotesT&& value) {
170 m_notesHasBeenSet = true;
171 m_notes = std::forward<NotesT>(value);
172 }
173 template <typename NotesT = Aws::String>
175 SetNotes(std::forward<NotesT>(value));
176 return *this;
177 }
179
181
185 inline const Aws::Map<Question, int>& GetQuestionCounts() const { return m_questionCounts; }
186 inline bool QuestionCountsHasBeenSet() const { return m_questionCountsHasBeenSet; }
187 template <typename QuestionCountsT = Aws::Map<Question, int>>
188 void SetQuestionCounts(QuestionCountsT&& value) {
189 m_questionCountsHasBeenSet = true;
190 m_questionCounts = std::forward<QuestionCountsT>(value);
191 }
192 template <typename QuestionCountsT = Aws::Map<Question, int>>
194 SetQuestionCounts(std::forward<QuestionCountsT>(value));
195 return *this;
196 }
198 m_questionCountsHasBeenSet = true;
199 m_questionCounts.emplace(key, value);
200 return *this;
201 }
203
205
206 inline const Aws::String& GetNextToken() const { return m_nextToken; }
207 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
208 template <typename NextTokenT = Aws::String>
209 void SetNextToken(NextTokenT&& value) {
210 m_nextTokenHasBeenSet = true;
211 m_nextToken = std::forward<NextTokenT>(value);
212 }
213 template <typename NextTokenT = Aws::String>
215 SetNextToken(std::forward<NextTokenT>(value));
216 return *this;
217 }
219 private:
220 Aws::String m_lensAlias;
221 bool m_lensAliasHasBeenSet = false;
222
223 Aws::String m_lensArn;
224 bool m_lensArnHasBeenSet = false;
225
226 Aws::String m_lensVersion;
227 bool m_lensVersionHasBeenSet = false;
228
229 Aws::String m_lensName;
230 bool m_lensNameHasBeenSet = false;
231
232 LensStatus m_lensStatus{LensStatus::NOT_SET};
233 bool m_lensStatusHasBeenSet = false;
234
236 bool m_pillarReviewSummariesHasBeenSet = false;
237
238 Aws::Utils::DateTime m_updatedAt{};
239 bool m_updatedAtHasBeenSet = false;
240
241 Aws::String m_notes;
242 bool m_notesHasBeenSet = false;
243
244 Aws::Map<Question, int> m_questionCounts;
245 bool m_questionCountsHasBeenSet = false;
246
247 Aws::String m_nextToken;
248 bool m_nextTokenHasBeenSet = false;
249};
250
251} // namespace Model
252} // namespace WellArchitected
253} // namespace Aws
ReviewTemplateLensReview & WithLensVersion(LensVersionT &&value)
ReviewTemplateLensReview & AddPillarReviewSummaries(PillarReviewSummariesT &&value)
ReviewTemplateLensReview & WithLensName(LensNameT &&value)
ReviewTemplateLensReview & WithLensStatus(LensStatus value)
ReviewTemplateLensReview & WithQuestionCounts(QuestionCountsT &&value)
ReviewTemplateLensReview & WithNotes(NotesT &&value)
AWS_WELLARCHITECTED_API ReviewTemplateLensReview()=default
const Aws::Vector< ReviewTemplatePillarReviewSummary > & GetPillarReviewSummaries() const
const Aws::Map< Question, int > & GetQuestionCounts() const
ReviewTemplateLensReview & AddQuestionCounts(Question key, int value)
AWS_WELLARCHITECTED_API ReviewTemplateLensReview & operator=(Aws::Utils::Json::JsonView jsonValue)
ReviewTemplateLensReview & WithUpdatedAt(UpdatedAtT &&value)
ReviewTemplateLensReview & WithNextToken(NextTokenT &&value)
ReviewTemplateLensReview & WithPillarReviewSummaries(PillarReviewSummariesT &&value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
ReviewTemplateLensReview & WithLensAlias(LensAliasT &&value)
AWS_WELLARCHITECTED_API ReviewTemplateLensReview(Aws::Utils::Json::JsonView jsonValue)
ReviewTemplateLensReview & WithLensArn(LensArnT &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue