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
48 inline void SetWorkloadId(
const char* value) { m_workloadIdHasBeenSet =
true; m_workloadId.assign(value); }
60 inline void SetLensAlias(
const char* value) { m_lensAliasHasBeenSet =
true; m_lensAlias.assign(value); }
72 inline void SetQuestionId(
const char* value) { m_questionIdHasBeenSet =
true; m_questionId.assign(value); }
116 inline void SetNotes(
const char* value) { m_notesHasBeenSet =
true; m_notes.assign(value); }
126 inline void SetIsApplicable(
bool value) { m_isApplicableHasBeenSet =
true; m_isApplicable = value; }
144 bool m_workloadIdHasBeenSet =
false;
147 bool m_lensAliasHasBeenSet =
false;
150 bool m_questionIdHasBeenSet =
false;
153 bool m_selectedChoicesHasBeenSet =
false;
156 bool m_choiceUpdatesHasBeenSet =
false;
159 bool m_notesHasBeenSet =
false;
162 bool m_isApplicableHasBeenSet =
false;
165 bool m_reasonHasBeenSet =
false;
UpdateAnswerRequest & AddSelectedChoices(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSelectedChoices() const
UpdateAnswerRequest & WithQuestionId(Aws::String &&value)
void SetChoiceUpdates(const Aws::Map< Aws::String, ChoiceUpdate > &value)
UpdateAnswerRequest & WithSelectedChoices(Aws::Vector< Aws::String > &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
UpdateAnswerRequest & AddSelectedChoices(const char *value)
UpdateAnswerRequest & WithLensAlias(const Aws::String &value)
bool QuestionIdHasBeenSet() const
UpdateAnswerRequest & WithWorkloadId(const Aws::String &value)
const Aws::String & GetQuestionId() const
void SetLensAlias(const Aws::String &value)
void SetReason(AnswerReason &&value)
UpdateAnswerRequest & WithQuestionId(const char *value)
UpdateAnswerRequest & AddChoiceUpdates(Aws::String &&key, const ChoiceUpdate &value)
bool SelectedChoicesHasBeenSet() const
bool ChoiceUpdatesHasBeenSet() const
UpdateAnswerRequest & WithQuestionId(const Aws::String &value)
UpdateAnswerRequest & AddChoiceUpdates(const char *key, ChoiceUpdate &&value)
void SetNotes(Aws::String &&value)
UpdateAnswerRequest & WithChoiceUpdates(Aws::Map< Aws::String, ChoiceUpdate > &&value)
void SetChoiceUpdates(Aws::Map< Aws::String, ChoiceUpdate > &&value)
const Aws::String & GetLensAlias() const
void SetQuestionId(const Aws::String &value)
UpdateAnswerRequest & WithNotes(Aws::String &&value)
bool WorkloadIdHasBeenSet() const
UpdateAnswerRequest & WithWorkloadId(const char *value)
bool LensAliasHasBeenSet() const
void SetSelectedChoices(Aws::Vector< Aws::String > &&value)
bool IsApplicableHasBeenSet() const
UpdateAnswerRequest & WithWorkloadId(Aws::String &&value)
void SetQuestionId(Aws::String &&value)
UpdateAnswerRequest & WithNotes(const Aws::String &value)
void SetWorkloadId(const Aws::String &value)
void SetNotes(const Aws::String &value)
UpdateAnswerRequest & WithReason(const AnswerReason &value)
UpdateAnswerRequest & WithNotes(const char *value)
UpdateAnswerRequest & WithReason(AnswerReason &&value)
const Aws::String & GetWorkloadId() const
UpdateAnswerRequest & AddChoiceUpdates(const char *key, const ChoiceUpdate &value)
UpdateAnswerRequest & WithIsApplicable(bool value)
UpdateAnswerRequest & WithChoiceUpdates(const Aws::Map< Aws::String, ChoiceUpdate > &value)
void SetWorkloadId(const char *value)
UpdateAnswerRequest & AddChoiceUpdates(Aws::String &&key, ChoiceUpdate &&value)
bool GetIsApplicable() const
UpdateAnswerRequest & AddSelectedChoices(Aws::String &&value)
UpdateAnswerRequest & WithLensAlias(Aws::String &&value)
void SetNotes(const char *value)
const Aws::String & GetNotes() const
virtual const char * GetServiceRequestName() const override
UpdateAnswerRequest & AddChoiceUpdates(const Aws::String &key, const ChoiceUpdate &value)
void SetLensAlias(Aws::String &&value)
void SetSelectedChoices(const Aws::Vector< Aws::String > &value)
UpdateAnswerRequest & WithLensAlias(const char *value)
bool ReasonHasBeenSet() const
const AnswerReason & GetReason() const
void SetReason(const AnswerReason &value)
void SetLensAlias(const char *value)
AWS_WELLARCHITECTED_API UpdateAnswerRequest()
void SetQuestionId(const char *value)
const Aws::Map< Aws::String, ChoiceUpdate > & GetChoiceUpdates() const
UpdateAnswerRequest & AddChoiceUpdates(const Aws::String &key, ChoiceUpdate &&value)
UpdateAnswerRequest & WithSelectedChoices(const Aws::Vector< Aws::String > &value)
void SetWorkloadId(Aws::String &&value)
bool NotesHasBeenSet() const
void SetIsApplicable(bool 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