AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EvaluationFormContent.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/connect/model/EvaluationFormScoringStrategy.h>
11#include <aws/connect/model/EvaluationFormItem.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Connect
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CONNECT_API EvaluationFormContent();
41 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline int GetEvaluationFormVersion() const{ return m_evaluationFormVersion; }
49 inline bool EvaluationFormVersionHasBeenSet() const { return m_evaluationFormVersionHasBeenSet; }
50 inline void SetEvaluationFormVersion(int value) { m_evaluationFormVersionHasBeenSet = true; m_evaluationFormVersion = value; }
53
55
58 inline const Aws::String& GetEvaluationFormId() const{ return m_evaluationFormId; }
59 inline bool EvaluationFormIdHasBeenSet() const { return m_evaluationFormIdHasBeenSet; }
60 inline void SetEvaluationFormId(const Aws::String& value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId = value; }
61 inline void SetEvaluationFormId(Aws::String&& value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId = std::move(value); }
62 inline void SetEvaluationFormId(const char* value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId.assign(value); }
63 inline EvaluationFormContent& WithEvaluationFormId(const Aws::String& value) { SetEvaluationFormId(value); return *this;}
64 inline EvaluationFormContent& WithEvaluationFormId(Aws::String&& value) { SetEvaluationFormId(std::move(value)); return *this;}
65 inline EvaluationFormContent& WithEvaluationFormId(const char* value) { SetEvaluationFormId(value); return *this;}
67
69
72 inline const Aws::String& GetEvaluationFormArn() const{ return m_evaluationFormArn; }
73 inline bool EvaluationFormArnHasBeenSet() const { return m_evaluationFormArnHasBeenSet; }
74 inline void SetEvaluationFormArn(const Aws::String& value) { m_evaluationFormArnHasBeenSet = true; m_evaluationFormArn = value; }
75 inline void SetEvaluationFormArn(Aws::String&& value) { m_evaluationFormArnHasBeenSet = true; m_evaluationFormArn = std::move(value); }
76 inline void SetEvaluationFormArn(const char* value) { m_evaluationFormArnHasBeenSet = true; m_evaluationFormArn.assign(value); }
77 inline EvaluationFormContent& WithEvaluationFormArn(const Aws::String& value) { SetEvaluationFormArn(value); return *this;}
78 inline EvaluationFormContent& WithEvaluationFormArn(Aws::String&& value) { SetEvaluationFormArn(std::move(value)); return *this;}
79 inline EvaluationFormContent& WithEvaluationFormArn(const char* value) { SetEvaluationFormArn(value); return *this;}
81
83
86 inline const Aws::String& GetTitle() const{ return m_title; }
87 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
88 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
89 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
90 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
91 inline EvaluationFormContent& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
92 inline EvaluationFormContent& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
93 inline EvaluationFormContent& WithTitle(const char* value) { SetTitle(value); return *this;}
95
97
100 inline const Aws::String& GetDescription() const{ return m_description; }
101 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
102 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
103 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
104 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
105 inline EvaluationFormContent& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
106 inline EvaluationFormContent& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
107 inline EvaluationFormContent& WithDescription(const char* value) { SetDescription(value); return *this;}
109
111
116 inline const Aws::Vector<EvaluationFormItem>& GetItems() const{ return m_items; }
117 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
118 inline void SetItems(const Aws::Vector<EvaluationFormItem>& value) { m_itemsHasBeenSet = true; m_items = value; }
119 inline void SetItems(Aws::Vector<EvaluationFormItem>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
120 inline EvaluationFormContent& WithItems(const Aws::Vector<EvaluationFormItem>& value) { SetItems(value); return *this;}
121 inline EvaluationFormContent& WithItems(Aws::Vector<EvaluationFormItem>&& value) { SetItems(std::move(value)); return *this;}
122 inline EvaluationFormContent& AddItems(const EvaluationFormItem& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
123 inline EvaluationFormContent& AddItems(EvaluationFormItem&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
125
127
130 inline const EvaluationFormScoringStrategy& GetScoringStrategy() const{ return m_scoringStrategy; }
131 inline bool ScoringStrategyHasBeenSet() const { return m_scoringStrategyHasBeenSet; }
132 inline void SetScoringStrategy(const EvaluationFormScoringStrategy& value) { m_scoringStrategyHasBeenSet = true; m_scoringStrategy = value; }
133 inline void SetScoringStrategy(EvaluationFormScoringStrategy&& value) { m_scoringStrategyHasBeenSet = true; m_scoringStrategy = std::move(value); }
137 private:
138
139 int m_evaluationFormVersion;
140 bool m_evaluationFormVersionHasBeenSet = false;
141
142 Aws::String m_evaluationFormId;
143 bool m_evaluationFormIdHasBeenSet = false;
144
145 Aws::String m_evaluationFormArn;
146 bool m_evaluationFormArnHasBeenSet = false;
147
148 Aws::String m_title;
149 bool m_titleHasBeenSet = false;
150
151 Aws::String m_description;
152 bool m_descriptionHasBeenSet = false;
153
155 bool m_itemsHasBeenSet = false;
156
157 EvaluationFormScoringStrategy m_scoringStrategy;
158 bool m_scoringStrategyHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace Connect
163} // namespace Aws
EvaluationFormContent & WithEvaluationFormArn(const Aws::String &value)
void SetEvaluationFormId(const Aws::String &value)
EvaluationFormContent & WithEvaluationFormArn(const char *value)
EvaluationFormContent & WithTitle(const Aws::String &value)
void SetScoringStrategy(const EvaluationFormScoringStrategy &value)
EvaluationFormContent & WithDescription(const Aws::String &value)
void SetItems(Aws::Vector< EvaluationFormItem > &&value)
AWS_CONNECT_API EvaluationFormContent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API EvaluationFormContent(Aws::Utils::Json::JsonView jsonValue)
EvaluationFormContent & WithTitle(Aws::String &&value)
EvaluationFormContent & WithEvaluationFormId(Aws::String &&value)
EvaluationFormContent & WithDescription(Aws::String &&value)
void SetEvaluationFormArn(const Aws::String &value)
EvaluationFormContent & WithEvaluationFormVersion(int value)
EvaluationFormContent & WithScoringStrategy(EvaluationFormScoringStrategy &&value)
EvaluationFormContent & WithDescription(const char *value)
const Aws::Vector< EvaluationFormItem > & GetItems() const
void SetItems(const Aws::Vector< EvaluationFormItem > &value)
EvaluationFormContent & AddItems(const EvaluationFormItem &value)
EvaluationFormContent & WithTitle(const char *value)
EvaluationFormContent & WithEvaluationFormArn(Aws::String &&value)
EvaluationFormContent & WithItems(Aws::Vector< EvaluationFormItem > &&value)
EvaluationFormContent & AddItems(EvaluationFormItem &&value)
const EvaluationFormScoringStrategy & GetScoringStrategy() const
EvaluationFormContent & WithScoringStrategy(const EvaluationFormScoringStrategy &value)
void SetScoringStrategy(EvaluationFormScoringStrategy &&value)
EvaluationFormContent & WithEvaluationFormId(const Aws::String &value)
EvaluationFormContent & WithItems(const Aws::Vector< EvaluationFormItem > &value)
EvaluationFormContent & WithEvaluationFormId(const char *value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue