AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
EvaluationFormSearchSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ContactInteractionType.h>
9#include <aws/connect/model/EvaluationFormLanguageCode.h>
10#include <aws/connect/model/EvaluationFormVersionStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Connect {
25namespace Model {
26
34 public:
35 AWS_CONNECT_API EvaluationFormSearchSummary() = default;
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetEvaluationFormId() const { return m_evaluationFormId; }
45 inline bool EvaluationFormIdHasBeenSet() const { return m_evaluationFormIdHasBeenSet; }
46 template <typename EvaluationFormIdT = Aws::String>
47 void SetEvaluationFormId(EvaluationFormIdT&& value) {
48 m_evaluationFormIdHasBeenSet = true;
49 m_evaluationFormId = std::forward<EvaluationFormIdT>(value);
50 }
51 template <typename EvaluationFormIdT = Aws::String>
53 SetEvaluationFormId(std::forward<EvaluationFormIdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetEvaluationFormArn() const { return m_evaluationFormArn; }
63 inline bool EvaluationFormArnHasBeenSet() const { return m_evaluationFormArnHasBeenSet; }
64 template <typename EvaluationFormArnT = Aws::String>
65 void SetEvaluationFormArn(EvaluationFormArnT&& value) {
66 m_evaluationFormArnHasBeenSet = true;
67 m_evaluationFormArn = std::forward<EvaluationFormArnT>(value);
68 }
69 template <typename EvaluationFormArnT = Aws::String>
71 SetEvaluationFormArn(std::forward<EvaluationFormArnT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetTitle() const { return m_title; }
81 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
82 template <typename TitleT = Aws::String>
83 void SetTitle(TitleT&& value) {
84 m_titleHasBeenSet = true;
85 m_title = std::forward<TitleT>(value);
86 }
87 template <typename TitleT = Aws::String>
89 SetTitle(std::forward<TitleT>(value));
90 return *this;
91 }
93
95
98 inline EvaluationFormVersionStatus GetStatus() const { return m_status; }
99 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
101 m_statusHasBeenSet = true;
102 m_status = value;
103 }
105 SetStatus(value);
106 return *this;
107 }
109
111
114 inline const Aws::String& GetDescription() const { return m_description; }
115 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
116 template <typename DescriptionT = Aws::String>
117 void SetDescription(DescriptionT&& value) {
118 m_descriptionHasBeenSet = true;
119 m_description = std::forward<DescriptionT>(value);
120 }
121 template <typename DescriptionT = Aws::String>
123 SetDescription(std::forward<DescriptionT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
133 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
134 template <typename CreatedTimeT = Aws::Utils::DateTime>
135 void SetCreatedTime(CreatedTimeT&& value) {
136 m_createdTimeHasBeenSet = true;
137 m_createdTime = std::forward<CreatedTimeT>(value);
138 }
139 template <typename CreatedTimeT = Aws::Utils::DateTime>
141 SetCreatedTime(std::forward<CreatedTimeT>(value));
142 return *this;
143 }
145
147
150 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
151 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
152 template <typename CreatedByT = Aws::String>
153 void SetCreatedBy(CreatedByT&& value) {
154 m_createdByHasBeenSet = true;
155 m_createdBy = std::forward<CreatedByT>(value);
156 }
157 template <typename CreatedByT = Aws::String>
159 SetCreatedBy(std::forward<CreatedByT>(value));
160 return *this;
161 }
163
165
168 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
169 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
170 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
171 void SetLastModifiedTime(LastModifiedTimeT&& value) {
172 m_lastModifiedTimeHasBeenSet = true;
173 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
174 }
175 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
177 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
178 return *this;
179 }
181
183
186 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
187 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
188 template <typename LastModifiedByT = Aws::String>
189 void SetLastModifiedBy(LastModifiedByT&& value) {
190 m_lastModifiedByHasBeenSet = true;
191 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
192 }
193 template <typename LastModifiedByT = Aws::String>
195 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
196 return *this;
197 }
199
201
204 inline const Aws::Utils::DateTime& GetLastActivatedTime() const { return m_lastActivatedTime; }
205 inline bool LastActivatedTimeHasBeenSet() const { return m_lastActivatedTimeHasBeenSet; }
206 template <typename LastActivatedTimeT = Aws::Utils::DateTime>
207 void SetLastActivatedTime(LastActivatedTimeT&& value) {
208 m_lastActivatedTimeHasBeenSet = true;
209 m_lastActivatedTime = std::forward<LastActivatedTimeT>(value);
210 }
211 template <typename LastActivatedTimeT = Aws::Utils::DateTime>
213 SetLastActivatedTime(std::forward<LastActivatedTimeT>(value));
214 return *this;
215 }
217
219
222 inline const Aws::String& GetLastActivatedBy() const { return m_lastActivatedBy; }
223 inline bool LastActivatedByHasBeenSet() const { return m_lastActivatedByHasBeenSet; }
224 template <typename LastActivatedByT = Aws::String>
225 void SetLastActivatedBy(LastActivatedByT&& value) {
226 m_lastActivatedByHasBeenSet = true;
227 m_lastActivatedBy = std::forward<LastActivatedByT>(value);
228 }
229 template <typename LastActivatedByT = Aws::String>
231 SetLastActivatedBy(std::forward<LastActivatedByT>(value));
232 return *this;
233 }
235
237
240 inline int GetLatestVersion() const { return m_latestVersion; }
241 inline bool LatestVersionHasBeenSet() const { return m_latestVersionHasBeenSet; }
242 inline void SetLatestVersion(int value) {
243 m_latestVersionHasBeenSet = true;
244 m_latestVersion = value;
245 }
247 SetLatestVersion(value);
248 return *this;
249 }
251
253
256 inline int GetActiveVersion() const { return m_activeVersion; }
257 inline bool ActiveVersionHasBeenSet() const { return m_activeVersionHasBeenSet; }
258 inline void SetActiveVersion(int value) {
259 m_activeVersionHasBeenSet = true;
260 m_activeVersion = value;
261 }
263 SetActiveVersion(value);
264 return *this;
265 }
267
269
272 inline bool GetAutoEvaluationEnabled() const { return m_autoEvaluationEnabled; }
273 inline bool AutoEvaluationEnabledHasBeenSet() const { return m_autoEvaluationEnabledHasBeenSet; }
274 inline void SetAutoEvaluationEnabled(bool value) {
275 m_autoEvaluationEnabledHasBeenSet = true;
276 m_autoEvaluationEnabled = value;
277 }
280 return *this;
281 }
283
285
288 inline EvaluationFormLanguageCode GetEvaluationFormLanguage() const { return m_evaluationFormLanguage; }
289 inline bool EvaluationFormLanguageHasBeenSet() const { return m_evaluationFormLanguageHasBeenSet; }
291 m_evaluationFormLanguageHasBeenSet = true;
292 m_evaluationFormLanguage = value;
293 }
296 return *this;
297 }
299
301
304 inline ContactInteractionType GetContactInteractionType() const { return m_contactInteractionType; }
305 inline bool ContactInteractionTypeHasBeenSet() const { return m_contactInteractionTypeHasBeenSet; }
307 m_contactInteractionTypeHasBeenSet = true;
308 m_contactInteractionType = value;
309 }
312 return *this;
313 }
315
317
321 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
322 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
323 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
324 void SetTags(TagsT&& value) {
325 m_tagsHasBeenSet = true;
326 m_tags = std::forward<TagsT>(value);
327 }
328 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
330 SetTags(std::forward<TagsT>(value));
331 return *this;
332 }
333 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
334 EvaluationFormSearchSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
335 m_tagsHasBeenSet = true;
336 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
337 return *this;
338 }
340 private:
341 Aws::String m_evaluationFormId;
342
343 Aws::String m_evaluationFormArn;
344
345 Aws::String m_title;
346
348
349 Aws::String m_description;
350
351 Aws::Utils::DateTime m_createdTime{};
352
353 Aws::String m_createdBy;
354
355 Aws::Utils::DateTime m_lastModifiedTime{};
356
357 Aws::String m_lastModifiedBy;
358
359 Aws::Utils::DateTime m_lastActivatedTime{};
360
361 Aws::String m_lastActivatedBy;
362
363 int m_latestVersion{0};
364
365 int m_activeVersion{0};
366
367 bool m_autoEvaluationEnabled{false};
368
370
372
374 bool m_evaluationFormIdHasBeenSet = false;
375 bool m_evaluationFormArnHasBeenSet = false;
376 bool m_titleHasBeenSet = false;
377 bool m_statusHasBeenSet = false;
378 bool m_descriptionHasBeenSet = false;
379 bool m_createdTimeHasBeenSet = false;
380 bool m_createdByHasBeenSet = false;
381 bool m_lastModifiedTimeHasBeenSet = false;
382 bool m_lastModifiedByHasBeenSet = false;
383 bool m_lastActivatedTimeHasBeenSet = false;
384 bool m_lastActivatedByHasBeenSet = false;
385 bool m_latestVersionHasBeenSet = false;
386 bool m_activeVersionHasBeenSet = false;
387 bool m_autoEvaluationEnabledHasBeenSet = false;
388 bool m_evaluationFormLanguageHasBeenSet = false;
389 bool m_contactInteractionTypeHasBeenSet = false;
390 bool m_tagsHasBeenSet = false;
391};
392
393} // namespace Model
394} // namespace Connect
395} // namespace Aws
EvaluationFormSearchSummary & WithLastModifiedBy(LastModifiedByT &&value)
EvaluationFormSearchSummary & WithActiveVersion(int value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
EvaluationFormSearchSummary & WithEvaluationFormId(EvaluationFormIdT &&value)
EvaluationFormSearchSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
EvaluationFormSearchSummary & WithEvaluationFormArn(EvaluationFormArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
EvaluationFormSearchSummary & WithCreatedBy(CreatedByT &&value)
EvaluationFormSearchSummary & WithEvaluationFormLanguage(EvaluationFormLanguageCode value)
EvaluationFormSearchSummary & WithContactInteractionType(ContactInteractionType value)
EvaluationFormSearchSummary & WithTags(TagsT &&value)
AWS_CONNECT_API EvaluationFormSearchSummary()=default
EvaluationFormSearchSummary & WithStatus(EvaluationFormVersionStatus value)
void SetEvaluationFormLanguage(EvaluationFormLanguageCode value)
EvaluationFormSearchSummary & WithAutoEvaluationEnabled(bool value)
EvaluationFormSearchSummary & WithLatestVersion(int value)
EvaluationFormSearchSummary & WithLastActivatedBy(LastActivatedByT &&value)
EvaluationFormSearchSummary & WithTitle(TitleT &&value)
AWS_CONNECT_API EvaluationFormSearchSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EvaluationFormSearchSummary & WithLastActivatedTime(LastActivatedTimeT &&value)
EvaluationFormSearchSummary & WithCreatedTime(CreatedTimeT &&value)
AWS_CONNECT_API EvaluationFormSearchSummary(Aws::Utils::Json::JsonView jsonValue)
EvaluationFormSearchSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
EvaluationFormSearchSummary & WithDescription(DescriptionT &&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
Aws::Utils::Json::JsonValue JsonValue