AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
EvaluationFormVersionSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/EvaluationFormVersionStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Connect {
22namespace Model {
23
30 public:
31 AWS_CONNECT_API EvaluationFormVersionSummary() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetEvaluationFormArn() const { return m_evaluationFormArn; }
41 inline bool EvaluationFormArnHasBeenSet() const { return m_evaluationFormArnHasBeenSet; }
42 template <typename EvaluationFormArnT = Aws::String>
43 void SetEvaluationFormArn(EvaluationFormArnT&& value) {
44 m_evaluationFormArnHasBeenSet = true;
45 m_evaluationFormArn = std::forward<EvaluationFormArnT>(value);
46 }
47 template <typename EvaluationFormArnT = Aws::String>
49 SetEvaluationFormArn(std::forward<EvaluationFormArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetEvaluationFormId() const { return m_evaluationFormId; }
59 inline bool EvaluationFormIdHasBeenSet() const { return m_evaluationFormIdHasBeenSet; }
60 template <typename EvaluationFormIdT = Aws::String>
61 void SetEvaluationFormId(EvaluationFormIdT&& value) {
62 m_evaluationFormIdHasBeenSet = true;
63 m_evaluationFormId = std::forward<EvaluationFormIdT>(value);
64 }
65 template <typename EvaluationFormIdT = Aws::String>
67 SetEvaluationFormId(std::forward<EvaluationFormIdT>(value));
68 return *this;
69 }
71
73
76 inline int GetEvaluationFormVersion() const { return m_evaluationFormVersion; }
77 inline bool EvaluationFormVersionHasBeenSet() const { return m_evaluationFormVersionHasBeenSet; }
78 inline void SetEvaluationFormVersion(int value) {
79 m_evaluationFormVersionHasBeenSet = true;
80 m_evaluationFormVersion = value;
81 }
84 return *this;
85 }
87
89
92 inline bool GetLocked() const { return m_locked; }
93 inline bool LockedHasBeenSet() const { return m_lockedHasBeenSet; }
94 inline void SetLocked(bool value) {
95 m_lockedHasBeenSet = true;
96 m_locked = value;
97 }
99 SetLocked(value);
100 return *this;
101 }
103
105
108 inline EvaluationFormVersionStatus GetStatus() const { return m_status; }
109 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
111 m_statusHasBeenSet = true;
112 m_status = value;
113 }
115 SetStatus(value);
116 return *this;
117 }
119
121
124 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
125 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
126 template <typename CreatedTimeT = Aws::Utils::DateTime>
127 void SetCreatedTime(CreatedTimeT&& value) {
128 m_createdTimeHasBeenSet = true;
129 m_createdTime = std::forward<CreatedTimeT>(value);
130 }
131 template <typename CreatedTimeT = Aws::Utils::DateTime>
133 SetCreatedTime(std::forward<CreatedTimeT>(value));
134 return *this;
135 }
137
139
143 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
144 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
145 template <typename CreatedByT = Aws::String>
146 void SetCreatedBy(CreatedByT&& value) {
147 m_createdByHasBeenSet = true;
148 m_createdBy = std::forward<CreatedByT>(value);
149 }
150 template <typename CreatedByT = Aws::String>
152 SetCreatedBy(std::forward<CreatedByT>(value));
153 return *this;
154 }
156
158
161 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
162 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
163 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
164 void SetLastModifiedTime(LastModifiedTimeT&& value) {
165 m_lastModifiedTimeHasBeenSet = true;
166 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
167 }
168 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
170 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
171 return *this;
172 }
174
176
180 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
181 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
182 template <typename LastModifiedByT = Aws::String>
183 void SetLastModifiedBy(LastModifiedByT&& value) {
184 m_lastModifiedByHasBeenSet = true;
185 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
186 }
187 template <typename LastModifiedByT = Aws::String>
189 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
190 return *this;
191 }
193 private:
194 Aws::String m_evaluationFormArn;
195
196 Aws::String m_evaluationFormId;
197
198 int m_evaluationFormVersion{0};
199
200 bool m_locked{false};
201
203
204 Aws::Utils::DateTime m_createdTime{};
205
206 Aws::String m_createdBy;
207
208 Aws::Utils::DateTime m_lastModifiedTime{};
209
210 Aws::String m_lastModifiedBy;
211 bool m_evaluationFormArnHasBeenSet = false;
212 bool m_evaluationFormIdHasBeenSet = false;
213 bool m_evaluationFormVersionHasBeenSet = false;
214 bool m_lockedHasBeenSet = false;
215 bool m_statusHasBeenSet = false;
216 bool m_createdTimeHasBeenSet = false;
217 bool m_createdByHasBeenSet = false;
218 bool m_lastModifiedTimeHasBeenSet = false;
219 bool m_lastModifiedByHasBeenSet = false;
220};
221
222} // namespace Model
223} // namespace Connect
224} // namespace Aws
EvaluationFormVersionSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
EvaluationFormVersionSummary & WithLastModifiedBy(LastModifiedByT &&value)
EvaluationFormVersionSummary & WithEvaluationFormArn(EvaluationFormArnT &&value)
AWS_CONNECT_API EvaluationFormVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
EvaluationFormVersionSummary & WithEvaluationFormId(EvaluationFormIdT &&value)
AWS_CONNECT_API EvaluationFormVersionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API EvaluationFormVersionSummary()=default
EvaluationFormVersionSummary & WithCreatedBy(CreatedByT &&value)
EvaluationFormVersionSummary & WithEvaluationFormVersion(int value)
EvaluationFormVersionSummary & WithStatus(EvaluationFormVersionStatus value)
EvaluationFormVersionSummary & WithCreatedTime(CreatedTimeT &&value)
EvaluationFormVersionSummary & WithLocked(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue