AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ProfileQuestionUpdate.h
1
6#pragma once
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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WellArchitected
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_WELLARCHITECTED_API ProfileQuestionUpdate() = default;
36 AWS_WELLARCHITECTED_API ProfileQuestionUpdate(Aws::Utils::Json::JsonView jsonValue);
37 AWS_WELLARCHITECTED_API ProfileQuestionUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const Aws::String& GetQuestionId() const { return m_questionId; }
44 inline bool QuestionIdHasBeenSet() const { return m_questionIdHasBeenSet; }
45 template<typename QuestionIdT = Aws::String>
46 void SetQuestionId(QuestionIdT&& value) { m_questionIdHasBeenSet = true; m_questionId = std::forward<QuestionIdT>(value); }
47 template<typename QuestionIdT = Aws::String>
48 ProfileQuestionUpdate& WithQuestionId(QuestionIdT&& value) { SetQuestionId(std::forward<QuestionIdT>(value)); return *this;}
50
52
55 inline const Aws::Vector<Aws::String>& GetSelectedChoiceIds() const { return m_selectedChoiceIds; }
56 inline bool SelectedChoiceIdsHasBeenSet() const { return m_selectedChoiceIdsHasBeenSet; }
57 template<typename SelectedChoiceIdsT = Aws::Vector<Aws::String>>
58 void SetSelectedChoiceIds(SelectedChoiceIdsT&& value) { m_selectedChoiceIdsHasBeenSet = true; m_selectedChoiceIds = std::forward<SelectedChoiceIdsT>(value); }
59 template<typename SelectedChoiceIdsT = Aws::Vector<Aws::String>>
60 ProfileQuestionUpdate& WithSelectedChoiceIds(SelectedChoiceIdsT&& value) { SetSelectedChoiceIds(std::forward<SelectedChoiceIdsT>(value)); return *this;}
61 template<typename SelectedChoiceIdsT = Aws::String>
62 ProfileQuestionUpdate& AddSelectedChoiceIds(SelectedChoiceIdsT&& value) { m_selectedChoiceIdsHasBeenSet = true; m_selectedChoiceIds.emplace_back(std::forward<SelectedChoiceIdsT>(value)); return *this; }
64 private:
65
66 Aws::String m_questionId;
67 bool m_questionIdHasBeenSet = false;
68
69 Aws::Vector<Aws::String> m_selectedChoiceIds;
70 bool m_selectedChoiceIdsHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace WellArchitected
75} // namespace Aws
AWS_WELLARCHITECTED_API ProfileQuestionUpdate()=default
AWS_WELLARCHITECTED_API ProfileQuestionUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSelectedChoiceIds() const
ProfileQuestionUpdate & AddSelectedChoiceIds(SelectedChoiceIdsT &&value)
ProfileQuestionUpdate & WithSelectedChoiceIds(SelectedChoiceIdsT &&value)
AWS_WELLARCHITECTED_API ProfileQuestionUpdate(Aws::Utils::Json::JsonView jsonValue)
ProfileQuestionUpdate & WithQuestionId(QuestionIdT &&value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue