AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetQuestionId(const Aws::String& value) { m_questionIdHasBeenSet = true; m_questionId = value; }
46 inline void SetQuestionId(Aws::String&& value) { m_questionIdHasBeenSet = true; m_questionId = std::move(value); }
47 inline void SetQuestionId(const char* value) { m_questionIdHasBeenSet = true; m_questionId.assign(value); }
48 inline ProfileQuestionUpdate& WithQuestionId(const Aws::String& value) { SetQuestionId(value); return *this;}
49 inline ProfileQuestionUpdate& WithQuestionId(Aws::String&& value) { SetQuestionId(std::move(value)); return *this;}
50 inline ProfileQuestionUpdate& WithQuestionId(const char* value) { SetQuestionId(value); return *this;}
52
54
57 inline const Aws::Vector<Aws::String>& GetSelectedChoiceIds() const{ return m_selectedChoiceIds; }
58 inline bool SelectedChoiceIdsHasBeenSet() const { return m_selectedChoiceIdsHasBeenSet; }
59 inline void SetSelectedChoiceIds(const Aws::Vector<Aws::String>& value) { m_selectedChoiceIdsHasBeenSet = true; m_selectedChoiceIds = value; }
60 inline void SetSelectedChoiceIds(Aws::Vector<Aws::String>&& value) { m_selectedChoiceIdsHasBeenSet = true; m_selectedChoiceIds = std::move(value); }
63 inline ProfileQuestionUpdate& AddSelectedChoiceIds(const Aws::String& value) { m_selectedChoiceIdsHasBeenSet = true; m_selectedChoiceIds.push_back(value); return *this; }
64 inline ProfileQuestionUpdate& AddSelectedChoiceIds(Aws::String&& value) { m_selectedChoiceIdsHasBeenSet = true; m_selectedChoiceIds.push_back(std::move(value)); return *this; }
65 inline ProfileQuestionUpdate& AddSelectedChoiceIds(const char* value) { m_selectedChoiceIdsHasBeenSet = true; m_selectedChoiceIds.push_back(value); return *this; }
67 private:
68
69 Aws::String m_questionId;
70 bool m_questionIdHasBeenSet = false;
71
72 Aws::Vector<Aws::String> m_selectedChoiceIds;
73 bool m_selectedChoiceIdsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace WellArchitected
78} // namespace Aws
AWS_WELLARCHITECTED_API ProfileQuestionUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSelectedChoiceIds() const
ProfileQuestionUpdate & WithSelectedChoiceIds(Aws::Vector< Aws::String > &&value)
ProfileQuestionUpdate & WithQuestionId(Aws::String &&value)
AWS_WELLARCHITECTED_API ProfileQuestionUpdate(Aws::Utils::Json::JsonView jsonValue)
ProfileQuestionUpdate & AddSelectedChoiceIds(Aws::String &&value)
ProfileQuestionUpdate & AddSelectedChoiceIds(const Aws::String &value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
ProfileQuestionUpdate & WithQuestionId(const char *value)
void SetSelectedChoiceIds(Aws::Vector< Aws::String > &&value)
ProfileQuestionUpdate & WithSelectedChoiceIds(const Aws::Vector< Aws::String > &value)
ProfileQuestionUpdate & WithQuestionId(const Aws::String &value)
ProfileQuestionUpdate & AddSelectedChoiceIds(const char *value)
void SetSelectedChoiceIds(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue