AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EvaluationFormNumericQuestionProperties.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/connect/model/EvaluationFormNumericQuestionAutomation.h>
10#include <aws/connect/model/EvaluationFormNumericQuestionOption.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Connect
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline int GetMinValue() const{ return m_minValue; }
48 inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; }
49 inline void SetMinValue(int value) { m_minValueHasBeenSet = true; m_minValue = value; }
50 inline EvaluationFormNumericQuestionProperties& WithMinValue(int value) { SetMinValue(value); return *this;}
52
54
57 inline int GetMaxValue() const{ return m_maxValue; }
58 inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
59 inline void SetMaxValue(int value) { m_maxValueHasBeenSet = true; m_maxValue = value; }
60 inline EvaluationFormNumericQuestionProperties& WithMaxValue(int value) { SetMaxValue(value); return *this;}
62
64
67 inline const Aws::Vector<EvaluationFormNumericQuestionOption>& GetOptions() const{ return m_options; }
68 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
69 inline void SetOptions(const Aws::Vector<EvaluationFormNumericQuestionOption>& value) { m_optionsHasBeenSet = true; m_options = value; }
70 inline void SetOptions(Aws::Vector<EvaluationFormNumericQuestionOption>&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
73 inline EvaluationFormNumericQuestionProperties& AddOptions(const EvaluationFormNumericQuestionOption& value) { m_optionsHasBeenSet = true; m_options.push_back(value); return *this; }
74 inline EvaluationFormNumericQuestionProperties& AddOptions(EvaluationFormNumericQuestionOption&& value) { m_optionsHasBeenSet = true; m_options.push_back(std::move(value)); return *this; }
76
78
81 inline const EvaluationFormNumericQuestionAutomation& GetAutomation() const{ return m_automation; }
82 inline bool AutomationHasBeenSet() const { return m_automationHasBeenSet; }
83 inline void SetAutomation(const EvaluationFormNumericQuestionAutomation& value) { m_automationHasBeenSet = true; m_automation = value; }
84 inline void SetAutomation(EvaluationFormNumericQuestionAutomation&& value) { m_automationHasBeenSet = true; m_automation = std::move(value); }
88 private:
89
90 int m_minValue;
91 bool m_minValueHasBeenSet = false;
92
93 int m_maxValue;
94 bool m_maxValueHasBeenSet = false;
95
97 bool m_optionsHasBeenSet = false;
98
100 bool m_automationHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Connect
105} // namespace Aws
EvaluationFormNumericQuestionProperties & WithAutomation(const EvaluationFormNumericQuestionAutomation &value)
void SetOptions(const Aws::Vector< EvaluationFormNumericQuestionOption > &value)
void SetAutomation(const EvaluationFormNumericQuestionAutomation &value)
EvaluationFormNumericQuestionProperties & WithOptions(const Aws::Vector< EvaluationFormNumericQuestionOption > &value)
EvaluationFormNumericQuestionProperties & AddOptions(EvaluationFormNumericQuestionOption &&value)
const Aws::Vector< EvaluationFormNumericQuestionOption > & GetOptions() const
AWS_CONNECT_API EvaluationFormNumericQuestionProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOptions(Aws::Vector< EvaluationFormNumericQuestionOption > &&value)
const EvaluationFormNumericQuestionAutomation & GetAutomation() const
EvaluationFormNumericQuestionProperties & AddOptions(const EvaluationFormNumericQuestionOption &value)
AWS_CONNECT_API EvaluationFormNumericQuestionProperties(Aws::Utils::Json::JsonView jsonValue)
EvaluationFormNumericQuestionProperties & WithOptions(Aws::Vector< EvaluationFormNumericQuestionOption > &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
EvaluationFormNumericQuestionProperties & WithAutomation(EvaluationFormNumericQuestionAutomation &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue