AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReviewTemplateLensReview.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/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/wellarchitected/model/ReviewTemplatePillarReviewSummary.h>
14#include <aws/wellarchitected/model/Question.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace WellArchitected
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_WELLARCHITECTED_API ReviewTemplateLensReview();
41 AWS_WELLARCHITECTED_API ReviewTemplateLensReview(Aws::Utils::Json::JsonView jsonValue);
43 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
48 inline const Aws::String& GetLensAlias() const{ return m_lensAlias; }
49 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
50 inline void SetLensAlias(const Aws::String& value) { m_lensAliasHasBeenSet = true; m_lensAlias = value; }
51 inline void SetLensAlias(Aws::String&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::move(value); }
52 inline void SetLensAlias(const char* value) { m_lensAliasHasBeenSet = true; m_lensAlias.assign(value); }
53 inline ReviewTemplateLensReview& WithLensAlias(const Aws::String& value) { SetLensAlias(value); return *this;}
54 inline ReviewTemplateLensReview& WithLensAlias(Aws::String&& value) { SetLensAlias(std::move(value)); return *this;}
55 inline ReviewTemplateLensReview& WithLensAlias(const char* value) { SetLensAlias(value); return *this;}
57
59
62 inline const Aws::String& GetLensArn() const{ return m_lensArn; }
63 inline bool LensArnHasBeenSet() const { return m_lensArnHasBeenSet; }
64 inline void SetLensArn(const Aws::String& value) { m_lensArnHasBeenSet = true; m_lensArn = value; }
65 inline void SetLensArn(Aws::String&& value) { m_lensArnHasBeenSet = true; m_lensArn = std::move(value); }
66 inline void SetLensArn(const char* value) { m_lensArnHasBeenSet = true; m_lensArn.assign(value); }
67 inline ReviewTemplateLensReview& WithLensArn(const Aws::String& value) { SetLensArn(value); return *this;}
68 inline ReviewTemplateLensReview& WithLensArn(Aws::String&& value) { SetLensArn(std::move(value)); return *this;}
69 inline ReviewTemplateLensReview& WithLensArn(const char* value) { SetLensArn(value); return *this;}
71
73
76 inline const Aws::String& GetLensVersion() const{ return m_lensVersion; }
77 inline bool LensVersionHasBeenSet() const { return m_lensVersionHasBeenSet; }
78 inline void SetLensVersion(const Aws::String& value) { m_lensVersionHasBeenSet = true; m_lensVersion = value; }
79 inline void SetLensVersion(Aws::String&& value) { m_lensVersionHasBeenSet = true; m_lensVersion = std::move(value); }
80 inline void SetLensVersion(const char* value) { m_lensVersionHasBeenSet = true; m_lensVersion.assign(value); }
81 inline ReviewTemplateLensReview& WithLensVersion(const Aws::String& value) { SetLensVersion(value); return *this;}
82 inline ReviewTemplateLensReview& WithLensVersion(Aws::String&& value) { SetLensVersion(std::move(value)); return *this;}
83 inline ReviewTemplateLensReview& WithLensVersion(const char* value) { SetLensVersion(value); return *this;}
85
87
88 inline const Aws::String& GetLensName() const{ return m_lensName; }
89 inline bool LensNameHasBeenSet() const { return m_lensNameHasBeenSet; }
90 inline void SetLensName(const Aws::String& value) { m_lensNameHasBeenSet = true; m_lensName = value; }
91 inline void SetLensName(Aws::String&& value) { m_lensNameHasBeenSet = true; m_lensName = std::move(value); }
92 inline void SetLensName(const char* value) { m_lensNameHasBeenSet = true; m_lensName.assign(value); }
93 inline ReviewTemplateLensReview& WithLensName(const Aws::String& value) { SetLensName(value); return *this;}
94 inline ReviewTemplateLensReview& WithLensName(Aws::String&& value) { SetLensName(std::move(value)); return *this;}
95 inline ReviewTemplateLensReview& WithLensName(const char* value) { SetLensName(value); return *this;}
97
99
102 inline const LensStatus& GetLensStatus() const{ return m_lensStatus; }
103 inline bool LensStatusHasBeenSet() const { return m_lensStatusHasBeenSet; }
104 inline void SetLensStatus(const LensStatus& value) { m_lensStatusHasBeenSet = true; m_lensStatus = value; }
105 inline void SetLensStatus(LensStatus&& value) { m_lensStatusHasBeenSet = true; m_lensStatus = std::move(value); }
106 inline ReviewTemplateLensReview& WithLensStatus(const LensStatus& value) { SetLensStatus(value); return *this;}
107 inline ReviewTemplateLensReview& WithLensStatus(LensStatus&& value) { SetLensStatus(std::move(value)); return *this;}
109
111
114 inline const Aws::Vector<ReviewTemplatePillarReviewSummary>& GetPillarReviewSummaries() const{ return m_pillarReviewSummaries; }
115 inline bool PillarReviewSummariesHasBeenSet() const { return m_pillarReviewSummariesHasBeenSet; }
116 inline void SetPillarReviewSummaries(const Aws::Vector<ReviewTemplatePillarReviewSummary>& value) { m_pillarReviewSummariesHasBeenSet = true; m_pillarReviewSummaries = value; }
117 inline void SetPillarReviewSummaries(Aws::Vector<ReviewTemplatePillarReviewSummary>&& value) { m_pillarReviewSummariesHasBeenSet = true; m_pillarReviewSummaries = std::move(value); }
120 inline ReviewTemplateLensReview& AddPillarReviewSummaries(const ReviewTemplatePillarReviewSummary& value) { m_pillarReviewSummariesHasBeenSet = true; m_pillarReviewSummaries.push_back(value); return *this; }
121 inline ReviewTemplateLensReview& AddPillarReviewSummaries(ReviewTemplatePillarReviewSummary&& value) { m_pillarReviewSummariesHasBeenSet = true; m_pillarReviewSummaries.push_back(std::move(value)); return *this; }
123
125
126 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
127 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
128 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
129 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
130 inline ReviewTemplateLensReview& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
131 inline ReviewTemplateLensReview& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
133
135
136 inline const Aws::String& GetNotes() const{ return m_notes; }
137 inline bool NotesHasBeenSet() const { return m_notesHasBeenSet; }
138 inline void SetNotes(const Aws::String& value) { m_notesHasBeenSet = true; m_notes = value; }
139 inline void SetNotes(Aws::String&& value) { m_notesHasBeenSet = true; m_notes = std::move(value); }
140 inline void SetNotes(const char* value) { m_notesHasBeenSet = true; m_notes.assign(value); }
141 inline ReviewTemplateLensReview& WithNotes(const Aws::String& value) { SetNotes(value); return *this;}
142 inline ReviewTemplateLensReview& WithNotes(Aws::String&& value) { SetNotes(std::move(value)); return *this;}
143 inline ReviewTemplateLensReview& WithNotes(const char* value) { SetNotes(value); return *this;}
145
147
151 inline const Aws::Map<Question, int>& GetQuestionCounts() const{ return m_questionCounts; }
152 inline bool QuestionCountsHasBeenSet() const { return m_questionCountsHasBeenSet; }
153 inline void SetQuestionCounts(const Aws::Map<Question, int>& value) { m_questionCountsHasBeenSet = true; m_questionCounts = value; }
154 inline void SetQuestionCounts(Aws::Map<Question, int>&& value) { m_questionCountsHasBeenSet = true; m_questionCounts = std::move(value); }
157 inline ReviewTemplateLensReview& AddQuestionCounts(const Question& key, int value) { m_questionCountsHasBeenSet = true; m_questionCounts.emplace(key, value); return *this; }
158 inline ReviewTemplateLensReview& AddQuestionCounts(Question&& key, int value) { m_questionCountsHasBeenSet = true; m_questionCounts.emplace(std::move(key), value); return *this; }
160
162
163 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
164 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
165 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
166 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
167 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
168 inline ReviewTemplateLensReview& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
169 inline ReviewTemplateLensReview& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
170 inline ReviewTemplateLensReview& WithNextToken(const char* value) { SetNextToken(value); return *this;}
172 private:
173
174 Aws::String m_lensAlias;
175 bool m_lensAliasHasBeenSet = false;
176
177 Aws::String m_lensArn;
178 bool m_lensArnHasBeenSet = false;
179
180 Aws::String m_lensVersion;
181 bool m_lensVersionHasBeenSet = false;
182
183 Aws::String m_lensName;
184 bool m_lensNameHasBeenSet = false;
185
186 LensStatus m_lensStatus;
187 bool m_lensStatusHasBeenSet = false;
188
190 bool m_pillarReviewSummariesHasBeenSet = false;
191
192 Aws::Utils::DateTime m_updatedAt;
193 bool m_updatedAtHasBeenSet = false;
194
195 Aws::String m_notes;
196 bool m_notesHasBeenSet = false;
197
198 Aws::Map<Question, int> m_questionCounts;
199 bool m_questionCountsHasBeenSet = false;
200
201 Aws::String m_nextToken;
202 bool m_nextTokenHasBeenSet = false;
203 };
204
205} // namespace Model
206} // namespace WellArchitected
207} // namespace Aws
ReviewTemplateLensReview & WithNotes(const Aws::String &value)
ReviewTemplateLensReview & AddQuestionCounts(Question &&key, int value)
ReviewTemplateLensReview & WithLensVersion(const Aws::String &value)
ReviewTemplateLensReview & WithNotes(const char *value)
void SetPillarReviewSummaries(const Aws::Vector< ReviewTemplatePillarReviewSummary > &value)
ReviewTemplateLensReview & WithLensArn(const Aws::String &value)
ReviewTemplateLensReview & WithLensName(Aws::String &&value)
ReviewTemplateLensReview & WithLensAlias(const char *value)
ReviewTemplateLensReview & AddQuestionCounts(const Question &key, int value)
ReviewTemplateLensReview & WithLensAlias(const Aws::String &value)
ReviewTemplateLensReview & WithNextToken(const Aws::String &value)
ReviewTemplateLensReview & WithQuestionCounts(Aws::Map< Question, int > &&value)
ReviewTemplateLensReview & WithLensStatus(const LensStatus &value)
ReviewTemplateLensReview & WithLensName(const Aws::String &value)
ReviewTemplateLensReview & WithLensName(const char *value)
ReviewTemplateLensReview & WithLensAlias(Aws::String &&value)
ReviewTemplateLensReview & WithNextToken(const char *value)
ReviewTemplateLensReview & WithUpdatedAt(const Aws::Utils::DateTime &value)
ReviewTemplateLensReview & AddPillarReviewSummaries(const ReviewTemplatePillarReviewSummary &value)
ReviewTemplateLensReview & WithPillarReviewSummaries(Aws::Vector< ReviewTemplatePillarReviewSummary > &&value)
ReviewTemplateLensReview & WithPillarReviewSummaries(const Aws::Vector< ReviewTemplatePillarReviewSummary > &value)
ReviewTemplateLensReview & WithLensArn(Aws::String &&value)
ReviewTemplateLensReview & WithQuestionCounts(const Aws::Map< Question, int > &value)
const Aws::Vector< ReviewTemplatePillarReviewSummary > & GetPillarReviewSummaries() const
const Aws::Map< Question, int > & GetQuestionCounts() const
ReviewTemplateLensReview & WithLensStatus(LensStatus &&value)
ReviewTemplateLensReview & WithNextToken(Aws::String &&value)
ReviewTemplateLensReview & WithUpdatedAt(Aws::Utils::DateTime &&value)
ReviewTemplateLensReview & WithLensVersion(Aws::String &&value)
AWS_WELLARCHITECTED_API ReviewTemplateLensReview & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetQuestionCounts(Aws::Map< Question, int > &&value)
void SetQuestionCounts(const Aws::Map< Question, int > &value)
ReviewTemplateLensReview & WithLensVersion(const char *value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
ReviewTemplateLensReview & WithNotes(Aws::String &&value)
ReviewTemplateLensReview & WithLensArn(const char *value)
AWS_WELLARCHITECTED_API ReviewTemplateLensReview(Aws::Utils::Json::JsonView jsonValue)
void SetPillarReviewSummaries(Aws::Vector< ReviewTemplatePillarReviewSummary > &&value)
ReviewTemplateLensReview & AddPillarReviewSummaries(ReviewTemplatePillarReviewSummary &&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