AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LensReview.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/model/LensStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/wellarchitected/model/JiraSelectedQuestionConfiguration.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/wellarchitected/model/PillarReviewSummary.h>
15#include <aws/wellarchitected/model/Risk.h>
16#include <aws/wellarchitected/model/WorkloadProfile.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace WellArchitected
30{
31namespace Model
32{
33
40 {
41 public:
42 AWS_WELLARCHITECTED_API LensReview();
43 AWS_WELLARCHITECTED_API LensReview(Aws::Utils::Json::JsonView jsonValue);
44 AWS_WELLARCHITECTED_API LensReview& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
50 inline const Aws::String& GetLensAlias() const{ return m_lensAlias; }
51 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
52 inline void SetLensAlias(const Aws::String& value) { m_lensAliasHasBeenSet = true; m_lensAlias = value; }
53 inline void SetLensAlias(Aws::String&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::move(value); }
54 inline void SetLensAlias(const char* value) { m_lensAliasHasBeenSet = true; m_lensAlias.assign(value); }
55 inline LensReview& WithLensAlias(const Aws::String& value) { SetLensAlias(value); return *this;}
56 inline LensReview& WithLensAlias(Aws::String&& value) { SetLensAlias(std::move(value)); return *this;}
57 inline LensReview& WithLensAlias(const char* value) { SetLensAlias(value); return *this;}
59
61
64 inline const Aws::String& GetLensArn() const{ return m_lensArn; }
65 inline bool LensArnHasBeenSet() const { return m_lensArnHasBeenSet; }
66 inline void SetLensArn(const Aws::String& value) { m_lensArnHasBeenSet = true; m_lensArn = value; }
67 inline void SetLensArn(Aws::String&& value) { m_lensArnHasBeenSet = true; m_lensArn = std::move(value); }
68 inline void SetLensArn(const char* value) { m_lensArnHasBeenSet = true; m_lensArn.assign(value); }
69 inline LensReview& WithLensArn(const Aws::String& value) { SetLensArn(value); return *this;}
70 inline LensReview& WithLensArn(Aws::String&& value) { SetLensArn(std::move(value)); return *this;}
71 inline LensReview& WithLensArn(const char* value) { SetLensArn(value); return *this;}
73
75
78 inline const Aws::String& GetLensVersion() const{ return m_lensVersion; }
79 inline bool LensVersionHasBeenSet() const { return m_lensVersionHasBeenSet; }
80 inline void SetLensVersion(const Aws::String& value) { m_lensVersionHasBeenSet = true; m_lensVersion = value; }
81 inline void SetLensVersion(Aws::String&& value) { m_lensVersionHasBeenSet = true; m_lensVersion = std::move(value); }
82 inline void SetLensVersion(const char* value) { m_lensVersionHasBeenSet = true; m_lensVersion.assign(value); }
83 inline LensReview& WithLensVersion(const Aws::String& value) { SetLensVersion(value); return *this;}
84 inline LensReview& WithLensVersion(Aws::String&& value) { SetLensVersion(std::move(value)); return *this;}
85 inline LensReview& WithLensVersion(const char* value) { SetLensVersion(value); return *this;}
87
89
90 inline const Aws::String& GetLensName() const{ return m_lensName; }
91 inline bool LensNameHasBeenSet() const { return m_lensNameHasBeenSet; }
92 inline void SetLensName(const Aws::String& value) { m_lensNameHasBeenSet = true; m_lensName = value; }
93 inline void SetLensName(Aws::String&& value) { m_lensNameHasBeenSet = true; m_lensName = std::move(value); }
94 inline void SetLensName(const char* value) { m_lensNameHasBeenSet = true; m_lensName.assign(value); }
95 inline LensReview& WithLensName(const Aws::String& value) { SetLensName(value); return *this;}
96 inline LensReview& WithLensName(Aws::String&& value) { SetLensName(std::move(value)); return *this;}
97 inline LensReview& WithLensName(const char* value) { SetLensName(value); return *this;}
99
101
104 inline const LensStatus& GetLensStatus() const{ return m_lensStatus; }
105 inline bool LensStatusHasBeenSet() const { return m_lensStatusHasBeenSet; }
106 inline void SetLensStatus(const LensStatus& value) { m_lensStatusHasBeenSet = true; m_lensStatus = value; }
107 inline void SetLensStatus(LensStatus&& value) { m_lensStatusHasBeenSet = true; m_lensStatus = std::move(value); }
108 inline LensReview& WithLensStatus(const LensStatus& value) { SetLensStatus(value); return *this;}
109 inline LensReview& WithLensStatus(LensStatus&& value) { SetLensStatus(std::move(value)); return *this;}
111
113
114 inline const Aws::Vector<PillarReviewSummary>& GetPillarReviewSummaries() const{ return m_pillarReviewSummaries; }
115 inline bool PillarReviewSummariesHasBeenSet() const { return m_pillarReviewSummariesHasBeenSet; }
116 inline void SetPillarReviewSummaries(const Aws::Vector<PillarReviewSummary>& value) { m_pillarReviewSummariesHasBeenSet = true; m_pillarReviewSummaries = value; }
117 inline void SetPillarReviewSummaries(Aws::Vector<PillarReviewSummary>&& value) { m_pillarReviewSummariesHasBeenSet = true; m_pillarReviewSummaries = std::move(value); }
120 inline LensReview& AddPillarReviewSummaries(const PillarReviewSummary& value) { m_pillarReviewSummariesHasBeenSet = true; m_pillarReviewSummaries.push_back(value); return *this; }
121 inline LensReview& AddPillarReviewSummaries(PillarReviewSummary&& value) { m_pillarReviewSummariesHasBeenSet = true; m_pillarReviewSummaries.push_back(std::move(value)); return *this; }
123
125
128 inline const JiraSelectedQuestionConfiguration& GetJiraConfiguration() const{ return m_jiraConfiguration; }
129 inline bool JiraConfigurationHasBeenSet() const { return m_jiraConfigurationHasBeenSet; }
130 inline void SetJiraConfiguration(const JiraSelectedQuestionConfiguration& value) { m_jiraConfigurationHasBeenSet = true; m_jiraConfiguration = value; }
131 inline void SetJiraConfiguration(JiraSelectedQuestionConfiguration&& value) { m_jiraConfigurationHasBeenSet = true; m_jiraConfiguration = std::move(value); }
135
137
138 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
139 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
140 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
141 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
142 inline LensReview& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
143 inline LensReview& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
145
147
148 inline const Aws::String& GetNotes() const{ return m_notes; }
149 inline bool NotesHasBeenSet() const { return m_notesHasBeenSet; }
150 inline void SetNotes(const Aws::String& value) { m_notesHasBeenSet = true; m_notes = value; }
151 inline void SetNotes(Aws::String&& value) { m_notesHasBeenSet = true; m_notes = std::move(value); }
152 inline void SetNotes(const char* value) { m_notesHasBeenSet = true; m_notes.assign(value); }
153 inline LensReview& WithNotes(const Aws::String& value) { SetNotes(value); return *this;}
154 inline LensReview& WithNotes(Aws::String&& value) { SetNotes(std::move(value)); return *this;}
155 inline LensReview& WithNotes(const char* value) { SetNotes(value); return *this;}
157
159
160 inline const Aws::Map<Risk, int>& GetRiskCounts() const{ return m_riskCounts; }
161 inline bool RiskCountsHasBeenSet() const { return m_riskCountsHasBeenSet; }
162 inline void SetRiskCounts(const Aws::Map<Risk, int>& value) { m_riskCountsHasBeenSet = true; m_riskCounts = value; }
163 inline void SetRiskCounts(Aws::Map<Risk, int>&& value) { m_riskCountsHasBeenSet = true; m_riskCounts = std::move(value); }
164 inline LensReview& WithRiskCounts(const Aws::Map<Risk, int>& value) { SetRiskCounts(value); return *this;}
165 inline LensReview& WithRiskCounts(Aws::Map<Risk, int>&& value) { SetRiskCounts(std::move(value)); return *this;}
166 inline LensReview& AddRiskCounts(const Risk& key, int value) { m_riskCountsHasBeenSet = true; m_riskCounts.emplace(key, value); return *this; }
167 inline LensReview& AddRiskCounts(Risk&& key, int value) { m_riskCountsHasBeenSet = true; m_riskCounts.emplace(std::move(key), value); return *this; }
169
171
172 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
173 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
174 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
175 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
176 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
177 inline LensReview& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
178 inline LensReview& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
179 inline LensReview& WithNextToken(const char* value) { SetNextToken(value); return *this;}
181
183
186 inline const Aws::Vector<WorkloadProfile>& GetProfiles() const{ return m_profiles; }
187 inline bool ProfilesHasBeenSet() const { return m_profilesHasBeenSet; }
188 inline void SetProfiles(const Aws::Vector<WorkloadProfile>& value) { m_profilesHasBeenSet = true; m_profiles = value; }
189 inline void SetProfiles(Aws::Vector<WorkloadProfile>&& value) { m_profilesHasBeenSet = true; m_profiles = std::move(value); }
190 inline LensReview& WithProfiles(const Aws::Vector<WorkloadProfile>& value) { SetProfiles(value); return *this;}
191 inline LensReview& WithProfiles(Aws::Vector<WorkloadProfile>&& value) { SetProfiles(std::move(value)); return *this;}
192 inline LensReview& AddProfiles(const WorkloadProfile& value) { m_profilesHasBeenSet = true; m_profiles.push_back(value); return *this; }
193 inline LensReview& AddProfiles(WorkloadProfile&& value) { m_profilesHasBeenSet = true; m_profiles.push_back(std::move(value)); return *this; }
195
197
198 inline const Aws::Map<Risk, int>& GetPrioritizedRiskCounts() const{ return m_prioritizedRiskCounts; }
199 inline bool PrioritizedRiskCountsHasBeenSet() const { return m_prioritizedRiskCountsHasBeenSet; }
200 inline void SetPrioritizedRiskCounts(const Aws::Map<Risk, int>& value) { m_prioritizedRiskCountsHasBeenSet = true; m_prioritizedRiskCounts = value; }
201 inline void SetPrioritizedRiskCounts(Aws::Map<Risk, int>&& value) { m_prioritizedRiskCountsHasBeenSet = true; m_prioritizedRiskCounts = std::move(value); }
203 inline LensReview& WithPrioritizedRiskCounts(Aws::Map<Risk, int>&& value) { SetPrioritizedRiskCounts(std::move(value)); return *this;}
204 inline LensReview& AddPrioritizedRiskCounts(const Risk& key, int value) { m_prioritizedRiskCountsHasBeenSet = true; m_prioritizedRiskCounts.emplace(key, value); return *this; }
205 inline LensReview& AddPrioritizedRiskCounts(Risk&& key, int value) { m_prioritizedRiskCountsHasBeenSet = true; m_prioritizedRiskCounts.emplace(std::move(key), value); return *this; }
207 private:
208
209 Aws::String m_lensAlias;
210 bool m_lensAliasHasBeenSet = false;
211
212 Aws::String m_lensArn;
213 bool m_lensArnHasBeenSet = false;
214
215 Aws::String m_lensVersion;
216 bool m_lensVersionHasBeenSet = false;
217
218 Aws::String m_lensName;
219 bool m_lensNameHasBeenSet = false;
220
221 LensStatus m_lensStatus;
222 bool m_lensStatusHasBeenSet = false;
223
224 Aws::Vector<PillarReviewSummary> m_pillarReviewSummaries;
225 bool m_pillarReviewSummariesHasBeenSet = false;
226
227 JiraSelectedQuestionConfiguration m_jiraConfiguration;
228 bool m_jiraConfigurationHasBeenSet = false;
229
230 Aws::Utils::DateTime m_updatedAt;
231 bool m_updatedAtHasBeenSet = false;
232
233 Aws::String m_notes;
234 bool m_notesHasBeenSet = false;
235
236 Aws::Map<Risk, int> m_riskCounts;
237 bool m_riskCountsHasBeenSet = false;
238
239 Aws::String m_nextToken;
240 bool m_nextTokenHasBeenSet = false;
241
243 bool m_profilesHasBeenSet = false;
244
245 Aws::Map<Risk, int> m_prioritizedRiskCounts;
246 bool m_prioritizedRiskCountsHasBeenSet = false;
247 };
248
249} // namespace Model
250} // namespace WellArchitected
251} // namespace Aws
AWS_WELLARCHITECTED_API LensReview & operator=(Aws::Utils::Json::JsonView jsonValue)
LensReview & WithLensVersion(Aws::String &&value)
Definition LensReview.h:84
LensReview & WithNextToken(const Aws::String &value)
Definition LensReview.h:177
void SetPillarReviewSummaries(const Aws::Vector< PillarReviewSummary > &value)
Definition LensReview.h:116
LensReview & WithJiraConfiguration(const JiraSelectedQuestionConfiguration &value)
Definition LensReview.h:132
LensReview & WithLensAlias(const Aws::String &value)
Definition LensReview.h:55
LensReview & AddRiskCounts(const Risk &key, int value)
Definition LensReview.h:166
LensReview & AddPillarReviewSummaries(PillarReviewSummary &&value)
Definition LensReview.h:121
void SetLensAlias(const Aws::String &value)
Definition LensReview.h:52
LensReview & AddPillarReviewSummaries(const PillarReviewSummary &value)
Definition LensReview.h:120
const Aws::String & GetLensArn() const
Definition LensReview.h:64
void SetNextToken(const Aws::String &value)
Definition LensReview.h:174
void SetProfiles(Aws::Vector< WorkloadProfile > &&value)
Definition LensReview.h:189
const Aws::String & GetLensName() const
Definition LensReview.h:90
LensReview & WithNotes(const char *value)
Definition LensReview.h:155
void SetLensAlias(Aws::String &&value)
Definition LensReview.h:53
LensReview & WithLensAlias(const char *value)
Definition LensReview.h:57
void SetLensName(Aws::String &&value)
Definition LensReview.h:93
void SetPillarReviewSummaries(Aws::Vector< PillarReviewSummary > &&value)
Definition LensReview.h:117
LensReview & AddRiskCounts(Risk &&key, int value)
Definition LensReview.h:167
AWS_WELLARCHITECTED_API LensReview()
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
LensReview & WithLensVersion(const Aws::String &value)
Definition LensReview.h:83
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition LensReview.h:140
LensReview & AddProfiles(WorkloadProfile &&value)
Definition LensReview.h:193
void SetLensName(const Aws::String &value)
Definition LensReview.h:92
LensReview & WithLensName(const Aws::String &value)
Definition LensReview.h:95
void SetRiskCounts(Aws::Map< Risk, int > &&value)
Definition LensReview.h:163
LensReview & WithNextToken(const char *value)
Definition LensReview.h:179
void SetLensName(const char *value)
Definition LensReview.h:94
const Aws::Vector< PillarReviewSummary > & GetPillarReviewSummaries() const
Definition LensReview.h:114
LensReview & WithNextToken(Aws::String &&value)
Definition LensReview.h:178
LensReview & WithRiskCounts(Aws::Map< Risk, int > &&value)
Definition LensReview.h:165
LensReview & AddProfiles(const WorkloadProfile &value)
Definition LensReview.h:192
void SetLensArn(Aws::String &&value)
Definition LensReview.h:67
void SetJiraConfiguration(JiraSelectedQuestionConfiguration &&value)
Definition LensReview.h:131
LensReview & WithLensName(Aws::String &&value)
Definition LensReview.h:96
const JiraSelectedQuestionConfiguration & GetJiraConfiguration() const
Definition LensReview.h:128
const Aws::String & GetLensAlias() const
Definition LensReview.h:50
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition LensReview.h:141
const Aws::String & GetLensVersion() const
Definition LensReview.h:78
const LensStatus & GetLensStatus() const
Definition LensReview.h:104
LensReview & WithLensAlias(Aws::String &&value)
Definition LensReview.h:56
LensReview & WithProfiles(Aws::Vector< WorkloadProfile > &&value)
Definition LensReview.h:191
void SetPrioritizedRiskCounts(const Aws::Map< Risk, int > &value)
Definition LensReview.h:200
void SetLensArn(const Aws::String &value)
Definition LensReview.h:66
LensReview & WithPillarReviewSummaries(const Aws::Vector< PillarReviewSummary > &value)
Definition LensReview.h:118
void SetRiskCounts(const Aws::Map< Risk, int > &value)
Definition LensReview.h:162
void SetPrioritizedRiskCounts(Aws::Map< Risk, int > &&value)
Definition LensReview.h:201
LensReview & AddPrioritizedRiskCounts(const Risk &key, int value)
Definition LensReview.h:204
AWS_WELLARCHITECTED_API LensReview(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< WorkloadProfile > & GetProfiles() const
Definition LensReview.h:186
LensReview & WithJiraConfiguration(JiraSelectedQuestionConfiguration &&value)
Definition LensReview.h:133
LensReview & WithPrioritizedRiskCounts(const Aws::Map< Risk, int > &value)
Definition LensReview.h:202
LensReview & WithNotes(const Aws::String &value)
Definition LensReview.h:153
LensReview & WithLensStatus(const LensStatus &value)
Definition LensReview.h:108
const Aws::Map< Risk, int > & GetPrioritizedRiskCounts() const
Definition LensReview.h:198
LensReview & WithNotes(Aws::String &&value)
Definition LensReview.h:154
void SetNotes(Aws::String &&value)
Definition LensReview.h:151
void SetProfiles(const Aws::Vector< WorkloadProfile > &value)
Definition LensReview.h:188
LensReview & WithRiskCounts(const Aws::Map< Risk, int > &value)
Definition LensReview.h:164
LensReview & WithPrioritizedRiskCounts(Aws::Map< Risk, int > &&value)
Definition LensReview.h:203
LensReview & WithLensArn(const Aws::String &value)
Definition LensReview.h:69
const Aws::String & GetNextToken() const
Definition LensReview.h:172
LensReview & WithProfiles(const Aws::Vector< WorkloadProfile > &value)
Definition LensReview.h:190
LensReview & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition LensReview.h:142
LensReview & AddPrioritizedRiskCounts(Risk &&key, int value)
Definition LensReview.h:205
LensReview & WithLensArn(const char *value)
Definition LensReview.h:71
const Aws::String & GetNotes() const
Definition LensReview.h:148
void SetJiraConfiguration(const JiraSelectedQuestionConfiguration &value)
Definition LensReview.h:130
const Aws::Map< Risk, int > & GetRiskCounts() const
Definition LensReview.h:160
void SetLensArn(const char *value)
Definition LensReview.h:68
void SetNextToken(const char *value)
Definition LensReview.h:176
void SetLensStatus(const LensStatus &value)
Definition LensReview.h:106
void SetNotes(const Aws::String &value)
Definition LensReview.h:150
void SetLensVersion(const Aws::String &value)
Definition LensReview.h:80
LensReview & WithLensName(const char *value)
Definition LensReview.h:97
void SetLensVersion(Aws::String &&value)
Definition LensReview.h:81
LensReview & WithLensVersion(const char *value)
Definition LensReview.h:85
LensReview & WithLensArn(Aws::String &&value)
Definition LensReview.h:70
LensReview & WithLensStatus(LensStatus &&value)
Definition LensReview.h:109
void SetNextToken(Aws::String &&value)
Definition LensReview.h:175
LensReview & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition LensReview.h:143
void SetLensAlias(const char *value)
Definition LensReview.h:54
void SetLensStatus(LensStatus &&value)
Definition LensReview.h:107
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition LensReview.h:138
void SetLensVersion(const char *value)
Definition LensReview.h:82
LensReview & WithPillarReviewSummaries(Aws::Vector< PillarReviewSummary > &&value)
Definition LensReview.h:119
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