AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EvaluationForm.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/EvaluationFormVersionStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/connect/model/EvaluationFormScoringStrategy.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/connect/model/EvaluationFormItem.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Connect
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_CONNECT_API EvaluationForm();
41 AWS_CONNECT_API EvaluationForm(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetEvaluationFormId() const{ return m_evaluationFormId; }
51 inline bool EvaluationFormIdHasBeenSet() const { return m_evaluationFormIdHasBeenSet; }
52 inline void SetEvaluationFormId(const Aws::String& value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId = value; }
53 inline void SetEvaluationFormId(Aws::String&& value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId = std::move(value); }
54 inline void SetEvaluationFormId(const char* value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId.assign(value); }
55 inline EvaluationForm& WithEvaluationFormId(const Aws::String& value) { SetEvaluationFormId(value); return *this;}
56 inline EvaluationForm& WithEvaluationFormId(Aws::String&& value) { SetEvaluationFormId(std::move(value)); return *this;}
57 inline EvaluationForm& WithEvaluationFormId(const char* value) { SetEvaluationFormId(value); return *this;}
59
61
64 inline int GetEvaluationFormVersion() const{ return m_evaluationFormVersion; }
65 inline bool EvaluationFormVersionHasBeenSet() const { return m_evaluationFormVersionHasBeenSet; }
66 inline void SetEvaluationFormVersion(int value) { m_evaluationFormVersionHasBeenSet = true; m_evaluationFormVersion = value; }
67 inline EvaluationForm& WithEvaluationFormVersion(int value) { SetEvaluationFormVersion(value); return *this;}
69
71
74 inline bool GetLocked() const{ return m_locked; }
75 inline bool LockedHasBeenSet() const { return m_lockedHasBeenSet; }
76 inline void SetLocked(bool value) { m_lockedHasBeenSet = true; m_locked = value; }
77 inline EvaluationForm& WithLocked(bool value) { SetLocked(value); return *this;}
79
81
84 inline const Aws::String& GetEvaluationFormArn() const{ return m_evaluationFormArn; }
85 inline bool EvaluationFormArnHasBeenSet() const { return m_evaluationFormArnHasBeenSet; }
86 inline void SetEvaluationFormArn(const Aws::String& value) { m_evaluationFormArnHasBeenSet = true; m_evaluationFormArn = value; }
87 inline void SetEvaluationFormArn(Aws::String&& value) { m_evaluationFormArnHasBeenSet = true; m_evaluationFormArn = std::move(value); }
88 inline void SetEvaluationFormArn(const char* value) { m_evaluationFormArnHasBeenSet = true; m_evaluationFormArn.assign(value); }
89 inline EvaluationForm& WithEvaluationFormArn(const Aws::String& value) { SetEvaluationFormArn(value); return *this;}
90 inline EvaluationForm& WithEvaluationFormArn(Aws::String&& value) { SetEvaluationFormArn(std::move(value)); return *this;}
91 inline EvaluationForm& WithEvaluationFormArn(const char* value) { SetEvaluationFormArn(value); return *this;}
93
95
98 inline const Aws::String& GetTitle() const{ return m_title; }
99 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
100 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
101 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
102 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
103 inline EvaluationForm& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
104 inline EvaluationForm& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
105 inline EvaluationForm& WithTitle(const char* value) { SetTitle(value); return *this;}
107
109
112 inline const Aws::String& GetDescription() const{ return m_description; }
113 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
114 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
115 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
116 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
117 inline EvaluationForm& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
118 inline EvaluationForm& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
119 inline EvaluationForm& WithDescription(const char* value) { SetDescription(value); return *this;}
121
123
126 inline const EvaluationFormVersionStatus& GetStatus() const{ return m_status; }
127 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
128 inline void SetStatus(const EvaluationFormVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
129 inline void SetStatus(EvaluationFormVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
130 inline EvaluationForm& WithStatus(const EvaluationFormVersionStatus& value) { SetStatus(value); return *this;}
131 inline EvaluationForm& WithStatus(EvaluationFormVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
133
135
140 inline const Aws::Vector<EvaluationFormItem>& GetItems() const{ return m_items; }
141 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
142 inline void SetItems(const Aws::Vector<EvaluationFormItem>& value) { m_itemsHasBeenSet = true; m_items = value; }
143 inline void SetItems(Aws::Vector<EvaluationFormItem>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
144 inline EvaluationForm& WithItems(const Aws::Vector<EvaluationFormItem>& value) { SetItems(value); return *this;}
145 inline EvaluationForm& WithItems(Aws::Vector<EvaluationFormItem>&& value) { SetItems(std::move(value)); return *this;}
146 inline EvaluationForm& AddItems(const EvaluationFormItem& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
147 inline EvaluationForm& AddItems(EvaluationFormItem&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
149
151
154 inline const EvaluationFormScoringStrategy& GetScoringStrategy() const{ return m_scoringStrategy; }
155 inline bool ScoringStrategyHasBeenSet() const { return m_scoringStrategyHasBeenSet; }
156 inline void SetScoringStrategy(const EvaluationFormScoringStrategy& value) { m_scoringStrategyHasBeenSet = true; m_scoringStrategy = value; }
157 inline void SetScoringStrategy(EvaluationFormScoringStrategy&& value) { m_scoringStrategyHasBeenSet = true; m_scoringStrategy = std::move(value); }
159 inline EvaluationForm& WithScoringStrategy(EvaluationFormScoringStrategy&& value) { SetScoringStrategy(std::move(value)); return *this;}
161
163
166 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
167 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
168 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
169 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
170 inline EvaluationForm& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
171 inline EvaluationForm& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
173
175
179 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
180 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
181 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
182 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
183 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
184 inline EvaluationForm& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
185 inline EvaluationForm& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
186 inline EvaluationForm& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
188
190
193 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
194 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
195 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
196 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
198 inline EvaluationForm& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
200
202
206 inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; }
207 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
208 inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
209 inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
210 inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); }
211 inline EvaluationForm& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;}
212 inline EvaluationForm& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;}
213 inline EvaluationForm& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;}
215
217
221 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
222 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
223 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
224 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
225 inline EvaluationForm& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
226 inline EvaluationForm& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
227 inline EvaluationForm& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
228 inline EvaluationForm& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
229 inline EvaluationForm& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
230 inline EvaluationForm& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
231 inline EvaluationForm& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
232 inline EvaluationForm& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
233 inline EvaluationForm& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
235 private:
236
237 Aws::String m_evaluationFormId;
238 bool m_evaluationFormIdHasBeenSet = false;
239
240 int m_evaluationFormVersion;
241 bool m_evaluationFormVersionHasBeenSet = false;
242
243 bool m_locked;
244 bool m_lockedHasBeenSet = false;
245
246 Aws::String m_evaluationFormArn;
247 bool m_evaluationFormArnHasBeenSet = false;
248
249 Aws::String m_title;
250 bool m_titleHasBeenSet = false;
251
252 Aws::String m_description;
253 bool m_descriptionHasBeenSet = false;
254
256 bool m_statusHasBeenSet = false;
257
259 bool m_itemsHasBeenSet = false;
260
261 EvaluationFormScoringStrategy m_scoringStrategy;
262 bool m_scoringStrategyHasBeenSet = false;
263
264 Aws::Utils::DateTime m_createdTime;
265 bool m_createdTimeHasBeenSet = false;
266
267 Aws::String m_createdBy;
268 bool m_createdByHasBeenSet = false;
269
270 Aws::Utils::DateTime m_lastModifiedTime;
271 bool m_lastModifiedTimeHasBeenSet = false;
272
273 Aws::String m_lastModifiedBy;
274 bool m_lastModifiedByHasBeenSet = false;
275
277 bool m_tagsHasBeenSet = false;
278 };
279
280} // namespace Model
281} // namespace Connect
282} // namespace Aws
void SetTitle(const Aws::String &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
EvaluationForm & WithEvaluationFormId(Aws::String &&value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
EvaluationForm & WithEvaluationFormArn(const char *value)
void SetLastModifiedBy(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetCreatedBy() const
EvaluationForm & WithItems(const Aws::Vector< EvaluationFormItem > &value)
void SetLastModifiedBy(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetEvaluationFormArn(const Aws::String &value)
const Aws::String & GetEvaluationFormArn() const
EvaluationForm & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::String & GetTitle() const
EvaluationForm & WithCreatedTime(Aws::Utils::DateTime &&value)
AWS_CONNECT_API EvaluationForm & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetEvaluationFormId(const Aws::String &value)
EvaluationForm & WithLastModifiedBy(const char *value)
void SetTitle(Aws::String &&value)
EvaluationForm & AddTags(const char *key, const char *value)
void SetDescription(const Aws::String &value)
EvaluationForm & WithEvaluationFormArn(const Aws::String &value)
EvaluationForm & WithEvaluationFormId(const char *value)
EvaluationForm & WithCreatedBy(const char *value)
EvaluationForm & AddTags(const char *key, Aws::String &&value)
const Aws::String & GetLastModifiedBy() const
EvaluationForm & WithCreatedBy(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
EvaluationForm & WithTitle(Aws::String &&value)
EvaluationForm & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetStatus(const EvaluationFormVersionStatus &value)
EvaluationForm & WithItems(Aws::Vector< EvaluationFormItem > &&value)
void SetScoringStrategy(EvaluationFormScoringStrategy &&value)
const Aws::Vector< EvaluationFormItem > & GetItems() const
EvaluationForm & WithDescription(const char *value)
void SetLastModifiedBy(const char *value)
EvaluationForm & WithCreatedTime(const Aws::Utils::DateTime &value)
EvaluationForm & WithEvaluationFormId(const Aws::String &value)
EvaluationForm & WithScoringStrategy(const EvaluationFormScoringStrategy &value)
void SetCreatedBy(Aws::String &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetItems(Aws::Vector< EvaluationFormItem > &&value)
EvaluationForm & WithLocked(bool value)
void SetDescription(const char *value)
EvaluationForm & AddTags(const Aws::String &key, Aws::String &&value)
void SetCreatedBy(const Aws::String &value)
const Aws::String & GetDescription() const
EvaluationForm & WithLastModifiedBy(const Aws::String &value)
EvaluationForm & WithScoringStrategy(EvaluationFormScoringStrategy &&value)
void SetEvaluationFormId(const char *value)
void SetStatus(EvaluationFormVersionStatus &&value)
EvaluationForm & AddItems(EvaluationFormItem &&value)
EvaluationForm & AddTags(const Aws::String &key, const Aws::String &value)
EvaluationForm & WithLastModifiedTime(const Aws::Utils::DateTime &value)
EvaluationForm & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
EvaluationForm & AddTags(Aws::String &&key, Aws::String &&value)
const EvaluationFormVersionStatus & GetStatus() const
EvaluationForm & AddTags(Aws::String &&key, const char *value)
void SetEvaluationFormArn(Aws::String &&value)
EvaluationForm & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetEvaluationFormArn(const char *value)
EvaluationForm & WithStatus(EvaluationFormVersionStatus &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetEvaluationFormId() const
void SetCreatedBy(const char *value)
const Aws::Utils::DateTime & GetCreatedTime() const
EvaluationForm & WithCreatedBy(Aws::String &&value)
const EvaluationFormScoringStrategy & GetScoringStrategy() const
EvaluationForm & WithTitle(const Aws::String &value)
EvaluationForm & WithDescription(Aws::String &&value)
EvaluationForm & WithLastModifiedBy(Aws::String &&value)
EvaluationForm & WithTitle(const char *value)
void SetScoringStrategy(const EvaluationFormScoringStrategy &value)
AWS_CONNECT_API EvaluationForm(Aws::Utils::Json::JsonView jsonValue)
void SetItems(const Aws::Vector< EvaluationFormItem > &value)
EvaluationForm & WithStatus(const EvaluationFormVersionStatus &value)
void SetEvaluationFormId(Aws::String &&value)
EvaluationForm & WithEvaluationFormVersion(int value)
EvaluationForm & WithEvaluationFormArn(Aws::String &&value)
EvaluationForm & AddItems(const EvaluationFormItem &value)
EvaluationForm & WithDescription(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue