AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MediaAnalysisJobDescription.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/rekognition/model/MediaAnalysisOperationsConfig.h>
10#include <aws/rekognition/model/MediaAnalysisJobStatus.h>
11#include <aws/rekognition/model/MediaAnalysisJobFailureDetails.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/rekognition/model/MediaAnalysisInput.h>
14#include <aws/rekognition/model/MediaAnalysisOutputConfig.h>
15#include <aws/rekognition/model/MediaAnalysisResults.h>
16#include <aws/rekognition/model/MediaAnalysisManifestSummary.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace Rekognition
30{
31namespace Model
32{
33
40 {
41 public:
42 AWS_REKOGNITION_API MediaAnalysisJobDescription();
45 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetJobId() const{ return m_jobId; }
53 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
54 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
55 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
56 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
57 inline MediaAnalysisJobDescription& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
58 inline MediaAnalysisJobDescription& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
59 inline MediaAnalysisJobDescription& WithJobId(const char* value) { SetJobId(value); return *this;}
61
63
66 inline const Aws::String& GetJobName() const{ return m_jobName; }
67 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
68 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
69 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
70 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
71 inline MediaAnalysisJobDescription& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
72 inline MediaAnalysisJobDescription& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
73 inline MediaAnalysisJobDescription& WithJobName(const char* value) { SetJobName(value); return *this;}
75
77
80 inline const MediaAnalysisOperationsConfig& GetOperationsConfig() const{ return m_operationsConfig; }
81 inline bool OperationsConfigHasBeenSet() const { return m_operationsConfigHasBeenSet; }
82 inline void SetOperationsConfig(const MediaAnalysisOperationsConfig& value) { m_operationsConfigHasBeenSet = true; m_operationsConfig = value; }
83 inline void SetOperationsConfig(MediaAnalysisOperationsConfig&& value) { m_operationsConfigHasBeenSet = true; m_operationsConfig = std::move(value); }
87
89
92 inline const MediaAnalysisJobStatus& GetStatus() const{ return m_status; }
93 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
94 inline void SetStatus(const MediaAnalysisJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
95 inline void SetStatus(MediaAnalysisJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
96 inline MediaAnalysisJobDescription& WithStatus(const MediaAnalysisJobStatus& value) { SetStatus(value); return *this;}
97 inline MediaAnalysisJobDescription& WithStatus(MediaAnalysisJobStatus&& value) { SetStatus(std::move(value)); return *this;}
99
101
104 inline const MediaAnalysisJobFailureDetails& GetFailureDetails() const{ return m_failureDetails; }
105 inline bool FailureDetailsHasBeenSet() const { return m_failureDetailsHasBeenSet; }
106 inline void SetFailureDetails(const MediaAnalysisJobFailureDetails& value) { m_failureDetailsHasBeenSet = true; m_failureDetails = value; }
107 inline void SetFailureDetails(MediaAnalysisJobFailureDetails&& value) { m_failureDetailsHasBeenSet = true; m_failureDetails = std::move(value); }
111
113
116 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
117 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
118 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
119 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
123
125
128 inline const Aws::Utils::DateTime& GetCompletionTimestamp() const{ return m_completionTimestamp; }
129 inline bool CompletionTimestampHasBeenSet() const { return m_completionTimestampHasBeenSet; }
130 inline void SetCompletionTimestamp(const Aws::Utils::DateTime& value) { m_completionTimestampHasBeenSet = true; m_completionTimestamp = value; }
131 inline void SetCompletionTimestamp(Aws::Utils::DateTime&& value) { m_completionTimestampHasBeenSet = true; m_completionTimestamp = std::move(value); }
135
137
141 inline const MediaAnalysisInput& GetInput() const{ return m_input; }
142 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
143 inline void SetInput(const MediaAnalysisInput& value) { m_inputHasBeenSet = true; m_input = value; }
144 inline void SetInput(MediaAnalysisInput&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
145 inline MediaAnalysisJobDescription& WithInput(const MediaAnalysisInput& value) { SetInput(value); return *this;}
146 inline MediaAnalysisJobDescription& WithInput(MediaAnalysisInput&& value) { SetInput(std::move(value)); return *this;}
148
150
153 inline const MediaAnalysisOutputConfig& GetOutputConfig() const{ return m_outputConfig; }
154 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
155 inline void SetOutputConfig(const MediaAnalysisOutputConfig& value) { m_outputConfigHasBeenSet = true; m_outputConfig = value; }
156 inline void SetOutputConfig(MediaAnalysisOutputConfig&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::move(value); }
160
162
165 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
166 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
167 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
168 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
169 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
170 inline MediaAnalysisJobDescription& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
171 inline MediaAnalysisJobDescription& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
172 inline MediaAnalysisJobDescription& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
174
176
179 inline const MediaAnalysisResults& GetResults() const{ return m_results; }
180 inline bool ResultsHasBeenSet() const { return m_resultsHasBeenSet; }
181 inline void SetResults(const MediaAnalysisResults& value) { m_resultsHasBeenSet = true; m_results = value; }
182 inline void SetResults(MediaAnalysisResults&& value) { m_resultsHasBeenSet = true; m_results = std::move(value); }
183 inline MediaAnalysisJobDescription& WithResults(const MediaAnalysisResults& value) { SetResults(value); return *this;}
184 inline MediaAnalysisJobDescription& WithResults(MediaAnalysisResults&& value) { SetResults(std::move(value)); return *this;}
186
188
192 inline const MediaAnalysisManifestSummary& GetManifestSummary() const{ return m_manifestSummary; }
193 inline bool ManifestSummaryHasBeenSet() const { return m_manifestSummaryHasBeenSet; }
194 inline void SetManifestSummary(const MediaAnalysisManifestSummary& value) { m_manifestSummaryHasBeenSet = true; m_manifestSummary = value; }
195 inline void SetManifestSummary(MediaAnalysisManifestSummary&& value) { m_manifestSummaryHasBeenSet = true; m_manifestSummary = std::move(value); }
199 private:
200
201 Aws::String m_jobId;
202 bool m_jobIdHasBeenSet = false;
203
204 Aws::String m_jobName;
205 bool m_jobNameHasBeenSet = false;
206
207 MediaAnalysisOperationsConfig m_operationsConfig;
208 bool m_operationsConfigHasBeenSet = false;
209
210 MediaAnalysisJobStatus m_status;
211 bool m_statusHasBeenSet = false;
212
213 MediaAnalysisJobFailureDetails m_failureDetails;
214 bool m_failureDetailsHasBeenSet = false;
215
216 Aws::Utils::DateTime m_creationTimestamp;
217 bool m_creationTimestampHasBeenSet = false;
218
219 Aws::Utils::DateTime m_completionTimestamp;
220 bool m_completionTimestampHasBeenSet = false;
221
222 MediaAnalysisInput m_input;
223 bool m_inputHasBeenSet = false;
224
225 MediaAnalysisOutputConfig m_outputConfig;
226 bool m_outputConfigHasBeenSet = false;
227
228 Aws::String m_kmsKeyId;
229 bool m_kmsKeyIdHasBeenSet = false;
230
231 MediaAnalysisResults m_results;
232 bool m_resultsHasBeenSet = false;
233
234 MediaAnalysisManifestSummary m_manifestSummary;
235 bool m_manifestSummaryHasBeenSet = false;
236 };
237
238} // namespace Model
239} // namespace Rekognition
240} // namespace Aws
MediaAnalysisJobDescription & WithKmsKeyId(const Aws::String &value)
MediaAnalysisJobDescription & WithCompletionTimestamp(Aws::Utils::DateTime &&value)
MediaAnalysisJobDescription & WithOutputConfig(const MediaAnalysisOutputConfig &value)
MediaAnalysisJobDescription & WithKmsKeyId(const char *value)
MediaAnalysisJobDescription & WithJobName(const Aws::String &value)
void SetManifestSummary(MediaAnalysisManifestSummary &&value)
MediaAnalysisJobDescription & WithJobId(const char *value)
MediaAnalysisJobDescription & WithOperationsConfig(const MediaAnalysisOperationsConfig &value)
MediaAnalysisJobDescription & WithKmsKeyId(Aws::String &&value)
MediaAnalysisJobDescription & WithCreationTimestamp(const Aws::Utils::DateTime &value)
MediaAnalysisJobDescription & WithCreationTimestamp(Aws::Utils::DateTime &&value)
MediaAnalysisJobDescription & WithOperationsConfig(MediaAnalysisOperationsConfig &&value)
MediaAnalysisJobDescription & WithFailureDetails(const MediaAnalysisJobFailureDetails &value)
void SetCompletionTimestamp(const Aws::Utils::DateTime &value)
AWS_REKOGNITION_API MediaAnalysisJobDescription(Aws::Utils::Json::JsonView jsonValue)
MediaAnalysisJobDescription & WithManifestSummary(const MediaAnalysisManifestSummary &value)
MediaAnalysisJobDescription & WithJobId(const Aws::String &value)
void SetOperationsConfig(const MediaAnalysisOperationsConfig &value)
MediaAnalysisJobDescription & WithJobName(const char *value)
MediaAnalysisJobDescription & WithInput(const MediaAnalysisInput &value)
MediaAnalysisJobDescription & WithResults(MediaAnalysisResults &&value)
void SetManifestSummary(const MediaAnalysisManifestSummary &value)
MediaAnalysisJobDescription & WithJobId(Aws::String &&value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOperationsConfig(MediaAnalysisOperationsConfig &&value)
const MediaAnalysisOperationsConfig & GetOperationsConfig() const
AWS_REKOGNITION_API MediaAnalysisJobDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
MediaAnalysisJobDescription & WithOutputConfig(MediaAnalysisOutputConfig &&value)
void SetFailureDetails(const MediaAnalysisJobFailureDetails &value)
MediaAnalysisJobDescription & WithJobName(Aws::String &&value)
MediaAnalysisJobDescription & WithResults(const MediaAnalysisResults &value)
const MediaAnalysisOutputConfig & GetOutputConfig() const
MediaAnalysisJobDescription & WithManifestSummary(MediaAnalysisManifestSummary &&value)
void SetFailureDetails(MediaAnalysisJobFailureDetails &&value)
MediaAnalysisJobDescription & WithCompletionTimestamp(const Aws::Utils::DateTime &value)
MediaAnalysisJobDescription & WithStatus(const MediaAnalysisJobStatus &value)
void SetOutputConfig(const MediaAnalysisOutputConfig &value)
const MediaAnalysisManifestSummary & GetManifestSummary() const
const MediaAnalysisJobFailureDetails & GetFailureDetails() const
MediaAnalysisJobDescription & WithInput(MediaAnalysisInput &&value)
MediaAnalysisJobDescription & WithStatus(MediaAnalysisJobStatus &&value)
MediaAnalysisJobDescription & WithFailureDetails(MediaAnalysisJobFailureDetails &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue