AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
EvaluationFormSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
29 public:
30 AWS_CONNECT_API EvaluationFormSummary() = default;
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetEvaluationFormId() const { return m_evaluationFormId; }
40 inline bool EvaluationFormIdHasBeenSet() const { return m_evaluationFormIdHasBeenSet; }
41 template <typename EvaluationFormIdT = Aws::String>
42 void SetEvaluationFormId(EvaluationFormIdT&& value) {
43 m_evaluationFormIdHasBeenSet = true;
44 m_evaluationFormId = std::forward<EvaluationFormIdT>(value);
45 }
46 template <typename EvaluationFormIdT = Aws::String>
47 EvaluationFormSummary& WithEvaluationFormId(EvaluationFormIdT&& value) {
48 SetEvaluationFormId(std::forward<EvaluationFormIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetEvaluationFormArn() const { return m_evaluationFormArn; }
58 inline bool EvaluationFormArnHasBeenSet() const { return m_evaluationFormArnHasBeenSet; }
59 template <typename EvaluationFormArnT = Aws::String>
60 void SetEvaluationFormArn(EvaluationFormArnT&& value) {
61 m_evaluationFormArnHasBeenSet = true;
62 m_evaluationFormArn = std::forward<EvaluationFormArnT>(value);
63 }
64 template <typename EvaluationFormArnT = Aws::String>
65 EvaluationFormSummary& WithEvaluationFormArn(EvaluationFormArnT&& value) {
66 SetEvaluationFormArn(std::forward<EvaluationFormArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetTitle() const { return m_title; }
76 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
77 template <typename TitleT = Aws::String>
78 void SetTitle(TitleT&& value) {
79 m_titleHasBeenSet = true;
80 m_title = std::forward<TitleT>(value);
81 }
82 template <typename TitleT = Aws::String>
84 SetTitle(std::forward<TitleT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
94 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
95 template <typename CreatedTimeT = Aws::Utils::DateTime>
96 void SetCreatedTime(CreatedTimeT&& value) {
97 m_createdTimeHasBeenSet = true;
98 m_createdTime = std::forward<CreatedTimeT>(value);
99 }
100 template <typename CreatedTimeT = Aws::Utils::DateTime>
101 EvaluationFormSummary& WithCreatedTime(CreatedTimeT&& value) {
102 SetCreatedTime(std::forward<CreatedTimeT>(value));
103 return *this;
104 }
106
108
112 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
113 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
114 template <typename CreatedByT = Aws::String>
115 void SetCreatedBy(CreatedByT&& value) {
116 m_createdByHasBeenSet = true;
117 m_createdBy = std::forward<CreatedByT>(value);
118 }
119 template <typename CreatedByT = Aws::String>
121 SetCreatedBy(std::forward<CreatedByT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
131 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
132 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
133 void SetLastModifiedTime(LastModifiedTimeT&& value) {
134 m_lastModifiedTimeHasBeenSet = true;
135 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
136 }
137 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
138 EvaluationFormSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
139 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
140 return *this;
141 }
143
145
149 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
150 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
151 template <typename LastModifiedByT = Aws::String>
152 void SetLastModifiedBy(LastModifiedByT&& value) {
153 m_lastModifiedByHasBeenSet = true;
154 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
155 }
156 template <typename LastModifiedByT = Aws::String>
157 EvaluationFormSummary& WithLastModifiedBy(LastModifiedByT&& value) {
158 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::Utils::DateTime& GetLastActivatedTime() const { return m_lastActivatedTime; }
168 inline bool LastActivatedTimeHasBeenSet() const { return m_lastActivatedTimeHasBeenSet; }
169 template <typename LastActivatedTimeT = Aws::Utils::DateTime>
170 void SetLastActivatedTime(LastActivatedTimeT&& value) {
171 m_lastActivatedTimeHasBeenSet = true;
172 m_lastActivatedTime = std::forward<LastActivatedTimeT>(value);
173 }
174 template <typename LastActivatedTimeT = Aws::Utils::DateTime>
175 EvaluationFormSummary& WithLastActivatedTime(LastActivatedTimeT&& value) {
176 SetLastActivatedTime(std::forward<LastActivatedTimeT>(value));
177 return *this;
178 }
180
182
186 inline const Aws::String& GetLastActivatedBy() const { return m_lastActivatedBy; }
187 inline bool LastActivatedByHasBeenSet() const { return m_lastActivatedByHasBeenSet; }
188 template <typename LastActivatedByT = Aws::String>
189 void SetLastActivatedBy(LastActivatedByT&& value) {
190 m_lastActivatedByHasBeenSet = true;
191 m_lastActivatedBy = std::forward<LastActivatedByT>(value);
192 }
193 template <typename LastActivatedByT = Aws::String>
194 EvaluationFormSummary& WithLastActivatedBy(LastActivatedByT&& value) {
195 SetLastActivatedBy(std::forward<LastActivatedByT>(value));
196 return *this;
197 }
199
201
204 inline int GetLatestVersion() const { return m_latestVersion; }
205 inline bool LatestVersionHasBeenSet() const { return m_latestVersionHasBeenSet; }
206 inline void SetLatestVersion(int value) {
207 m_latestVersionHasBeenSet = true;
208 m_latestVersion = value;
209 }
211 SetLatestVersion(value);
212 return *this;
213 }
215
217
220 inline int GetActiveVersion() const { return m_activeVersion; }
221 inline bool ActiveVersionHasBeenSet() const { return m_activeVersionHasBeenSet; }
222 inline void SetActiveVersion(int value) {
223 m_activeVersionHasBeenSet = true;
224 m_activeVersion = value;
225 }
227 SetActiveVersion(value);
228 return *this;
229 }
231 private:
232 Aws::String m_evaluationFormId;
233
234 Aws::String m_evaluationFormArn;
235
236 Aws::String m_title;
237
238 Aws::Utils::DateTime m_createdTime{};
239
240 Aws::String m_createdBy;
241
242 Aws::Utils::DateTime m_lastModifiedTime{};
243
244 Aws::String m_lastModifiedBy;
245
246 Aws::Utils::DateTime m_lastActivatedTime{};
247
248 Aws::String m_lastActivatedBy;
249
250 int m_latestVersion{0};
251
252 int m_activeVersion{0};
253 bool m_evaluationFormIdHasBeenSet = false;
254 bool m_evaluationFormArnHasBeenSet = false;
255 bool m_titleHasBeenSet = false;
256 bool m_createdTimeHasBeenSet = false;
257 bool m_createdByHasBeenSet = false;
258 bool m_lastModifiedTimeHasBeenSet = false;
259 bool m_lastModifiedByHasBeenSet = false;
260 bool m_lastActivatedTimeHasBeenSet = false;
261 bool m_lastActivatedByHasBeenSet = false;
262 bool m_latestVersionHasBeenSet = false;
263 bool m_activeVersionHasBeenSet = false;
264};
265
266} // namespace Model
267} // namespace Connect
268} // namespace Aws
void SetLastActivatedBy(LastActivatedByT &&value)
const Aws::Utils::DateTime & GetLastActivatedTime() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
EvaluationFormSummary & WithCreatedBy(CreatedByT &&value)
EvaluationFormSummary & WithEvaluationFormArn(EvaluationFormArnT &&value)
void SetEvaluationFormArn(EvaluationFormArnT &&value)
EvaluationFormSummary & WithActiveVersion(int value)
EvaluationFormSummary & WithLastModifiedBy(LastModifiedByT &&value)
AWS_CONNECT_API EvaluationFormSummary()=default
AWS_CONNECT_API EvaluationFormSummary(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetLastActivatedTime(LastActivatedTimeT &&value)
AWS_CONNECT_API EvaluationFormSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EvaluationFormSummary & WithEvaluationFormId(EvaluationFormIdT &&value)
EvaluationFormSummary & WithLastActivatedBy(LastActivatedByT &&value)
EvaluationFormSummary & WithLatestVersion(int value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
EvaluationFormSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
EvaluationFormSummary & WithCreatedTime(CreatedTimeT &&value)
void SetEvaluationFormId(EvaluationFormIdT &&value)
EvaluationFormSummary & WithTitle(TitleT &&value)
EvaluationFormSummary & WithLastActivatedTime(LastActivatedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue