AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
EvaluationFormContent.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/EvaluationFormAutoEvaluationConfiguration.h>
9#include <aws/connect/model/EvaluationFormItem.h>
10#include <aws/connect/model/EvaluationFormLanguageConfiguration.h>
11#include <aws/connect/model/EvaluationFormScoringStrategy.h>
12#include <aws/connect/model/EvaluationFormTargetConfiguration.h>
13#include <aws/connect/model/EvaluationReviewConfiguration.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Connect {
27namespace Model {
28
36 public:
37 AWS_CONNECT_API EvaluationFormContent() = default;
40 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline int GetEvaluationFormVersion() const { return m_evaluationFormVersion; }
47 inline bool EvaluationFormVersionHasBeenSet() const { return m_evaluationFormVersionHasBeenSet; }
48 inline void SetEvaluationFormVersion(int value) {
49 m_evaluationFormVersionHasBeenSet = true;
50 m_evaluationFormVersion = value;
51 }
54 return *this;
55 }
57
59
62 inline const Aws::String& GetEvaluationFormId() const { return m_evaluationFormId; }
63 inline bool EvaluationFormIdHasBeenSet() const { return m_evaluationFormIdHasBeenSet; }
64 template <typename EvaluationFormIdT = Aws::String>
65 void SetEvaluationFormId(EvaluationFormIdT&& value) {
66 m_evaluationFormIdHasBeenSet = true;
67 m_evaluationFormId = std::forward<EvaluationFormIdT>(value);
68 }
69 template <typename EvaluationFormIdT = Aws::String>
70 EvaluationFormContent& WithEvaluationFormId(EvaluationFormIdT&& value) {
71 SetEvaluationFormId(std::forward<EvaluationFormIdT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetEvaluationFormArn() const { return m_evaluationFormArn; }
81 inline bool EvaluationFormArnHasBeenSet() const { return m_evaluationFormArnHasBeenSet; }
82 template <typename EvaluationFormArnT = Aws::String>
83 void SetEvaluationFormArn(EvaluationFormArnT&& value) {
84 m_evaluationFormArnHasBeenSet = true;
85 m_evaluationFormArn = std::forward<EvaluationFormArnT>(value);
86 }
87 template <typename EvaluationFormArnT = Aws::String>
88 EvaluationFormContent& WithEvaluationFormArn(EvaluationFormArnT&& value) {
89 SetEvaluationFormArn(std::forward<EvaluationFormArnT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetTitle() const { return m_title; }
99 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
100 template <typename TitleT = Aws::String>
101 void SetTitle(TitleT&& value) {
102 m_titleHasBeenSet = true;
103 m_title = std::forward<TitleT>(value);
104 }
105 template <typename TitleT = Aws::String>
107 SetTitle(std::forward<TitleT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::String& GetDescription() const { return m_description; }
117 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
118 template <typename DescriptionT = Aws::String>
119 void SetDescription(DescriptionT&& value) {
120 m_descriptionHasBeenSet = true;
121 m_description = std::forward<DescriptionT>(value);
122 }
123 template <typename DescriptionT = Aws::String>
124 EvaluationFormContent& WithDescription(DescriptionT&& value) {
125 SetDescription(std::forward<DescriptionT>(value));
126 return *this;
127 }
129
131
136 inline const Aws::Vector<EvaluationFormItem>& GetItems() const { return m_items; }
137 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
138 template <typename ItemsT = Aws::Vector<EvaluationFormItem>>
139 void SetItems(ItemsT&& value) {
140 m_itemsHasBeenSet = true;
141 m_items = std::forward<ItemsT>(value);
142 }
143 template <typename ItemsT = Aws::Vector<EvaluationFormItem>>
145 SetItems(std::forward<ItemsT>(value));
146 return *this;
147 }
148 template <typename ItemsT = EvaluationFormItem>
150 m_itemsHasBeenSet = true;
151 m_items.emplace_back(std::forward<ItemsT>(value));
152 return *this;
153 }
155
157
160 inline const EvaluationFormScoringStrategy& GetScoringStrategy() const { return m_scoringStrategy; }
161 inline bool ScoringStrategyHasBeenSet() const { return m_scoringStrategyHasBeenSet; }
162 template <typename ScoringStrategyT = EvaluationFormScoringStrategy>
163 void SetScoringStrategy(ScoringStrategyT&& value) {
164 m_scoringStrategyHasBeenSet = true;
165 m_scoringStrategy = std::forward<ScoringStrategyT>(value);
166 }
167 template <typename ScoringStrategyT = EvaluationFormScoringStrategy>
168 EvaluationFormContent& WithScoringStrategy(ScoringStrategyT&& value) {
169 SetScoringStrategy(std::forward<ScoringStrategyT>(value));
170 return *this;
171 }
173
175
178 inline const EvaluationFormAutoEvaluationConfiguration& GetAutoEvaluationConfiguration() const { return m_autoEvaluationConfiguration; }
179 inline bool AutoEvaluationConfigurationHasBeenSet() const { return m_autoEvaluationConfigurationHasBeenSet; }
180 template <typename AutoEvaluationConfigurationT = EvaluationFormAutoEvaluationConfiguration>
181 void SetAutoEvaluationConfiguration(AutoEvaluationConfigurationT&& value) {
182 m_autoEvaluationConfigurationHasBeenSet = true;
183 m_autoEvaluationConfiguration = std::forward<AutoEvaluationConfigurationT>(value);
184 }
185 template <typename AutoEvaluationConfigurationT = EvaluationFormAutoEvaluationConfiguration>
186 EvaluationFormContent& WithAutoEvaluationConfiguration(AutoEvaluationConfigurationT&& value) {
187 SetAutoEvaluationConfiguration(std::forward<AutoEvaluationConfigurationT>(value));
188 return *this;
189 }
191
193
196 inline const EvaluationFormTargetConfiguration& GetTargetConfiguration() const { return m_targetConfiguration; }
197 inline bool TargetConfigurationHasBeenSet() const { return m_targetConfigurationHasBeenSet; }
198 template <typename TargetConfigurationT = EvaluationFormTargetConfiguration>
199 void SetTargetConfiguration(TargetConfigurationT&& value) {
200 m_targetConfigurationHasBeenSet = true;
201 m_targetConfiguration = std::forward<TargetConfigurationT>(value);
202 }
203 template <typename TargetConfigurationT = EvaluationFormTargetConfiguration>
204 EvaluationFormContent& WithTargetConfiguration(TargetConfigurationT&& value) {
205 SetTargetConfiguration(std::forward<TargetConfigurationT>(value));
206 return *this;
207 }
209
211
214 inline const EvaluationFormLanguageConfiguration& GetLanguageConfiguration() const { return m_languageConfiguration; }
215 inline bool LanguageConfigurationHasBeenSet() const { return m_languageConfigurationHasBeenSet; }
216 template <typename LanguageConfigurationT = EvaluationFormLanguageConfiguration>
217 void SetLanguageConfiguration(LanguageConfigurationT&& value) {
218 m_languageConfigurationHasBeenSet = true;
219 m_languageConfiguration = std::forward<LanguageConfigurationT>(value);
220 }
221 template <typename LanguageConfigurationT = EvaluationFormLanguageConfiguration>
222 EvaluationFormContent& WithLanguageConfiguration(LanguageConfigurationT&& value) {
223 SetLanguageConfiguration(std::forward<LanguageConfigurationT>(value));
224 return *this;
225 }
227
229
233 inline const EvaluationReviewConfiguration& GetReviewConfiguration() const { return m_reviewConfiguration; }
234 inline bool ReviewConfigurationHasBeenSet() const { return m_reviewConfigurationHasBeenSet; }
235 template <typename ReviewConfigurationT = EvaluationReviewConfiguration>
236 void SetReviewConfiguration(ReviewConfigurationT&& value) {
237 m_reviewConfigurationHasBeenSet = true;
238 m_reviewConfiguration = std::forward<ReviewConfigurationT>(value);
239 }
240 template <typename ReviewConfigurationT = EvaluationReviewConfiguration>
241 EvaluationFormContent& WithReviewConfiguration(ReviewConfigurationT&& value) {
242 SetReviewConfiguration(std::forward<ReviewConfigurationT>(value));
243 return *this;
244 }
246 private:
247 int m_evaluationFormVersion{0};
248
249 Aws::String m_evaluationFormId;
250
251 Aws::String m_evaluationFormArn;
252
253 Aws::String m_title;
254
255 Aws::String m_description;
256
258
259 EvaluationFormScoringStrategy m_scoringStrategy;
260
261 EvaluationFormAutoEvaluationConfiguration m_autoEvaluationConfiguration;
262
263 EvaluationFormTargetConfiguration m_targetConfiguration;
264
265 EvaluationFormLanguageConfiguration m_languageConfiguration;
266
267 EvaluationReviewConfiguration m_reviewConfiguration;
268 bool m_evaluationFormVersionHasBeenSet = false;
269 bool m_evaluationFormIdHasBeenSet = false;
270 bool m_evaluationFormArnHasBeenSet = false;
271 bool m_titleHasBeenSet = false;
272 bool m_descriptionHasBeenSet = false;
273 bool m_itemsHasBeenSet = false;
274 bool m_scoringStrategyHasBeenSet = false;
275 bool m_autoEvaluationConfigurationHasBeenSet = false;
276 bool m_targetConfigurationHasBeenSet = false;
277 bool m_languageConfigurationHasBeenSet = false;
278 bool m_reviewConfigurationHasBeenSet = false;
279};
280
281} // namespace Model
282} // namespace Connect
283} // namespace Aws
EvaluationFormContent & WithEvaluationFormArn(EvaluationFormArnT &&value)
EvaluationFormContent & WithEvaluationFormId(EvaluationFormIdT &&value)
EvaluationFormContent & WithTitle(TitleT &&value)
void SetEvaluationFormId(EvaluationFormIdT &&value)
AWS_CONNECT_API EvaluationFormContent & operator=(Aws::Utils::Json::JsonView jsonValue)
EvaluationFormContent & WithTargetConfiguration(TargetConfigurationT &&value)
void SetEvaluationFormArn(EvaluationFormArnT &&value)
EvaluationFormContent & AddItems(ItemsT &&value)
AWS_CONNECT_API EvaluationFormContent(Aws::Utils::Json::JsonView jsonValue)
const EvaluationReviewConfiguration & GetReviewConfiguration() const
EvaluationFormContent & WithDescription(DescriptionT &&value)
AWS_CONNECT_API EvaluationFormContent()=default
const EvaluationFormTargetConfiguration & GetTargetConfiguration() const
void SetScoringStrategy(ScoringStrategyT &&value)
EvaluationFormContent & WithAutoEvaluationConfiguration(AutoEvaluationConfigurationT &&value)
EvaluationFormContent & WithEvaluationFormVersion(int value)
const Aws::Vector< EvaluationFormItem > & GetItems() const
EvaluationFormContent & WithScoringStrategy(ScoringStrategyT &&value)
void SetLanguageConfiguration(LanguageConfigurationT &&value)
EvaluationFormContent & WithItems(ItemsT &&value)
void SetTargetConfiguration(TargetConfigurationT &&value)
EvaluationFormContent & WithLanguageConfiguration(LanguageConfigurationT &&value)
void SetAutoEvaluationConfiguration(AutoEvaluationConfigurationT &&value)
const EvaluationFormScoringStrategy & GetScoringStrategy() const
void SetReviewConfiguration(ReviewConfigurationT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
EvaluationFormContent & WithReviewConfiguration(ReviewConfigurationT &&value)
const EvaluationFormLanguageConfiguration & GetLanguageConfiguration() const
const EvaluationFormAutoEvaluationConfiguration & GetAutoEvaluationConfiguration() 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