AWS SDK for C++

AWS SDK for C++ Version 1.11.849

Loading...
Searching...
No Matches
QuestionOptionPointsConfiguration.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Connect {
17namespace Model {
18
26 public:
27 AWS_CONNECT_API QuestionOptionPointsConfiguration() = default;
30 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline int GetPointValue() const { return m_pointValue; }
37 inline bool PointValueHasBeenSet() const { return m_pointValueHasBeenSet; }
38 inline void SetPointValue(int value) {
39 m_pointValueHasBeenSet = true;
40 m_pointValue = value;
41 }
43 SetPointValue(value);
44 return *this;
45 }
47
49
52 inline bool GetIsBonus() const { return m_isBonus; }
53 inline bool IsBonusHasBeenSet() const { return m_isBonusHasBeenSet; }
54 inline void SetIsBonus(bool value) {
55 m_isBonusHasBeenSet = true;
56 m_isBonus = value;
57 }
59 SetIsBonus(value);
60 return *this;
61 }
63 private:
64 int m_pointValue{0};
65
66 bool m_isBonus{false};
67 bool m_pointValueHasBeenSet = false;
68 bool m_isBonusHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace Connect
73} // namespace Aws
QuestionOptionPointsConfiguration & WithIsBonus(bool value)
AWS_CONNECT_API QuestionOptionPointsConfiguration(Aws::Utils::Json::JsonView jsonValue)
QuestionOptionPointsConfiguration & WithPointValue(int value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API QuestionOptionPointsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue