7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/wellarchitected/WellArchitectedRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/wellarchitected/model/AnswerReason.h>
13#include <aws/wellarchitected/model/ChoiceUpdate.h>
18namespace WellArchitected
47 inline void SetTemplateArn(
const char* value) { m_templateArnHasBeenSet =
true; m_templateArn.assign(value); }
59 inline void SetLensAlias(
const char* value) { m_lensAliasHasBeenSet =
true; m_lensAlias.assign(value); }
71 inline void SetQuestionId(
const char* value) { m_questionIdHasBeenSet =
true; m_questionId.assign(value); }
114 inline void SetNotes(
const char* value) { m_notesHasBeenSet =
true; m_notes.assign(value); }
124 inline void SetIsApplicable(
bool value) { m_isApplicableHasBeenSet =
true; m_isApplicable = value; }
142 bool m_templateArnHasBeenSet =
false;
145 bool m_lensAliasHasBeenSet =
false;
148 bool m_questionIdHasBeenSet =
false;
151 bool m_selectedChoicesHasBeenSet =
false;
154 bool m_choiceUpdatesHasBeenSet =
false;
157 bool m_notesHasBeenSet =
false;
160 bool m_isApplicableHasBeenSet =
false;
163 bool m_reasonHasBeenSet =
false;
const Aws::String & GetNotes() const
void SetQuestionId(Aws::String &&value)
UpdateReviewTemplateAnswerRequest & AddChoiceUpdates(const Aws::String &key, const ChoiceUpdate &value)
void SetIsApplicable(bool value)
UpdateReviewTemplateAnswerRequest & WithQuestionId(const char *value)
UpdateReviewTemplateAnswerRequest & WithIsApplicable(bool value)
UpdateReviewTemplateAnswerRequest & WithLensAlias(const Aws::String &value)
void SetChoiceUpdates(Aws::Map< Aws::String, ChoiceUpdate > &&value)
void SetNotes(Aws::String &&value)
UpdateReviewTemplateAnswerRequest & WithChoiceUpdates(Aws::Map< Aws::String, ChoiceUpdate > &&value)
void SetReason(const AnswerReason &value)
const Aws::String & GetQuestionId() const
UpdateReviewTemplateAnswerRequest & WithSelectedChoices(Aws::Vector< Aws::String > &&value)
void SetSelectedChoices(const Aws::Vector< Aws::String > &value)
AWS_WELLARCHITECTED_API UpdateReviewTemplateAnswerRequest()
void SetNotes(const Aws::String &value)
UpdateReviewTemplateAnswerRequest & WithReason(AnswerReason &&value)
const Aws::String & GetTemplateArn() const
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateReviewTemplateAnswerRequest & AddSelectedChoices(Aws::String &&value)
UpdateReviewTemplateAnswerRequest & AddChoiceUpdates(const char *key, ChoiceUpdate &&value)
UpdateReviewTemplateAnswerRequest & AddChoiceUpdates(Aws::String &&key, ChoiceUpdate &&value)
UpdateReviewTemplateAnswerRequest & AddChoiceUpdates(const char *key, const ChoiceUpdate &value)
bool ChoiceUpdatesHasBeenSet() const
UpdateReviewTemplateAnswerRequest & WithNotes(const Aws::String &value)
UpdateReviewTemplateAnswerRequest & AddChoiceUpdates(Aws::String &&key, const ChoiceUpdate &value)
void SetQuestionId(const char *value)
void SetReason(AnswerReason &&value)
UpdateReviewTemplateAnswerRequest & WithTemplateArn(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSelectedChoices() const
void SetTemplateArn(const Aws::String &value)
UpdateReviewTemplateAnswerRequest & WithLensAlias(Aws::String &&value)
UpdateReviewTemplateAnswerRequest & WithNotes(Aws::String &&value)
void SetSelectedChoices(Aws::Vector< Aws::String > &&value)
void SetNotes(const char *value)
UpdateReviewTemplateAnswerRequest & AddSelectedChoices(const char *value)
UpdateReviewTemplateAnswerRequest & WithLensAlias(const char *value)
void SetLensAlias(const Aws::String &value)
UpdateReviewTemplateAnswerRequest & WithQuestionId(const Aws::String &value)
UpdateReviewTemplateAnswerRequest & AddSelectedChoices(const Aws::String &value)
const Aws::Map< Aws::String, ChoiceUpdate > & GetChoiceUpdates() const
bool TemplateArnHasBeenSet() const
void SetQuestionId(const Aws::String &value)
void SetTemplateArn(const char *value)
void SetLensAlias(Aws::String &&value)
bool NotesHasBeenSet() const
bool IsApplicableHasBeenSet() const
bool QuestionIdHasBeenSet() const
UpdateReviewTemplateAnswerRequest & WithNotes(const char *value)
void SetLensAlias(const char *value)
UpdateReviewTemplateAnswerRequest & WithReason(const AnswerReason &value)
UpdateReviewTemplateAnswerRequest & AddChoiceUpdates(const Aws::String &key, ChoiceUpdate &&value)
UpdateReviewTemplateAnswerRequest & WithSelectedChoices(const Aws::Vector< Aws::String > &value)
bool ReasonHasBeenSet() const
bool SelectedChoicesHasBeenSet() const
void SetChoiceUpdates(const Aws::Map< Aws::String, ChoiceUpdate > &value)
UpdateReviewTemplateAnswerRequest & WithChoiceUpdates(const Aws::Map< Aws::String, ChoiceUpdate > &value)
const Aws::String & GetLensAlias() const
void SetTemplateArn(Aws::String &&value)
UpdateReviewTemplateAnswerRequest & WithTemplateArn(const char *value)
bool GetIsApplicable() const
UpdateReviewTemplateAnswerRequest & WithTemplateArn(Aws::String &&value)
bool LensAliasHasBeenSet() const
UpdateReviewTemplateAnswerRequest & WithQuestionId(Aws::String &&value)
const AnswerReason & GetReason() const
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