AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EvaluationFormItem.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/EvaluationFormQuestion.h>
9#include <utility>
10#include <memory>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26 class EvaluationFormSection;
27
35 {
36 public:
37 AWS_CONNECT_API EvaluationFormItem();
40 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 AWS_CONNECT_API const EvaluationFormSection& GetSection() const;
48 AWS_CONNECT_API bool SectionHasBeenSet() const;
49 AWS_CONNECT_API void SetSection(const EvaluationFormSection& value);
50 AWS_CONNECT_API void SetSection(EvaluationFormSection&& value);
54
56
59 inline const EvaluationFormQuestion& GetQuestion() const{ return m_question; }
60 inline bool QuestionHasBeenSet() const { return m_questionHasBeenSet; }
61 inline void SetQuestion(const EvaluationFormQuestion& value) { m_questionHasBeenSet = true; m_question = value; }
62 inline void SetQuestion(EvaluationFormQuestion&& value) { m_questionHasBeenSet = true; m_question = std::move(value); }
63 inline EvaluationFormItem& WithQuestion(const EvaluationFormQuestion& value) { SetQuestion(value); return *this;}
64 inline EvaluationFormItem& WithQuestion(EvaluationFormQuestion&& value) { SetQuestion(std::move(value)); return *this;}
66 private:
67
68 std::shared_ptr<EvaluationFormSection> m_section;
69 bool m_sectionHasBeenSet = false;
70
71 EvaluationFormQuestion m_question;
72 bool m_questionHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Connect
77} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
EvaluationFormItem & WithQuestion(const EvaluationFormQuestion &value)
AWS_CONNECT_API EvaluationFormItem & WithSection(EvaluationFormSection &&value)
AWS_CONNECT_API bool SectionHasBeenSet() const
AWS_CONNECT_API EvaluationFormItem & WithSection(const EvaluationFormSection &value)
AWS_CONNECT_API void SetSection(EvaluationFormSection &&value)
AWS_CONNECT_API EvaluationFormItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const EvaluationFormQuestion & GetQuestion() const
void SetQuestion(EvaluationFormQuestion &&value)
void SetQuestion(const EvaluationFormQuestion &value)
EvaluationFormItem & WithQuestion(EvaluationFormQuestion &&value)
AWS_CONNECT_API EvaluationFormItem(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API const EvaluationFormSection & GetSection() const
AWS_CONNECT_API void SetSection(const EvaluationFormSection &value)
Aws::Utils::Json::JsonValue JsonValue