AWS SDK for C++  1.9.154
AWS SDK for C++
LensReview.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24  class JsonView;
25 } // namespace Json
26 } // namespace Utils
27 namespace WellArchitected
28 {
29 namespace Model
30 {
31 
38  {
39  public:
44 
45 
46 
47  inline const Aws::String& GetLensAlias() const{ return m_lensAlias; }
48 
49 
50  inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
51 
52 
53  inline void SetLensAlias(const Aws::String& value) { m_lensAliasHasBeenSet = true; m_lensAlias = value; }
54 
55 
56  inline void SetLensAlias(Aws::String&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::move(value); }
57 
58 
59  inline void SetLensAlias(const char* value) { m_lensAliasHasBeenSet = true; m_lensAlias.assign(value); }
60 
61 
62  inline LensReview& WithLensAlias(const Aws::String& value) { SetLensAlias(value); return *this;}
63 
64 
65  inline LensReview& WithLensAlias(Aws::String&& value) { SetLensAlias(std::move(value)); return *this;}
66 
67 
68  inline LensReview& WithLensAlias(const char* value) { SetLensAlias(value); return *this;}
69 
70 
74  inline const Aws::String& GetLensVersion() const{ return m_lensVersion; }
75 
79  inline bool LensVersionHasBeenSet() const { return m_lensVersionHasBeenSet; }
80 
84  inline void SetLensVersion(const Aws::String& value) { m_lensVersionHasBeenSet = true; m_lensVersion = value; }
85 
89  inline void SetLensVersion(Aws::String&& value) { m_lensVersionHasBeenSet = true; m_lensVersion = std::move(value); }
90 
94  inline void SetLensVersion(const char* value) { m_lensVersionHasBeenSet = true; m_lensVersion.assign(value); }
95 
99  inline LensReview& WithLensVersion(const Aws::String& value) { SetLensVersion(value); return *this;}
100 
104  inline LensReview& WithLensVersion(Aws::String&& value) { SetLensVersion(std::move(value)); return *this;}
105 
109  inline LensReview& WithLensVersion(const char* value) { SetLensVersion(value); return *this;}
110 
111 
112 
113  inline const Aws::String& GetLensName() const{ return m_lensName; }
114 
115 
116  inline bool LensNameHasBeenSet() const { return m_lensNameHasBeenSet; }
117 
118 
119  inline void SetLensName(const Aws::String& value) { m_lensNameHasBeenSet = true; m_lensName = value; }
120 
121 
122  inline void SetLensName(Aws::String&& value) { m_lensNameHasBeenSet = true; m_lensName = std::move(value); }
123 
124 
125  inline void SetLensName(const char* value) { m_lensNameHasBeenSet = true; m_lensName.assign(value); }
126 
127 
128  inline LensReview& WithLensName(const Aws::String& value) { SetLensName(value); return *this;}
129 
130 
131  inline LensReview& WithLensName(Aws::String&& value) { SetLensName(std::move(value)); return *this;}
132 
133 
134  inline LensReview& WithLensName(const char* value) { SetLensName(value); return *this;}
135 
136 
140  inline const LensStatus& GetLensStatus() const{ return m_lensStatus; }
141 
145  inline bool LensStatusHasBeenSet() const { return m_lensStatusHasBeenSet; }
146 
150  inline void SetLensStatus(const LensStatus& value) { m_lensStatusHasBeenSet = true; m_lensStatus = value; }
151 
155  inline void SetLensStatus(LensStatus&& value) { m_lensStatusHasBeenSet = true; m_lensStatus = std::move(value); }
156 
160  inline LensReview& WithLensStatus(const LensStatus& value) { SetLensStatus(value); return *this;}
161 
165  inline LensReview& WithLensStatus(LensStatus&& value) { SetLensStatus(std::move(value)); return *this;}
166 
167 
168 
169  inline const Aws::Vector<PillarReviewSummary>& GetPillarReviewSummaries() const{ return m_pillarReviewSummaries; }
170 
171 
172  inline bool PillarReviewSummariesHasBeenSet() const { return m_pillarReviewSummariesHasBeenSet; }
173 
174 
175  inline void SetPillarReviewSummaries(const Aws::Vector<PillarReviewSummary>& value) { m_pillarReviewSummariesHasBeenSet = true; m_pillarReviewSummaries = value; }
176 
177 
178  inline void SetPillarReviewSummaries(Aws::Vector<PillarReviewSummary>&& value) { m_pillarReviewSummariesHasBeenSet = true; m_pillarReviewSummaries = std::move(value); }
179 
180 
181  inline LensReview& WithPillarReviewSummaries(const Aws::Vector<PillarReviewSummary>& value) { SetPillarReviewSummaries(value); return *this;}
182 
183 
184  inline LensReview& WithPillarReviewSummaries(Aws::Vector<PillarReviewSummary>&& value) { SetPillarReviewSummaries(std::move(value)); return *this;}
185 
186 
187  inline LensReview& AddPillarReviewSummaries(const PillarReviewSummary& value) { m_pillarReviewSummariesHasBeenSet = true; m_pillarReviewSummaries.push_back(value); return *this; }
188 
189 
190  inline LensReview& AddPillarReviewSummaries(PillarReviewSummary&& value) { m_pillarReviewSummariesHasBeenSet = true; m_pillarReviewSummaries.push_back(std::move(value)); return *this; }
191 
192 
193 
194  inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
195 
196 
197  inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
198 
199 
200  inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
201 
202 
203  inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
204 
205 
206  inline LensReview& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
207 
208 
209  inline LensReview& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
210 
211 
212 
213  inline const Aws::String& GetNotes() const{ return m_notes; }
214 
215 
216  inline bool NotesHasBeenSet() const { return m_notesHasBeenSet; }
217 
218 
219  inline void SetNotes(const Aws::String& value) { m_notesHasBeenSet = true; m_notes = value; }
220 
221 
222  inline void SetNotes(Aws::String&& value) { m_notesHasBeenSet = true; m_notes = std::move(value); }
223 
224 
225  inline void SetNotes(const char* value) { m_notesHasBeenSet = true; m_notes.assign(value); }
226 
227 
228  inline LensReview& WithNotes(const Aws::String& value) { SetNotes(value); return *this;}
229 
230 
231  inline LensReview& WithNotes(Aws::String&& value) { SetNotes(std::move(value)); return *this;}
232 
233 
234  inline LensReview& WithNotes(const char* value) { SetNotes(value); return *this;}
235 
236 
237 
238  inline const Aws::Map<Risk, int>& GetRiskCounts() const{ return m_riskCounts; }
239 
240 
241  inline bool RiskCountsHasBeenSet() const { return m_riskCountsHasBeenSet; }
242 
243 
244  inline void SetRiskCounts(const Aws::Map<Risk, int>& value) { m_riskCountsHasBeenSet = true; m_riskCounts = value; }
245 
246 
247  inline void SetRiskCounts(Aws::Map<Risk, int>&& value) { m_riskCountsHasBeenSet = true; m_riskCounts = std::move(value); }
248 
249 
250  inline LensReview& WithRiskCounts(const Aws::Map<Risk, int>& value) { SetRiskCounts(value); return *this;}
251 
252 
253  inline LensReview& WithRiskCounts(Aws::Map<Risk, int>&& value) { SetRiskCounts(std::move(value)); return *this;}
254 
255 
256  inline LensReview& AddRiskCounts(const Risk& key, int value) { m_riskCountsHasBeenSet = true; m_riskCounts.emplace(key, value); return *this; }
257 
258 
259  inline LensReview& AddRiskCounts(Risk&& key, int value) { m_riskCountsHasBeenSet = true; m_riskCounts.emplace(std::move(key), value); return *this; }
260 
261 
262 
263  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
264 
265 
266  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
267 
268 
269  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
270 
271 
272  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
273 
274 
275  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
276 
277 
278  inline LensReview& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
279 
280 
281  inline LensReview& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
282 
283 
284  inline LensReview& WithNextToken(const char* value) { SetNextToken(value); return *this;}
285 
286  private:
287 
288  Aws::String m_lensAlias;
289  bool m_lensAliasHasBeenSet;
290 
291  Aws::String m_lensVersion;
292  bool m_lensVersionHasBeenSet;
293 
294  Aws::String m_lensName;
295  bool m_lensNameHasBeenSet;
296 
297  LensStatus m_lensStatus;
298  bool m_lensStatusHasBeenSet;
299 
300  Aws::Vector<PillarReviewSummary> m_pillarReviewSummaries;
301  bool m_pillarReviewSummariesHasBeenSet;
302 
303  Aws::Utils::DateTime m_updatedAt;
304  bool m_updatedAtHasBeenSet;
305 
306  Aws::String m_notes;
307  bool m_notesHasBeenSet;
308 
309  Aws::Map<Risk, int> m_riskCounts;
310  bool m_riskCountsHasBeenSet;
311 
312  Aws::String m_nextToken;
313  bool m_nextTokenHasBeenSet;
314  };
315 
316 } // namespace Model
317 } // namespace WellArchitected
318 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::WellArchitected::Model::LensReview::WithLensAlias
LensReview & WithLensAlias(Aws::String &&value)
Definition: LensReview.h:65
Aws::WellArchitected::Model::LensReview::WithNotes
LensReview & WithNotes(const char *value)
Definition: LensReview.h:234
Aws::WellArchitected::Model::LensReview::WithLensName
LensReview & WithLensName(Aws::String &&value)
Definition: LensReview.h:131
Aws::WellArchitected::Model::LensReview::AddPillarReviewSummaries
LensReview & AddPillarReviewSummaries(PillarReviewSummary &&value)
Definition: LensReview.h:190
Aws::WellArchitected::Model::LensReview::SetLensAlias
void SetLensAlias(Aws::String &&value)
Definition: LensReview.h:56
Aws::WellArchitected::Model::LensReview::LensVersionHasBeenSet
bool LensVersionHasBeenSet() const
Definition: LensReview.h:79
Aws::WellArchitected::Model::LensReview::SetUpdatedAt
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition: LensReview.h:203
Aws::WellArchitected::Model::LensReview::GetPillarReviewSummaries
const Aws::Vector< PillarReviewSummary > & GetPillarReviewSummaries() const
Definition: LensReview.h:169
Aws::WellArchitected::Model::LensReview::LensReview
LensReview(Aws::Utils::Json::JsonView jsonValue)
Aws::WellArchitected::Model::LensReview::AddPillarReviewSummaries
LensReview & AddPillarReviewSummaries(const PillarReviewSummary &value)
Definition: LensReview.h:187
Aws::WellArchitected::Model::LensReview::WithNotes
LensReview & WithNotes(const Aws::String &value)
Definition: LensReview.h:228
LensStatus.h
Aws::WellArchitected::Model::LensReview::WithLensAlias
LensReview & WithLensAlias(const Aws::String &value)
Definition: LensReview.h:62
WellArchitected_EXPORTS.h
Aws::WellArchitected::Model::LensReview::SetLensAlias
void SetLensAlias(const Aws::String &value)
Definition: LensReview.h:53
Aws::WellArchitected::Model::LensReview
Definition: LensReview.h:38
Aws::WellArchitected::Model::LensReview::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::WellArchitected::Model::LensReview::LensAliasHasBeenSet
bool LensAliasHasBeenSet() const
Definition: LensReview.h:50
DateTime.h
Aws::WellArchitected::Model::LensReview::SetRiskCounts
void SetRiskCounts(const Aws::Map< Risk, int > &value)
Definition: LensReview.h:244
Aws::WellArchitected::Model::LensReview::PillarReviewSummariesHasBeenSet
bool PillarReviewSummariesHasBeenSet() const
Definition: LensReview.h:172
Aws::WellArchitected::Model::LensReview::SetLensVersion
void SetLensVersion(const char *value)
Definition: LensReview.h:94
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::WellArchitected::Model::LensReview::SetLensName
void SetLensName(const Aws::String &value)
Definition: LensReview.h:119
AWSVector.h
Aws::WellArchitected::Model::LensReview::SetLensStatus
void SetLensStatus(LensStatus &&value)
Definition: LensReview.h:155
Aws::WellArchitected::Model::LensReview::WithUpdatedAt
LensReview & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition: LensReview.h:206
PillarReviewSummary.h
Aws::WellArchitected::Model::LensReview::WithLensAlias
LensReview & WithLensAlias(const char *value)
Definition: LensReview.h:68
Aws::WellArchitected::Model::LensReview::SetNotes
void SetNotes(const Aws::String &value)
Definition: LensReview.h:219
Aws::WellArchitected::Model::LensReview::SetLensVersion
void SetLensVersion(Aws::String &&value)
Definition: LensReview.h:89
Aws::WellArchitected::Model::LensReview::WithNextToken
LensReview & WithNextToken(Aws::String &&value)
Definition: LensReview.h:281
Aws::WellArchitected::Model::LensReview::SetLensAlias
void SetLensAlias(const char *value)
Definition: LensReview.h:59
Aws::WellArchitected::Model::LensReview::AddRiskCounts
LensReview & AddRiskCounts(const Risk &key, int value)
Definition: LensReview.h:256
Aws::WellArchitected::Model::LensReview::RiskCountsHasBeenSet
bool RiskCountsHasBeenSet() const
Definition: LensReview.h:241
Aws::WellArchitected::Model::LensReview::SetUpdatedAt
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition: LensReview.h:200
Aws::WellArchitected::Model::LensReview::LensStatusHasBeenSet
bool LensStatusHasBeenSet() const
Definition: LensReview.h:145
Aws::WellArchitected::Model::LensReview::WithPillarReviewSummaries
LensReview & WithPillarReviewSummaries(const Aws::Vector< PillarReviewSummary > &value)
Definition: LensReview.h:181
Aws::WellArchitected::Model::LensReview::SetPillarReviewSummaries
void SetPillarReviewSummaries(Aws::Vector< PillarReviewSummary > &&value)
Definition: LensReview.h:178
Aws::WellArchitected::Model::LensReview::WithLensStatus
LensReview & WithLensStatus(LensStatus &&value)
Definition: LensReview.h:165
Aws::WellArchitected::Model::LensReview::WithPillarReviewSummaries
LensReview & WithPillarReviewSummaries(Aws::Vector< PillarReviewSummary > &&value)
Definition: LensReview.h:184
Risk.h
Aws::WellArchitected::Model::LensReview::SetNotes
void SetNotes(Aws::String &&value)
Definition: LensReview.h:222
Aws::WellArchitected::Model::LensReview::GetNextToken
const Aws::String & GetNextToken() const
Definition: LensReview.h:263
Aws::WellArchitected::Model::LensReview::WithLensVersion
LensReview & WithLensVersion(const Aws::String &value)
Definition: LensReview.h:99
Aws::WellArchitected::Model::LensReview::WithRiskCounts
LensReview & WithRiskCounts(const Aws::Map< Risk, int > &value)
Definition: LensReview.h:250
Aws::WellArchitected::Model::LensReview::WithLensVersion
LensReview & WithLensVersion(Aws::String &&value)
Definition: LensReview.h:104
Aws::WellArchitected::Model::Risk
Risk
Definition: Risk.h:17
Aws::WellArchitected::Model::LensReview::GetUpdatedAt
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition: LensReview.h:194
Aws::WellArchitected::Model::LensReview::WithLensName
LensReview & WithLensName(const char *value)
Definition: LensReview.h:134
Aws::WellArchitected::Model::LensReview::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: LensReview.h:272
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::WellArchitected::Model::LensReview::WithNotes
LensReview & WithNotes(Aws::String &&value)
Definition: LensReview.h:231
Aws::WellArchitected::Model::LensReview::SetLensName
void SetLensName(Aws::String &&value)
Definition: LensReview.h:122
Aws::WellArchitected::Model::LensReview::LensReview
LensReview()
AWS_WELLARCHITECTED_API
#define AWS_WELLARCHITECTED_API
Definition: WellArchitected_EXPORTS.h:28
Aws::WellArchitected::Model::LensReview::SetNotes
void SetNotes(const char *value)
Definition: LensReview.h:225
Aws::WellArchitected::Model::LensReview::GetLensVersion
const Aws::String & GetLensVersion() const
Definition: LensReview.h:74
Aws::WellArchitected::Model::LensReview::WithLensName
LensReview & WithLensName(const Aws::String &value)
Definition: LensReview.h:128
Aws::WellArchitected::Model::LensReview::AddRiskCounts
LensReview & AddRiskCounts(Risk &&key, int value)
Definition: LensReview.h:259
Aws::WellArchitected::Model::LensReview::GetRiskCounts
const Aws::Map< Risk, int > & GetRiskCounts() const
Definition: LensReview.h:238
Aws::WellArchitected::Model::PillarReviewSummary
Definition: PillarReviewSummary.h:34
Aws::WellArchitected::Model::LensReview::GetLensStatus
const LensStatus & GetLensStatus() const
Definition: LensReview.h:140
Aws::WellArchitected::Model::LensReview::SetNextToken
void SetNextToken(const char *value)
Definition: LensReview.h:275
Aws::WellArchitected::Model::LensReview::SetLensName
void SetLensName(const char *value)
Definition: LensReview.h:125
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::WellArchitected::Model::LensReview::GetNotes
const Aws::String & GetNotes() const
Definition: LensReview.h:213
Aws
Definition: AccessManagementClient.h:15
Aws::WellArchitected::Model::LensReview::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: LensReview.h:269
Aws::WellArchitected::Model::LensStatus
LensStatus
Definition: LensStatus.h:17
Aws::WellArchitected::Model::LensReview::SetLensStatus
void SetLensStatus(const LensStatus &value)
Definition: LensReview.h:150
Aws::WellArchitected::Model::LensReview::LensNameHasBeenSet
bool LensNameHasBeenSet() const
Definition: LensReview.h:116
Aws::WellArchitected::Model::LensReview::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: LensReview.h:266
Aws::WellArchitected::Model::LensReview::UpdatedAtHasBeenSet
bool UpdatedAtHasBeenSet() const
Definition: LensReview.h:197
Aws::WellArchitected::Model::LensReview::SetLensVersion
void SetLensVersion(const Aws::String &value)
Definition: LensReview.h:84
Aws::WellArchitected::Model::LensReview::SetPillarReviewSummaries
void SetPillarReviewSummaries(const Aws::Vector< PillarReviewSummary > &value)
Definition: LensReview.h:175
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WellArchitected::Model::LensReview::WithLensStatus
LensReview & WithLensStatus(const LensStatus &value)
Definition: LensReview.h:160
Aws::WellArchitected::Model::LensReview::SetRiskCounts
void SetRiskCounts(Aws::Map< Risk, int > &&value)
Definition: LensReview.h:247
Aws::WellArchitected::Model::LensReview::GetLensAlias
const Aws::String & GetLensAlias() const
Definition: LensReview.h:47
Aws::WellArchitected::Model::LensReview::GetLensName
const Aws::String & GetLensName() const
Definition: LensReview.h:113
AWSMap.h
Aws::WellArchitected::Model::LensReview::WithUpdatedAt
LensReview & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition: LensReview.h:209
Aws::WellArchitected::Model::LensReview::WithNextToken
LensReview & WithNextToken(const char *value)
Definition: LensReview.h:284
Aws::WellArchitected::Model::LensReview::WithNextToken
LensReview & WithNextToken(const Aws::String &value)
Definition: LensReview.h:278
Aws::WellArchitected::Model::LensReview::operator=
LensReview & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::WellArchitected::Model::LensReview::WithRiskCounts
LensReview & WithRiskCounts(Aws::Map< Risk, int > &&value)
Definition: LensReview.h:253
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::WellArchitected::Model::LensReview::NotesHasBeenSet
bool NotesHasBeenSet() const
Definition: LensReview.h:216
Aws::WellArchitected::Model::LensReview::WithLensVersion
LensReview & WithLensVersion(const char *value)
Definition: LensReview.h:109