AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FraudsterRegistrationJobSummary.h
1
6#pragma once
7#include <aws/voice-id/VoiceID_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/voice-id/model/FailureDetails.h>
11#include <aws/voice-id/model/JobProgress.h>
12#include <aws/voice-id/model/FraudsterRegistrationJobStatus.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace VoiceID
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_VOICEID_API FraudsterRegistrationJobSummary() = default;
42 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
50 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
51 template<typename CreatedAtT = Aws::Utils::DateTime>
52 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
53 template<typename CreatedAtT = Aws::Utils::DateTime>
54 FraudsterRegistrationJobSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
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) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
66 template<typename DomainIdT = Aws::String>
67 FraudsterRegistrationJobSummary& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetEndedAt() const { return m_endedAt; }
75 inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; }
76 template<typename EndedAtT = Aws::Utils::DateTime>
77 void SetEndedAt(EndedAtT&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::forward<EndedAtT>(value); }
78 template<typename EndedAtT = Aws::Utils::DateTime>
79 FraudsterRegistrationJobSummary& WithEndedAt(EndedAtT&& value) { SetEndedAt(std::forward<EndedAtT>(value)); return *this;}
81
83
90 inline const FailureDetails& GetFailureDetails() const { return m_failureDetails; }
91 inline bool FailureDetailsHasBeenSet() const { return m_failureDetailsHasBeenSet; }
92 template<typename FailureDetailsT = FailureDetails>
93 void SetFailureDetails(FailureDetailsT&& value) { m_failureDetailsHasBeenSet = true; m_failureDetails = std::forward<FailureDetailsT>(value); }
94 template<typename FailureDetailsT = FailureDetails>
95 FraudsterRegistrationJobSummary& WithFailureDetails(FailureDetailsT&& value) { SetFailureDetails(std::forward<FailureDetailsT>(value)); return *this;}
97
99
102 inline const Aws::String& GetJobId() const { return m_jobId; }
103 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
104 template<typename JobIdT = Aws::String>
105 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
106 template<typename JobIdT = Aws::String>
107 FraudsterRegistrationJobSummary& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
109
111
114 inline const Aws::String& GetJobName() const { return m_jobName; }
115 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
116 template<typename JobNameT = Aws::String>
117 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
118 template<typename JobNameT = Aws::String>
119 FraudsterRegistrationJobSummary& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
121
123
127 inline const JobProgress& GetJobProgress() const { return m_jobProgress; }
128 inline bool JobProgressHasBeenSet() const { return m_jobProgressHasBeenSet; }
129 template<typename JobProgressT = JobProgress>
130 void SetJobProgress(JobProgressT&& value) { m_jobProgressHasBeenSet = true; m_jobProgress = std::forward<JobProgressT>(value); }
131 template<typename JobProgressT = JobProgress>
132 FraudsterRegistrationJobSummary& WithJobProgress(JobProgressT&& value) { SetJobProgress(std::forward<JobProgressT>(value)); return *this;}
134
136
139 inline FraudsterRegistrationJobStatus GetJobStatus() const { return m_jobStatus; }
140 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
141 inline void SetJobStatus(FraudsterRegistrationJobStatus value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
144 private:
145
146 Aws::Utils::DateTime m_createdAt{};
147 bool m_createdAtHasBeenSet = false;
148
149 Aws::String m_domainId;
150 bool m_domainIdHasBeenSet = false;
151
152 Aws::Utils::DateTime m_endedAt{};
153 bool m_endedAtHasBeenSet = false;
154
155 FailureDetails m_failureDetails;
156 bool m_failureDetailsHasBeenSet = false;
157
158 Aws::String m_jobId;
159 bool m_jobIdHasBeenSet = false;
160
161 Aws::String m_jobName;
162 bool m_jobNameHasBeenSet = false;
163
164 JobProgress m_jobProgress;
165 bool m_jobProgressHasBeenSet = false;
166
168 bool m_jobStatusHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace VoiceID
173} // 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