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/Question.h>
13#include <aws/wellarchitected/model/ReviewTemplateUpdateStatus.h>
24namespace WellArchitected {
45 template <
typename DescriptionT = Aws::String>
47 m_descriptionHasBeenSet =
true;
48 m_description = std::forward<DescriptionT>(value);
50 template <
typename DescriptionT = Aws::String>
63 template <
typename LensesT = Aws::Vector<Aws::String>>
65 m_lensesHasBeenSet =
true;
66 m_lenses = std::forward<LensesT>(value);
68 template <
typename LensesT = Aws::Vector<Aws::String>>
73 template <
typename LensesT = Aws::String>
75 m_lensesHasBeenSet =
true;
76 m_lenses.emplace_back(std::forward<LensesT>(value));
85 template <
typename NotesT = Aws::String>
87 m_notesHasBeenSet =
true;
88 m_notes = std::forward<NotesT>(value);
90 template <
typename NotesT = Aws::String>
92 SetNotes(std::forward<NotesT>(value));
104 template <
typename QuestionCountsT = Aws::Map<Question,
int>>
106 m_questionCountsHasBeenSet =
true;
107 m_questionCounts = std::forward<QuestionCountsT>(value);
109 template <
typename QuestionCountsT = Aws::Map<Question,
int>>
115 m_questionCountsHasBeenSet =
true;
116 m_questionCounts.emplace(key, value);
125 template <
typename OwnerT = Aws::String>
127 m_ownerHasBeenSet =
true;
128 m_owner = std::forward<OwnerT>(value);
130 template <
typename OwnerT = Aws::String>
132 SetOwner(std::forward<OwnerT>(value));
141 template <
typename UpdatedAtT = Aws::Utils::DateTime>
143 m_updatedAtHasBeenSet =
true;
144 m_updatedAt = std::forward<UpdatedAtT>(value);
146 template <
typename UpdatedAtT = Aws::Utils::DateTime>
159 template <
typename TemplateArnT = Aws::String>
161 m_templateArnHasBeenSet =
true;
162 m_templateArn = std::forward<TemplateArnT>(value);
164 template <
typename TemplateArnT = Aws::String>
177 template <
typename TemplateNameT = Aws::String>
179 m_templateNameHasBeenSet =
true;
180 m_templateName = std::forward<TemplateNameT>(value);
182 template <
typename TemplateNameT = Aws::String>
195 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
197 m_tagsHasBeenSet =
true;
198 m_tags = std::forward<TagsT>(value);
200 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
202 SetTags(std::forward<TagsT>(value));
205 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
207 m_tagsHasBeenSet =
true;
208 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
220 m_updateStatusHasBeenSet =
true;
221 m_updateStatus = value;
235 template <
typename ShareInvitationIdT = Aws::String>
237 m_shareInvitationIdHasBeenSet =
true;
238 m_shareInvitationId = std::forward<ShareInvitationIdT>(value);
240 template <
typename ShareInvitationIdT = Aws::String>
248 bool m_descriptionHasBeenSet =
false;
251 bool m_lensesHasBeenSet =
false;
254 bool m_notesHasBeenSet =
false;
257 bool m_questionCountsHasBeenSet =
false;
260 bool m_ownerHasBeenSet =
false;
263 bool m_updatedAtHasBeenSet =
false;
266 bool m_templateArnHasBeenSet =
false;
269 bool m_templateNameHasBeenSet =
false;
272 bool m_tagsHasBeenSet =
false;
275 bool m_updateStatusHasBeenSet =
false;
278 bool m_shareInvitationIdHasBeenSet =
false;
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool LensesHasBeenSet() const
ReviewTemplate & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Vector< Aws::String > & GetLenses() const
const Aws::String & GetNotes() const
bool TemplateArnHasBeenSet() const
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
void SetShareInvitationId(ShareInvitationIdT &&value)
AWS_WELLARCHITECTED_API ReviewTemplate(Aws::Utils::Json::JsonView jsonValue)
void SetTags(TagsT &&value)
ReviewTemplate & AddQuestionCounts(Question key, int value)
ReviewTemplate & WithUpdatedAt(UpdatedAtT &&value)
bool TemplateNameHasBeenSet() const
const Aws::String & GetTemplateName() const
ReviewTemplate & WithShareInvitationId(ShareInvitationIdT &&value)
bool QuestionCountsHasBeenSet() const
void SetUpdateStatus(ReviewTemplateUpdateStatus value)
ReviewTemplate & WithDescription(DescriptionT &&value)
const Aws::String & GetShareInvitationId() const
ReviewTemplate & WithTemplateArn(TemplateArnT &&value)
ReviewTemplate & WithOwner(OwnerT &&value)
ReviewTemplate & WithTemplateName(TemplateNameT &&value)
AWS_WELLARCHITECTED_API ReviewTemplate()=default
void SetLenses(LensesT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetTemplateArn() const
ReviewTemplateUpdateStatus GetUpdateStatus() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetQuestionCounts(QuestionCountsT &&value)
ReviewTemplate & AddLenses(LensesT &&value)
const Aws::String & GetOwner() const
void SetDescription(DescriptionT &&value)
void SetTemplateArn(TemplateArnT &&value)
bool DescriptionHasBeenSet() const
ReviewTemplate & WithUpdateStatus(ReviewTemplateUpdateStatus value)
ReviewTemplate & WithQuestionCounts(QuestionCountsT &&value)
bool NotesHasBeenSet() const
bool TagsHasBeenSet() const
ReviewTemplate & WithLenses(LensesT &&value)
bool UpdateStatusHasBeenSet() const
bool OwnerHasBeenSet() const
ReviewTemplate & WithTags(TagsT &&value)
AWS_WELLARCHITECTED_API ReviewTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
bool UpdatedAtHasBeenSet() const
void SetOwner(OwnerT &&value)
bool ShareInvitationIdHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
ReviewTemplate & WithNotes(NotesT &&value)
void SetTemplateName(TemplateNameT &&value)
const Aws::Map< Question, int > & GetQuestionCounts() const
void SetNotes(NotesT &&value)
ReviewTemplateUpdateStatus
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