AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename LensAliasT = Aws::String>
51 void SetLensAlias(LensAliasT&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::forward<LensAliasT>(value); }
52 template<typename LensAliasT = Aws::String>
53 ReviewTemplateLensReview& WithLensAlias(LensAliasT&& value) { SetLensAlias(std::forward<LensAliasT>(value)); return *this;}
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) { m_lensArnHasBeenSet = true; m_lensArn = std::forward<LensArnT>(value); }
64 template<typename LensArnT = Aws::String>
65 ReviewTemplateLensReview& WithLensArn(LensArnT&& value) { SetLensArn(std::forward<LensArnT>(value)); return *this;}
67
69
72 inline const Aws::String& GetLensVersion() const { return m_lensVersion; }
73 inline bool LensVersionHasBeenSet() const { return m_lensVersionHasBeenSet; }
74 template<typename LensVersionT = Aws::String>
75 void SetLensVersion(LensVersionT&& value) { m_lensVersionHasBeenSet = true; m_lensVersion = std::forward<LensVersionT>(value); }
76 template<typename LensVersionT = Aws::String>
77 ReviewTemplateLensReview& WithLensVersion(LensVersionT&& value) { SetLensVersion(std::forward<LensVersionT>(value)); return *this;}
79
81
82 inline const Aws::String& GetLensName() const { return m_lensName; }
83 inline bool LensNameHasBeenSet() const { return m_lensNameHasBeenSet; }
84 template<typename LensNameT = Aws::String>
85 void SetLensName(LensNameT&& value) { m_lensNameHasBeenSet = true; m_lensName = std::forward<LensNameT>(value); }
86 template<typename LensNameT = Aws::String>
87 ReviewTemplateLensReview& WithLensName(LensNameT&& value) { SetLensName(std::forward<LensNameT>(value)); return *this;}
89
91
94 inline LensStatus GetLensStatus() const { return m_lensStatus; }
95 inline bool LensStatusHasBeenSet() const { return m_lensStatusHasBeenSet; }
96 inline void SetLensStatus(LensStatus value) { m_lensStatusHasBeenSet = true; m_lensStatus = value; }
97 inline ReviewTemplateLensReview& WithLensStatus(LensStatus value) { SetLensStatus(value); return *this;}
99
101
104 inline const Aws::Vector<ReviewTemplatePillarReviewSummary>& GetPillarReviewSummaries() const { return m_pillarReviewSummaries; }
105 inline bool PillarReviewSummariesHasBeenSet() const { return m_pillarReviewSummariesHasBeenSet; }
106 template<typename PillarReviewSummariesT = Aws::Vector<ReviewTemplatePillarReviewSummary>>
107 void SetPillarReviewSummaries(PillarReviewSummariesT&& value) { m_pillarReviewSummariesHasBeenSet = true; m_pillarReviewSummaries = std::forward<PillarReviewSummariesT>(value); }
108 template<typename PillarReviewSummariesT = Aws::Vector<ReviewTemplatePillarReviewSummary>>
109 ReviewTemplateLensReview& WithPillarReviewSummaries(PillarReviewSummariesT&& value) { SetPillarReviewSummaries(std::forward<PillarReviewSummariesT>(value)); return *this;}
110 template<typename PillarReviewSummariesT = ReviewTemplatePillarReviewSummary>
111 ReviewTemplateLensReview& AddPillarReviewSummaries(PillarReviewSummariesT&& value) { m_pillarReviewSummariesHasBeenSet = true; m_pillarReviewSummaries.emplace_back(std::forward<PillarReviewSummariesT>(value)); return *this; }
113
115
116 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
117 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
118 template<typename UpdatedAtT = Aws::Utils::DateTime>
119 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
120 template<typename UpdatedAtT = Aws::Utils::DateTime>
121 ReviewTemplateLensReview& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
123
125
126 inline const Aws::String& GetNotes() const { return m_notes; }
127 inline bool NotesHasBeenSet() const { return m_notesHasBeenSet; }
128 template<typename NotesT = Aws::String>
129 void SetNotes(NotesT&& value) { m_notesHasBeenSet = true; m_notes = std::forward<NotesT>(value); }
130 template<typename NotesT = Aws::String>
131 ReviewTemplateLensReview& WithNotes(NotesT&& value) { SetNotes(std::forward<NotesT>(value)); return *this;}
133
135
139 inline const Aws::Map<Question, int>& GetQuestionCounts() const { return m_questionCounts; }
140 inline bool QuestionCountsHasBeenSet() const { return m_questionCountsHasBeenSet; }
141 template<typename QuestionCountsT = Aws::Map<Question, int>>
142 void SetQuestionCounts(QuestionCountsT&& value) { m_questionCountsHasBeenSet = true; m_questionCounts = std::forward<QuestionCountsT>(value); }
143 template<typename QuestionCountsT = Aws::Map<Question, int>>
144 ReviewTemplateLensReview& WithQuestionCounts(QuestionCountsT&& value) { SetQuestionCounts(std::forward<QuestionCountsT>(value)); return *this;}
146 m_questionCountsHasBeenSet = true; m_questionCounts.emplace(key, value); return *this;
147 }
149
151
152 inline const Aws::String& GetNextToken() const { return m_nextToken; }
153 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
154 template<typename NextTokenT = Aws::String>
155 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
156 template<typename NextTokenT = Aws::String>
157 ReviewTemplateLensReview& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
159 private:
160
161 Aws::String m_lensAlias;
162 bool m_lensAliasHasBeenSet = false;
163
164 Aws::String m_lensArn;
165 bool m_lensArnHasBeenSet = false;
166
167 Aws::String m_lensVersion;
168 bool m_lensVersionHasBeenSet = false;
169
170 Aws::String m_lensName;
171 bool m_lensNameHasBeenSet = false;
172
173 LensStatus m_lensStatus{LensStatus::NOT_SET};
174 bool m_lensStatusHasBeenSet = false;
175
177 bool m_pillarReviewSummariesHasBeenSet = false;
178
179 Aws::Utils::DateTime m_updatedAt{};
180 bool m_updatedAtHasBeenSet = false;
181
182 Aws::String m_notes;
183 bool m_notesHasBeenSet = false;
184
185 Aws::Map<Question, int> m_questionCounts;
186 bool m_questionCountsHasBeenSet = false;
187
188 Aws::String m_nextToken;
189 bool m_nextTokenHasBeenSet = false;
190 };
191
192} // namespace Model
193} // namespace WellArchitected
194} // 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