AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
EvaluationSearchSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/EvaluationSearchMetadata.h>
9#include <aws/connect/model/EvaluationStatus.h>
10#include <aws/connect/model/EvaluationType.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 EvaluationSearchSummary() = default;
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetEvaluationId() const { return m_evaluationId; }
45 inline bool EvaluationIdHasBeenSet() const { return m_evaluationIdHasBeenSet; }
46 template <typename EvaluationIdT = Aws::String>
47 void SetEvaluationId(EvaluationIdT&& value) {
48 m_evaluationIdHasBeenSet = true;
49 m_evaluationId = std::forward<EvaluationIdT>(value);
50 }
51 template <typename EvaluationIdT = Aws::String>
52 EvaluationSearchSummary& WithEvaluationId(EvaluationIdT&& value) {
53 SetEvaluationId(std::forward<EvaluationIdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetEvaluationArn() const { return m_evaluationArn; }
63 inline bool EvaluationArnHasBeenSet() const { return m_evaluationArnHasBeenSet; }
64 template <typename EvaluationArnT = Aws::String>
65 void SetEvaluationArn(EvaluationArnT&& value) {
66 m_evaluationArnHasBeenSet = true;
67 m_evaluationArn = std::forward<EvaluationArnT>(value);
68 }
69 template <typename EvaluationArnT = Aws::String>
70 EvaluationSearchSummary& WithEvaluationArn(EvaluationArnT&& value) {
71 SetEvaluationArn(std::forward<EvaluationArnT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetEvaluationFormId() const { return m_evaluationFormId; }
81 inline bool EvaluationFormIdHasBeenSet() const { return m_evaluationFormIdHasBeenSet; }
82 template <typename EvaluationFormIdT = Aws::String>
83 void SetEvaluationFormId(EvaluationFormIdT&& value) {
84 m_evaluationFormIdHasBeenSet = true;
85 m_evaluationFormId = std::forward<EvaluationFormIdT>(value);
86 }
87 template <typename EvaluationFormIdT = Aws::String>
88 EvaluationSearchSummary& WithEvaluationFormId(EvaluationFormIdT&& value) {
89 SetEvaluationFormId(std::forward<EvaluationFormIdT>(value));
90 return *this;
91 }
93
95
98 inline int GetEvaluationFormVersion() const { return m_evaluationFormVersion; }
99 inline bool EvaluationFormVersionHasBeenSet() const { return m_evaluationFormVersionHasBeenSet; }
100 inline void SetEvaluationFormVersion(int value) {
101 m_evaluationFormVersionHasBeenSet = true;
102 m_evaluationFormVersion = value;
103 }
106 return *this;
107 }
109
111
114 inline const Aws::String& GetEvaluationFormTitle() const { return m_evaluationFormTitle; }
115 inline bool EvaluationFormTitleHasBeenSet() const { return m_evaluationFormTitleHasBeenSet; }
116 template <typename EvaluationFormTitleT = Aws::String>
117 void SetEvaluationFormTitle(EvaluationFormTitleT&& value) {
118 m_evaluationFormTitleHasBeenSet = true;
119 m_evaluationFormTitle = std::forward<EvaluationFormTitleT>(value);
120 }
121 template <typename EvaluationFormTitleT = Aws::String>
122 EvaluationSearchSummary& WithEvaluationFormTitle(EvaluationFormTitleT&& value) {
123 SetEvaluationFormTitle(std::forward<EvaluationFormTitleT>(value));
124 return *this;
125 }
127
129
132 inline const EvaluationSearchMetadata& GetMetadata() const { return m_metadata; }
133 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
134 template <typename MetadataT = EvaluationSearchMetadata>
135 void SetMetadata(MetadataT&& value) {
136 m_metadataHasBeenSet = true;
137 m_metadata = std::forward<MetadataT>(value);
138 }
139 template <typename MetadataT = EvaluationSearchMetadata>
141 SetMetadata(std::forward<MetadataT>(value));
142 return *this;
143 }
145
147
150 inline EvaluationStatus GetStatus() const { return m_status; }
151 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
152 inline void SetStatus(EvaluationStatus value) {
153 m_statusHasBeenSet = true;
154 m_status = value;
155 }
157 SetStatus(value);
158 return *this;
159 }
161
163
166 inline EvaluationType GetEvaluationType() const { return m_evaluationType; }
167 inline bool EvaluationTypeHasBeenSet() const { return m_evaluationTypeHasBeenSet; }
169 m_evaluationTypeHasBeenSet = true;
170 m_evaluationType = value;
171 }
173 SetEvaluationType(value);
174 return *this;
175 }
177
179
182 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
183 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
184 template <typename CreatedTimeT = Aws::Utils::DateTime>
185 void SetCreatedTime(CreatedTimeT&& value) {
186 m_createdTimeHasBeenSet = true;
187 m_createdTime = std::forward<CreatedTimeT>(value);
188 }
189 template <typename CreatedTimeT = Aws::Utils::DateTime>
191 SetCreatedTime(std::forward<CreatedTimeT>(value));
192 return *this;
193 }
195
197
201 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
202 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
203 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
204 void SetLastModifiedTime(LastModifiedTimeT&& value) {
205 m_lastModifiedTimeHasBeenSet = true;
206 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
207 }
208 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
209 EvaluationSearchSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
210 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
211 return *this;
212 }
214
216
220 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
221 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
222 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
223 void SetTags(TagsT&& value) {
224 m_tagsHasBeenSet = true;
225 m_tags = std::forward<TagsT>(value);
226 }
227 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
229 SetTags(std::forward<TagsT>(value));
230 return *this;
231 }
232 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
233 EvaluationSearchSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
234 m_tagsHasBeenSet = true;
235 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
236 return *this;
237 }
239 private:
240 Aws::String m_evaluationId;
241
242 Aws::String m_evaluationArn;
243
244 Aws::String m_evaluationFormId;
245
246 int m_evaluationFormVersion{0};
247
248 Aws::String m_evaluationFormTitle;
249
250 EvaluationSearchMetadata m_metadata;
251
253
254 EvaluationType m_evaluationType{EvaluationType::NOT_SET};
255
256 Aws::Utils::DateTime m_createdTime{};
257
258 Aws::Utils::DateTime m_lastModifiedTime{};
259
261 bool m_evaluationIdHasBeenSet = false;
262 bool m_evaluationArnHasBeenSet = false;
263 bool m_evaluationFormIdHasBeenSet = false;
264 bool m_evaluationFormVersionHasBeenSet = false;
265 bool m_evaluationFormTitleHasBeenSet = false;
266 bool m_metadataHasBeenSet = false;
267 bool m_statusHasBeenSet = false;
268 bool m_evaluationTypeHasBeenSet = false;
269 bool m_createdTimeHasBeenSet = false;
270 bool m_lastModifiedTimeHasBeenSet = false;
271 bool m_tagsHasBeenSet = false;
272};
273
274} // namespace Model
275} // namespace Connect
276} // namespace Aws
const EvaluationSearchMetadata & GetMetadata() const
EvaluationSearchSummary & WithEvaluationFormTitle(EvaluationFormTitleT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
EvaluationSearchSummary & WithMetadata(MetadataT &&value)
EvaluationSearchSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
EvaluationSearchSummary & WithEvaluationArn(EvaluationArnT &&value)
EvaluationSearchSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::Utils::DateTime & GetCreatedTime() const
EvaluationSearchSummary & WithEvaluationFormVersion(int value)
EvaluationSearchSummary & WithEvaluationType(EvaluationType value)
void SetEvaluationFormId(EvaluationFormIdT &&value)
EvaluationSearchSummary & WithCreatedTime(CreatedTimeT &&value)
EvaluationSearchSummary & WithEvaluationFormId(EvaluationFormIdT &&value)
AWS_CONNECT_API EvaluationSearchSummary()=default
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API EvaluationSearchSummary(Aws::Utils::Json::JsonView jsonValue)
EvaluationSearchSummary & WithTags(TagsT &&value)
EvaluationSearchSummary & WithStatus(EvaluationStatus value)
AWS_CONNECT_API EvaluationSearchSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEvaluationFormTitle(EvaluationFormTitleT &&value)
EvaluationSearchSummary & WithEvaluationId(EvaluationIdT &&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