AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EvaluationFormNumericQuestionOption.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Connect
20{
21namespace Model
22{
23
31 {
32 public:
36 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetMinValue() const{ return m_minValue; }
44 inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; }
45 inline void SetMinValue(int value) { m_minValueHasBeenSet = true; m_minValue = value; }
46 inline EvaluationFormNumericQuestionOption& WithMinValue(int value) { SetMinValue(value); return *this;}
48
50
53 inline int GetMaxValue() const{ return m_maxValue; }
54 inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
55 inline void SetMaxValue(int value) { m_maxValueHasBeenSet = true; m_maxValue = value; }
56 inline EvaluationFormNumericQuestionOption& WithMaxValue(int value) { SetMaxValue(value); return *this;}
58
60
63 inline int GetScore() const{ return m_score; }
64 inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; }
65 inline void SetScore(int value) { m_scoreHasBeenSet = true; m_score = value; }
66 inline EvaluationFormNumericQuestionOption& WithScore(int value) { SetScore(value); return *this;}
68
70
74 inline bool GetAutomaticFail() const{ return m_automaticFail; }
75 inline bool AutomaticFailHasBeenSet() const { return m_automaticFailHasBeenSet; }
76 inline void SetAutomaticFail(bool value) { m_automaticFailHasBeenSet = true; m_automaticFail = value; }
77 inline EvaluationFormNumericQuestionOption& WithAutomaticFail(bool value) { SetAutomaticFail(value); return *this;}
79 private:
80
81 int m_minValue;
82 bool m_minValueHasBeenSet = false;
83
84 int m_maxValue;
85 bool m_maxValueHasBeenSet = false;
86
87 int m_score;
88 bool m_scoreHasBeenSet = false;
89
90 bool m_automaticFail;
91 bool m_automaticFailHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Connect
96} // namespace Aws
AWS_CONNECT_API EvaluationFormNumericQuestionOption(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
EvaluationFormNumericQuestionOption & WithAutomaticFail(bool value)
AWS_CONNECT_API EvaluationFormNumericQuestionOption & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue