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
46 template<
typename WorkloadIdT = Aws::String>
47 void SetWorkloadId(WorkloadIdT&& value) { m_workloadIdHasBeenSet =
true; m_workloadId = std::forward<WorkloadIdT>(value); }
48 template<
typename WorkloadIdT = Aws::String>
56 template<
typename LensAliasT = Aws::String>
57 void SetLensAlias(LensAliasT&& value) { m_lensAliasHasBeenSet =
true; m_lensAlias = std::forward<LensAliasT>(value); }
58 template<
typename LensAliasT = Aws::String>
66 template<
typename QuestionIdT = Aws::String>
67 void SetQuestionId(QuestionIdT&& value) { m_questionIdHasBeenSet =
true; m_questionId = std::forward<QuestionIdT>(value); }
68 template<
typename QuestionIdT = Aws::String>
76 template<
typename SelectedChoicesT = Aws::Vector<Aws::String>>
77 void SetSelectedChoices(SelectedChoicesT&& value) { m_selectedChoicesHasBeenSet =
true; m_selectedChoices = std::forward<SelectedChoicesT>(value); }
78 template<
typename SelectedChoicesT = Aws::Vector<Aws::String>>
80 template<
typename SelectedChoicesT = Aws::String>
91 template<
typename ChoiceUpdatesT = Aws::Map<Aws::String, ChoiceUpdate>>
92 void SetChoiceUpdates(ChoiceUpdatesT&& value) { m_choiceUpdatesHasBeenSet =
true; m_choiceUpdates = std::forward<ChoiceUpdatesT>(value); }
93 template<
typename ChoiceUpdatesT = Aws::Map<Aws::String, ChoiceUpdate>>
95 template<
typename ChoiceUpdatesKeyT = Aws::String,
typename ChoiceUpdatesValueT = ChoiceUpdate>
97 m_choiceUpdatesHasBeenSet =
true; m_choiceUpdates.emplace(std::forward<ChoiceUpdatesKeyT>(key), std::forward<ChoiceUpdatesValueT>(value));
return *
this;
105 template<
typename NotesT = Aws::String>
106 void SetNotes(NotesT&& value) { m_notesHasBeenSet =
true; m_notes = std::forward<NotesT>(value); }
107 template<
typename NotesT = Aws::String>
115 inline void SetIsApplicable(
bool value) { m_isApplicableHasBeenSet =
true; m_isApplicable = value; }
131 bool m_workloadIdHasBeenSet =
false;
134 bool m_lensAliasHasBeenSet =
false;
137 bool m_questionIdHasBeenSet =
false;
140 bool m_selectedChoicesHasBeenSet =
false;
143 bool m_choiceUpdatesHasBeenSet =
false;
146 bool m_notesHasBeenSet =
false;
148 bool m_isApplicable{
false};
149 bool m_isApplicableHasBeenSet =
false;
152 bool m_reasonHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetSelectedChoices() const
UpdateAnswerRequest & WithReason(AnswerReason value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
bool QuestionIdHasBeenSet() const
const Aws::String & GetQuestionId() const
bool SelectedChoicesHasBeenSet() const
bool ChoiceUpdatesHasBeenSet() const
UpdateAnswerRequest & WithSelectedChoices(SelectedChoicesT &&value)
UpdateAnswerRequest & WithChoiceUpdates(ChoiceUpdatesT &&value)
const Aws::String & GetLensAlias() const
bool WorkloadIdHasBeenSet() const
bool LensAliasHasBeenSet() const
void SetWorkloadId(WorkloadIdT &&value)
bool IsApplicableHasBeenSet() const
void SetSelectedChoices(SelectedChoicesT &&value)
UpdateAnswerRequest & AddSelectedChoices(SelectedChoicesT &&value)
AWS_WELLARCHITECTED_API UpdateAnswerRequest()=default
void SetLensAlias(LensAliasT &&value)
void SetNotes(NotesT &&value)
UpdateAnswerRequest & WithQuestionId(QuestionIdT &&value)
const Aws::String & GetWorkloadId() const
UpdateAnswerRequest & WithWorkloadId(WorkloadIdT &&value)
UpdateAnswerRequest & AddChoiceUpdates(ChoiceUpdatesKeyT &&key, ChoiceUpdatesValueT &&value)
UpdateAnswerRequest & WithIsApplicable(bool value)
void SetReason(AnswerReason value)
UpdateAnswerRequest & WithLensAlias(LensAliasT &&value)
UpdateAnswerRequest & WithNotes(NotesT &&value)
bool GetIsApplicable() const
void SetChoiceUpdates(ChoiceUpdatesT &&value)
const Aws::String & GetNotes() const
virtual const char * GetServiceRequestName() const override
AnswerReason GetReason() const
bool ReasonHasBeenSet() const
const Aws::Map< Aws::String, ChoiceUpdate > & GetChoiceUpdates() const
void SetQuestionId(QuestionIdT &&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