AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EvaluationAnswerData.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Connect
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CONNECT_API EvaluationAnswerData();
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetStringValue() const{ return m_stringValue; }
46 inline bool StringValueHasBeenSet() const { return m_stringValueHasBeenSet; }
47 inline void SetStringValue(const Aws::String& value) { m_stringValueHasBeenSet = true; m_stringValue = value; }
48 inline void SetStringValue(Aws::String&& value) { m_stringValueHasBeenSet = true; m_stringValue = std::move(value); }
49 inline void SetStringValue(const char* value) { m_stringValueHasBeenSet = true; m_stringValue.assign(value); }
50 inline EvaluationAnswerData& WithStringValue(const Aws::String& value) { SetStringValue(value); return *this;}
51 inline EvaluationAnswerData& WithStringValue(Aws::String&& value) { SetStringValue(std::move(value)); return *this;}
52 inline EvaluationAnswerData& WithStringValue(const char* value) { SetStringValue(value); return *this;}
54
56
59 inline double GetNumericValue() const{ return m_numericValue; }
60 inline bool NumericValueHasBeenSet() const { return m_numericValueHasBeenSet; }
61 inline void SetNumericValue(double value) { m_numericValueHasBeenSet = true; m_numericValue = value; }
62 inline EvaluationAnswerData& WithNumericValue(double value) { SetNumericValue(value); return *this;}
64
66
69 inline bool GetNotApplicable() const{ return m_notApplicable; }
70 inline bool NotApplicableHasBeenSet() const { return m_notApplicableHasBeenSet; }
71 inline void SetNotApplicable(bool value) { m_notApplicableHasBeenSet = true; m_notApplicable = value; }
72 inline EvaluationAnswerData& WithNotApplicable(bool value) { SetNotApplicable(value); return *this;}
74 private:
75
76 Aws::String m_stringValue;
77 bool m_stringValueHasBeenSet = false;
78
79 double m_numericValue;
80 bool m_numericValueHasBeenSet = false;
81
82 bool m_notApplicable;
83 bool m_notApplicableHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Connect
88} // namespace Aws
EvaluationAnswerData & WithNotApplicable(bool value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API EvaluationAnswerData & operator=(Aws::Utils::Json::JsonView jsonValue)
EvaluationAnswerData & WithNumericValue(double value)
EvaluationAnswerData & WithStringValue(Aws::String &&value)
AWS_CONNECT_API EvaluationAnswerData(Aws::Utils::Json::JsonView jsonValue)
EvaluationAnswerData & WithStringValue(const char *value)
EvaluationAnswerData & WithStringValue(const Aws::String &value)
void SetStringValue(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue