AWS SDK for C++

AWS SDK for C++ Version 1.11.777

Loading...
Searching...
No Matches
FraudsterRegistrationJobSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/voice-id/VoiceID_EXPORTS.h>
10#include <aws/voice-id/model/FailureDetails.h>
11#include <aws/voice-id/model/FraudsterRegistrationJobStatus.h>
12#include <aws/voice-id/model/JobProgress.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace VoiceID {
24namespace Model {
25
33 public:
34 AWS_VOICEID_API FraudsterRegistrationJobSummary() = default;
37 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
44 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
45 template <typename CreatedAtT = Aws::Utils::DateTime>
46 void SetCreatedAt(CreatedAtT&& value) {
47 m_createdAtHasBeenSet = true;
48 m_createdAt = std::forward<CreatedAtT>(value);
49 }
50 template <typename CreatedAtT = Aws::Utils::DateTime>
52 SetCreatedAt(std::forward<CreatedAtT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::String& GetDomainId() const { return m_domainId; }
63 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
64 template <typename DomainIdT = Aws::String>
65 void SetDomainId(DomainIdT&& value) {
66 m_domainIdHasBeenSet = true;
67 m_domainId = std::forward<DomainIdT>(value);
68 }
69 template <typename DomainIdT = Aws::String>
71 SetDomainId(std::forward<DomainIdT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::Utils::DateTime& GetEndedAt() const { return m_endedAt; }
81 inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; }
82 template <typename EndedAtT = Aws::Utils::DateTime>
83 void SetEndedAt(EndedAtT&& value) {
84 m_endedAtHasBeenSet = true;
85 m_endedAt = std::forward<EndedAtT>(value);
86 }
87 template <typename EndedAtT = Aws::Utils::DateTime>
89 SetEndedAt(std::forward<EndedAtT>(value));
90 return *this;
91 }
93
95
102 inline const FailureDetails& GetFailureDetails() const { return m_failureDetails; }
103 inline bool FailureDetailsHasBeenSet() const { return m_failureDetailsHasBeenSet; }
104 template <typename FailureDetailsT = FailureDetails>
105 void SetFailureDetails(FailureDetailsT&& value) {
106 m_failureDetailsHasBeenSet = true;
107 m_failureDetails = std::forward<FailureDetailsT>(value);
108 }
109 template <typename FailureDetailsT = FailureDetails>
111 SetFailureDetails(std::forward<FailureDetailsT>(value));
112 return *this;
113 }
115
117
120 inline const Aws::String& GetJobId() const { return m_jobId; }
121 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
122 template <typename JobIdT = Aws::String>
123 void SetJobId(JobIdT&& value) {
124 m_jobIdHasBeenSet = true;
125 m_jobId = std::forward<JobIdT>(value);
126 }
127 template <typename JobIdT = Aws::String>
129 SetJobId(std::forward<JobIdT>(value));
130 return *this;
131 }
133
135
138 inline const Aws::String& GetJobName() const { return m_jobName; }
139 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
140 template <typename JobNameT = Aws::String>
141 void SetJobName(JobNameT&& value) {
142 m_jobNameHasBeenSet = true;
143 m_jobName = std::forward<JobNameT>(value);
144 }
145 template <typename JobNameT = Aws::String>
147 SetJobName(std::forward<JobNameT>(value));
148 return *this;
149 }
151
153
157 inline const JobProgress& GetJobProgress() const { return m_jobProgress; }
158 inline bool JobProgressHasBeenSet() const { return m_jobProgressHasBeenSet; }
159 template <typename JobProgressT = JobProgress>
160 void SetJobProgress(JobProgressT&& value) {
161 m_jobProgressHasBeenSet = true;
162 m_jobProgress = std::forward<JobProgressT>(value);
163 }
164 template <typename JobProgressT = JobProgress>
166 SetJobProgress(std::forward<JobProgressT>(value));
167 return *this;
168 }
170
172
175 inline FraudsterRegistrationJobStatus GetJobStatus() const { return m_jobStatus; }
176 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
178 m_jobStatusHasBeenSet = true;
179 m_jobStatus = value;
180 }
182 SetJobStatus(value);
183 return *this;
184 }
186 private:
187 Aws::Utils::DateTime m_createdAt{};
188
189 Aws::String m_domainId;
190
191 Aws::Utils::DateTime m_endedAt{};
192
193 FailureDetails m_failureDetails;
194
195 Aws::String m_jobId;
196
197 Aws::String m_jobName;
198
199 JobProgress m_jobProgress;
200
202 bool m_createdAtHasBeenSet = false;
203 bool m_domainIdHasBeenSet = false;
204 bool m_endedAtHasBeenSet = false;
205 bool m_failureDetailsHasBeenSet = false;
206 bool m_jobIdHasBeenSet = false;
207 bool m_jobNameHasBeenSet = false;
208 bool m_jobProgressHasBeenSet = false;
209 bool m_jobStatusHasBeenSet = false;
210};
211
212} // namespace Model
213} // namespace VoiceID
214} // namespace Aws
FraudsterRegistrationJobSummary & WithJobStatus(FraudsterRegistrationJobStatus value)
AWS_VOICEID_API FraudsterRegistrationJobSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_VOICEID_API FraudsterRegistrationJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_VOICEID_API FraudsterRegistrationJobSummary()=default
FraudsterRegistrationJobSummary & WithCreatedAt(CreatedAtT &&value)
FraudsterRegistrationJobSummary & WithJobProgress(JobProgressT &&value)
FraudsterRegistrationJobSummary & WithEndedAt(EndedAtT &&value)
FraudsterRegistrationJobSummary & WithFailureDetails(FailureDetailsT &&value)
FraudsterRegistrationJobSummary & WithDomainId(DomainIdT &&value)
FraudsterRegistrationJobSummary & WithJobName(JobNameT &&value)
FraudsterRegistrationJobSummary & WithJobId(JobIdT &&value)
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue