AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
DescribeStreamProcessorResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rekognition/Rekognition_EXPORTS.h>
12#include <aws/rekognition/model/RegionOfInterest.h>
13#include <aws/rekognition/model/StreamProcessorDataSharingPreference.h>
14#include <aws/rekognition/model/StreamProcessorInput.h>
15#include <aws/rekognition/model/StreamProcessorNotificationChannel.h>
16#include <aws/rekognition/model/StreamProcessorOutput.h>
17#include <aws/rekognition/model/StreamProcessorSettings.h>
18#include <aws/rekognition/model/StreamProcessorStatus.h>
19
20#include <utility>
21
22namespace Aws {
23template <typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils {
27namespace Json {
28class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace Rekognition {
32namespace Model {
34 public:
35 AWS_REKOGNITION_API DescribeStreamProcessorResult() = default;
38
40
43 inline const Aws::String& GetName() const { return m_name; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetStreamProcessorArn() const { return m_streamProcessorArn; }
61 template <typename StreamProcessorArnT = Aws::String>
62 void SetStreamProcessorArn(StreamProcessorArnT&& value) {
63 m_streamProcessorArnHasBeenSet = true;
64 m_streamProcessorArn = std::forward<StreamProcessorArnT>(value);
65 }
66 template <typename StreamProcessorArnT = Aws::String>
68 SetStreamProcessorArn(std::forward<StreamProcessorArnT>(value));
69 return *this;
70 }
72
74
77 inline StreamProcessorStatus GetStatus() const { return m_status; }
78 inline void SetStatus(StreamProcessorStatus value) {
79 m_statusHasBeenSet = true;
80 m_status = value;
81 }
83 SetStatus(value);
84 return *this;
85 }
87
89
92 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
93 template <typename StatusMessageT = Aws::String>
94 void SetStatusMessage(StatusMessageT&& value) {
95 m_statusMessageHasBeenSet = true;
96 m_statusMessage = std::forward<StatusMessageT>(value);
97 }
98 template <typename StatusMessageT = Aws::String>
100 SetStatusMessage(std::forward<StatusMessageT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; }
110 template <typename CreationTimestampT = Aws::Utils::DateTime>
111 void SetCreationTimestamp(CreationTimestampT&& value) {
112 m_creationTimestampHasBeenSet = true;
113 m_creationTimestamp = std::forward<CreationTimestampT>(value);
114 }
115 template <typename CreationTimestampT = Aws::Utils::DateTime>
117 SetCreationTimestamp(std::forward<CreationTimestampT>(value));
118 return *this;
119 }
121
123
128 inline const Aws::Utils::DateTime& GetLastUpdateTimestamp() const { return m_lastUpdateTimestamp; }
129 template <typename LastUpdateTimestampT = Aws::Utils::DateTime>
130 void SetLastUpdateTimestamp(LastUpdateTimestampT&& value) {
131 m_lastUpdateTimestampHasBeenSet = true;
132 m_lastUpdateTimestamp = std::forward<LastUpdateTimestampT>(value);
133 }
134 template <typename LastUpdateTimestampT = Aws::Utils::DateTime>
136 SetLastUpdateTimestamp(std::forward<LastUpdateTimestampT>(value));
137 return *this;
138 }
140
142
145 inline const StreamProcessorInput& GetInput() const { return m_input; }
146 template <typename InputT = StreamProcessorInput>
147 void SetInput(InputT&& value) {
148 m_inputHasBeenSet = true;
149 m_input = std::forward<InputT>(value);
150 }
151 template <typename InputT = StreamProcessorInput>
153 SetInput(std::forward<InputT>(value));
154 return *this;
155 }
157
159
163 inline const StreamProcessorOutput& GetOutput() const { return m_output; }
164 template <typename OutputT = StreamProcessorOutput>
165 void SetOutput(OutputT&& value) {
166 m_outputHasBeenSet = true;
167 m_output = std::forward<OutputT>(value);
168 }
169 template <typename OutputT = StreamProcessorOutput>
171 SetOutput(std::forward<OutputT>(value));
172 return *this;
173 }
175
177
180 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
181 template <typename RoleArnT = Aws::String>
182 void SetRoleArn(RoleArnT&& value) {
183 m_roleArnHasBeenSet = true;
184 m_roleArn = std::forward<RoleArnT>(value);
185 }
186 template <typename RoleArnT = Aws::String>
188 SetRoleArn(std::forward<RoleArnT>(value));
189 return *this;
190 }
192
194
199 inline const StreamProcessorSettings& GetSettings() const { return m_settings; }
200 template <typename SettingsT = StreamProcessorSettings>
201 void SetSettings(SettingsT&& value) {
202 m_settingsHasBeenSet = true;
203 m_settings = std::forward<SettingsT>(value);
204 }
205 template <typename SettingsT = StreamProcessorSettings>
207 SetSettings(std::forward<SettingsT>(value));
208 return *this;
209 }
211
213
214 inline const StreamProcessorNotificationChannel& GetNotificationChannel() const { return m_notificationChannel; }
215 template <typename NotificationChannelT = StreamProcessorNotificationChannel>
216 void SetNotificationChannel(NotificationChannelT&& value) {
217 m_notificationChannelHasBeenSet = true;
218 m_notificationChannel = std::forward<NotificationChannelT>(value);
219 }
220 template <typename NotificationChannelT = StreamProcessorNotificationChannel>
222 SetNotificationChannel(std::forward<NotificationChannelT>(value));
223 return *this;
224 }
226
228
232 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
233 template <typename KmsKeyIdT = Aws::String>
234 void SetKmsKeyId(KmsKeyIdT&& value) {
235 m_kmsKeyIdHasBeenSet = true;
236 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
237 }
238 template <typename KmsKeyIdT = Aws::String>
240 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
241 return *this;
242 }
244
246
251 inline const Aws::Vector<RegionOfInterest>& GetRegionsOfInterest() const { return m_regionsOfInterest; }
252 template <typename RegionsOfInterestT = Aws::Vector<RegionOfInterest>>
253 void SetRegionsOfInterest(RegionsOfInterestT&& value) {
254 m_regionsOfInterestHasBeenSet = true;
255 m_regionsOfInterest = std::forward<RegionsOfInterestT>(value);
256 }
257 template <typename RegionsOfInterestT = Aws::Vector<RegionOfInterest>>
259 SetRegionsOfInterest(std::forward<RegionsOfInterestT>(value));
260 return *this;
261 }
262 template <typename RegionsOfInterestT = RegionOfInterest>
264 m_regionsOfInterestHasBeenSet = true;
265 m_regionsOfInterest.emplace_back(std::forward<RegionsOfInterestT>(value));
266 return *this;
267 }
269
271
277 inline const StreamProcessorDataSharingPreference& GetDataSharingPreference() const { return m_dataSharingPreference; }
278 template <typename DataSharingPreferenceT = StreamProcessorDataSharingPreference>
279 void SetDataSharingPreference(DataSharingPreferenceT&& value) {
280 m_dataSharingPreferenceHasBeenSet = true;
281 m_dataSharingPreference = std::forward<DataSharingPreferenceT>(value);
282 }
283 template <typename DataSharingPreferenceT = StreamProcessorDataSharingPreference>
285 SetDataSharingPreference(std::forward<DataSharingPreferenceT>(value));
286 return *this;
287 }
289
291
292 inline const Aws::String& GetRequestId() const { return m_requestId; }
293 template <typename RequestIdT = Aws::String>
294 void SetRequestId(RequestIdT&& value) {
295 m_requestIdHasBeenSet = true;
296 m_requestId = std::forward<RequestIdT>(value);
297 }
298 template <typename RequestIdT = Aws::String>
300 SetRequestId(std::forward<RequestIdT>(value));
301 return *this;
302 }
304 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
305
306 private:
307 Aws::String m_name;
308
309 Aws::String m_streamProcessorArn;
310
312
313 Aws::String m_statusMessage;
314
315 Aws::Utils::DateTime m_creationTimestamp{};
316
317 Aws::Utils::DateTime m_lastUpdateTimestamp{};
318
319 StreamProcessorInput m_input;
320
321 StreamProcessorOutput m_output;
322
323 Aws::String m_roleArn;
324
325 StreamProcessorSettings m_settings;
326
327 StreamProcessorNotificationChannel m_notificationChannel;
328
329 Aws::String m_kmsKeyId;
330
331 Aws::Vector<RegionOfInterest> m_regionsOfInterest;
332
333 StreamProcessorDataSharingPreference m_dataSharingPreference;
334
335 Aws::String m_requestId;
336 Aws::Http::HttpResponseCode m_HttpResponseCode;
337 bool m_nameHasBeenSet = false;
338 bool m_streamProcessorArnHasBeenSet = false;
339 bool m_statusHasBeenSet = false;
340 bool m_statusMessageHasBeenSet = false;
341 bool m_creationTimestampHasBeenSet = false;
342 bool m_lastUpdateTimestampHasBeenSet = false;
343 bool m_inputHasBeenSet = false;
344 bool m_outputHasBeenSet = false;
345 bool m_roleArnHasBeenSet = false;
346 bool m_settingsHasBeenSet = false;
347 bool m_notificationChannelHasBeenSet = false;
348 bool m_kmsKeyIdHasBeenSet = false;
349 bool m_regionsOfInterestHasBeenSet = false;
350 bool m_dataSharingPreferenceHasBeenSet = false;
351 bool m_requestIdHasBeenSet = false;
352};
353
354} // namespace Model
355} // namespace Rekognition
356} // namespace Aws
DescribeStreamProcessorResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< RegionOfInterest > & GetRegionsOfInterest() const
DescribeStreamProcessorResult & WithInput(InputT &&value)
const StreamProcessorDataSharingPreference & GetDataSharingPreference() const
DescribeStreamProcessorResult & WithRoleArn(RoleArnT &&value)
DescribeStreamProcessorResult & WithDataSharingPreference(DataSharingPreferenceT &&value)
DescribeStreamProcessorResult & WithKmsKeyId(KmsKeyIdT &&value)
DescribeStreamProcessorResult & WithCreationTimestamp(CreationTimestampT &&value)
DescribeStreamProcessorResult & WithRegionsOfInterest(RegionsOfInterestT &&value)
DescribeStreamProcessorResult & WithStatusMessage(StatusMessageT &&value)
DescribeStreamProcessorResult & WithNotificationChannel(NotificationChannelT &&value)
DescribeStreamProcessorResult & WithLastUpdateTimestamp(LastUpdateTimestampT &&value)
DescribeStreamProcessorResult & WithName(NameT &&value)
DescribeStreamProcessorResult & AddRegionsOfInterest(RegionsOfInterestT &&value)
const StreamProcessorNotificationChannel & GetNotificationChannel() const
AWS_REKOGNITION_API DescribeStreamProcessorResult()=default
DescribeStreamProcessorResult & WithSettings(SettingsT &&value)
DescribeStreamProcessorResult & WithOutput(OutputT &&value)
DescribeStreamProcessorResult & WithStreamProcessorArn(StreamProcessorArnT &&value)
AWS_REKOGNITION_API DescribeStreamProcessorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_REKOGNITION_API DescribeStreamProcessorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeStreamProcessorResult & WithStatus(StreamProcessorStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue