7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/wellarchitected/model/ReviewTemplateUpdateStatus.h>
13#include <aws/wellarchitected/model/Question.h>
26namespace WellArchitected
51 template<
typename DescriptionT = Aws::String>
52 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
53 template<
typename DescriptionT = Aws::String>
63 template<
typename LensesT = Aws::Vector<Aws::String>>
64 void SetLenses(LensesT&& value) { m_lensesHasBeenSet =
true; m_lenses = std::forward<LensesT>(value); }
65 template<
typename LensesT = Aws::Vector<Aws::String>>
67 template<
typename LensesT = Aws::String>
68 ReviewTemplate&
AddLenses(LensesT&& value) { m_lensesHasBeenSet =
true; m_lenses.emplace_back(std::forward<LensesT>(value));
return *
this; }
75 template<
typename NotesT = Aws::String>
76 void SetNotes(NotesT&& value) { m_notesHasBeenSet =
true; m_notes = std::forward<NotesT>(value); }
77 template<
typename NotesT = Aws::String>
88 template<
typename QuestionCountsT = Aws::Map<Question,
int>>
89 void SetQuestionCounts(QuestionCountsT&& value) { m_questionCountsHasBeenSet =
true; m_questionCounts = std::forward<QuestionCountsT>(value); }
90 template<
typename QuestionCountsT = Aws::Map<Question,
int>>
93 m_questionCountsHasBeenSet =
true; m_questionCounts.emplace(key, value);
return *
this;
101 template<
typename OwnerT = Aws::String>
102 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
103 template<
typename OwnerT = Aws::String>
111 template<
typename UpdatedAtT = Aws::Utils::DateTime>
112 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
113 template<
typename UpdatedAtT = Aws::Utils::DateTime>
123 template<
typename TemplateArnT = Aws::String>
124 void SetTemplateArn(TemplateArnT&& value) { m_templateArnHasBeenSet =
true; m_templateArn = std::forward<TemplateArnT>(value); }
125 template<
typename TemplateArnT = Aws::String>
135 template<
typename TemplateNameT = Aws::String>
136 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet =
true; m_templateName = std::forward<TemplateNameT>(value); }
137 template<
typename TemplateNameT = Aws::String>
147 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
148 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
149 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
151 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
153 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
173 template<
typename ShareInvitationIdT = Aws::String>
174 void SetShareInvitationId(ShareInvitationIdT&& value) { m_shareInvitationIdHasBeenSet =
true; m_shareInvitationId = std::forward<ShareInvitationIdT>(value); }
175 template<
typename ShareInvitationIdT = Aws::String>
181 bool m_descriptionHasBeenSet =
false;
184 bool m_lensesHasBeenSet =
false;
187 bool m_notesHasBeenSet =
false;
190 bool m_questionCountsHasBeenSet =
false;
193 bool m_ownerHasBeenSet =
false;
196 bool m_updatedAtHasBeenSet =
false;
199 bool m_templateArnHasBeenSet =
false;
202 bool m_templateNameHasBeenSet =
false;
205 bool m_tagsHasBeenSet =
false;
208 bool m_updateStatusHasBeenSet =
false;
211 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