AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeStreamProcessorResult.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/StreamProcessorStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/rekognition/model/StreamProcessorInput.h>
12#include <aws/rekognition/model/StreamProcessorOutput.h>
13#include <aws/rekognition/model/StreamProcessorSettings.h>
14#include <aws/rekognition/model/StreamProcessorNotificationChannel.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/rekognition/model/StreamProcessorDataSharingPreference.h>
17#include <aws/rekognition/model/RegionOfInterest.h>
18#include <utility>
19
20namespace Aws
21{
22template<typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils
26{
27namespace Json
28{
29 class JsonValue;
30} // namespace Json
31} // namespace Utils
32namespace Rekognition
33{
34namespace Model
35{
37 {
38 public:
39 AWS_REKOGNITION_API DescribeStreamProcessorResult() = default;
42
43
45
48 inline const Aws::String& GetName() const { return m_name; }
49 template<typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
51 template<typename NameT = Aws::String>
52 DescribeStreamProcessorResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetStreamProcessorArn() const { return m_streamProcessorArn; }
60 template<typename StreamProcessorArnT = Aws::String>
61 void SetStreamProcessorArn(StreamProcessorArnT&& value) { m_streamProcessorArnHasBeenSet = true; m_streamProcessorArn = std::forward<StreamProcessorArnT>(value); }
62 template<typename StreamProcessorArnT = Aws::String>
63 DescribeStreamProcessorResult& WithStreamProcessorArn(StreamProcessorArnT&& value) { SetStreamProcessorArn(std::forward<StreamProcessorArnT>(value)); return *this;}
65
67
70 inline StreamProcessorStatus GetStatus() const { return m_status; }
71 inline void SetStatus(StreamProcessorStatus value) { m_statusHasBeenSet = true; m_status = value; }
74
76
79 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
80 template<typename StatusMessageT = Aws::String>
81 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
82 template<typename StatusMessageT = Aws::String>
83 DescribeStreamProcessorResult& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; }
91 template<typename CreationTimestampT = Aws::Utils::DateTime>
92 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
93 template<typename CreationTimestampT = Aws::Utils::DateTime>
94 DescribeStreamProcessorResult& WithCreationTimestamp(CreationTimestampT&& value) { SetCreationTimestamp(std::forward<CreationTimestampT>(value)); return *this;}
96
98
103 inline const Aws::Utils::DateTime& GetLastUpdateTimestamp() const { return m_lastUpdateTimestamp; }
104 template<typename LastUpdateTimestampT = Aws::Utils::DateTime>
105 void SetLastUpdateTimestamp(LastUpdateTimestampT&& value) { m_lastUpdateTimestampHasBeenSet = true; m_lastUpdateTimestamp = std::forward<LastUpdateTimestampT>(value); }
106 template<typename LastUpdateTimestampT = Aws::Utils::DateTime>
107 DescribeStreamProcessorResult& WithLastUpdateTimestamp(LastUpdateTimestampT&& value) { SetLastUpdateTimestamp(std::forward<LastUpdateTimestampT>(value)); return *this;}
109
111
114 inline const StreamProcessorInput& GetInput() const { return m_input; }
115 template<typename InputT = StreamProcessorInput>
116 void SetInput(InputT&& value) { m_inputHasBeenSet = true; m_input = std::forward<InputT>(value); }
117 template<typename InputT = StreamProcessorInput>
118 DescribeStreamProcessorResult& WithInput(InputT&& value) { SetInput(std::forward<InputT>(value)); return *this;}
120
122
126 inline const StreamProcessorOutput& GetOutput() const { return m_output; }
127 template<typename OutputT = StreamProcessorOutput>
128 void SetOutput(OutputT&& value) { m_outputHasBeenSet = true; m_output = std::forward<OutputT>(value); }
129 template<typename OutputT = StreamProcessorOutput>
130 DescribeStreamProcessorResult& WithOutput(OutputT&& value) { SetOutput(std::forward<OutputT>(value)); return *this;}
132
134
137 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
138 template<typename RoleArnT = Aws::String>
139 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
140 template<typename RoleArnT = Aws::String>
141 DescribeStreamProcessorResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
143
145
150 inline const StreamProcessorSettings& GetSettings() const { return m_settings; }
151 template<typename SettingsT = StreamProcessorSettings>
152 void SetSettings(SettingsT&& value) { m_settingsHasBeenSet = true; m_settings = std::forward<SettingsT>(value); }
153 template<typename SettingsT = StreamProcessorSettings>
154 DescribeStreamProcessorResult& WithSettings(SettingsT&& value) { SetSettings(std::forward<SettingsT>(value)); return *this;}
156
158
159 inline const StreamProcessorNotificationChannel& GetNotificationChannel() const { return m_notificationChannel; }
160 template<typename NotificationChannelT = StreamProcessorNotificationChannel>
161 void SetNotificationChannel(NotificationChannelT&& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = std::forward<NotificationChannelT>(value); }
162 template<typename NotificationChannelT = StreamProcessorNotificationChannel>
163 DescribeStreamProcessorResult& WithNotificationChannel(NotificationChannelT&& value) { SetNotificationChannel(std::forward<NotificationChannelT>(value)); return *this;}
165
167
171 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
172 template<typename KmsKeyIdT = Aws::String>
173 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
174 template<typename KmsKeyIdT = Aws::String>
175 DescribeStreamProcessorResult& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
177
179
184 inline const Aws::Vector<RegionOfInterest>& GetRegionsOfInterest() const { return m_regionsOfInterest; }
185 template<typename RegionsOfInterestT = Aws::Vector<RegionOfInterest>>
186 void SetRegionsOfInterest(RegionsOfInterestT&& value) { m_regionsOfInterestHasBeenSet = true; m_regionsOfInterest = std::forward<RegionsOfInterestT>(value); }
187 template<typename RegionsOfInterestT = Aws::Vector<RegionOfInterest>>
188 DescribeStreamProcessorResult& WithRegionsOfInterest(RegionsOfInterestT&& value) { SetRegionsOfInterest(std::forward<RegionsOfInterestT>(value)); return *this;}
189 template<typename RegionsOfInterestT = RegionOfInterest>
190 DescribeStreamProcessorResult& AddRegionsOfInterest(RegionsOfInterestT&& value) { m_regionsOfInterestHasBeenSet = true; m_regionsOfInterest.emplace_back(std::forward<RegionsOfInterestT>(value)); return *this; }
192
194
200 inline const StreamProcessorDataSharingPreference& GetDataSharingPreference() const { return m_dataSharingPreference; }
201 template<typename DataSharingPreferenceT = StreamProcessorDataSharingPreference>
202 void SetDataSharingPreference(DataSharingPreferenceT&& value) { m_dataSharingPreferenceHasBeenSet = true; m_dataSharingPreference = std::forward<DataSharingPreferenceT>(value); }
203 template<typename DataSharingPreferenceT = StreamProcessorDataSharingPreference>
204 DescribeStreamProcessorResult& WithDataSharingPreference(DataSharingPreferenceT&& value) { SetDataSharingPreference(std::forward<DataSharingPreferenceT>(value)); return *this;}
206
208
209 inline const Aws::String& GetRequestId() const { return m_requestId; }
210 template<typename RequestIdT = Aws::String>
211 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
212 template<typename RequestIdT = Aws::String>
213 DescribeStreamProcessorResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
215 private:
216
217 Aws::String m_name;
218 bool m_nameHasBeenSet = false;
219
220 Aws::String m_streamProcessorArn;
221 bool m_streamProcessorArnHasBeenSet = false;
222
224 bool m_statusHasBeenSet = false;
225
226 Aws::String m_statusMessage;
227 bool m_statusMessageHasBeenSet = false;
228
229 Aws::Utils::DateTime m_creationTimestamp{};
230 bool m_creationTimestampHasBeenSet = false;
231
232 Aws::Utils::DateTime m_lastUpdateTimestamp{};
233 bool m_lastUpdateTimestampHasBeenSet = false;
234
235 StreamProcessorInput m_input;
236 bool m_inputHasBeenSet = false;
237
238 StreamProcessorOutput m_output;
239 bool m_outputHasBeenSet = false;
240
241 Aws::String m_roleArn;
242 bool m_roleArnHasBeenSet = false;
243
244 StreamProcessorSettings m_settings;
245 bool m_settingsHasBeenSet = false;
246
247 StreamProcessorNotificationChannel m_notificationChannel;
248 bool m_notificationChannelHasBeenSet = false;
249
250 Aws::String m_kmsKeyId;
251 bool m_kmsKeyIdHasBeenSet = false;
252
253 Aws::Vector<RegionOfInterest> m_regionsOfInterest;
254 bool m_regionsOfInterestHasBeenSet = false;
255
256 StreamProcessorDataSharingPreference m_dataSharingPreference;
257 bool m_dataSharingPreferenceHasBeenSet = false;
258
259 Aws::String m_requestId;
260 bool m_requestIdHasBeenSet = false;
261 };
262
263} // namespace Model
264} // namespace Rekognition
265} // 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