7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rekognition/RekognitionRequest.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>
22namespace Rekognition {
49 template <
typename InputT = StreamProcessorInput>
51 m_inputHasBeenSet =
true;
52 m_input = std::forward<InputT>(value);
54 template <
typename InputT = StreamProcessorInput>
56 SetInput(std::forward<InputT>(value));
72 template <
typename OutputT = StreamProcessorOutput>
74 m_outputHasBeenSet =
true;
75 m_output = std::forward<OutputT>(value);
77 template <
typename OutputT = StreamProcessorOutput>
94 template <
typename NameT = Aws::String>
96 m_nameHasBeenSet =
true;
97 m_name = std::forward<NameT>(value);
99 template <
typename NameT = Aws::String>
101 SetName(std::forward<NameT>(value));
114 template <
typename SettingsT = StreamProcessorSettings>
116 m_settingsHasBeenSet =
true;
117 m_settings = std::forward<SettingsT>(value);
119 template <
typename SettingsT = StreamProcessorSettings>
136 template <
typename RoleArnT = Aws::String>
138 m_roleArnHasBeenSet =
true;
139 m_roleArn = std::forward<RoleArnT>(value);
141 template <
typename RoleArnT = Aws::String>
155 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
157 m_tagsHasBeenSet =
true;
158 m_tags = std::forward<TagsT>(value);
160 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
162 SetTags(std::forward<TagsT>(value));
165 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
167 m_tagsHasBeenSet =
true;
168 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
177 template <
typename NotificationChannelT = StreamProcessorNotificationChannel>
179 m_notificationChannelHasBeenSet =
true;
180 m_notificationChannel = std::forward<NotificationChannelT>(value);
182 template <
typename NotificationChannelT = StreamProcessorNotificationChannel>
201 template <
typename KmsKeyIdT = Aws::String>
203 m_kmsKeyIdHasBeenSet =
true;
204 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
206 template <
typename KmsKeyIdT = Aws::String>
223 template <
typename RegionsOfInterestT = Aws::Vector<RegionOfInterest>>
225 m_regionsOfInterestHasBeenSet =
true;
226 m_regionsOfInterest = std::forward<RegionsOfInterestT>(value);
228 template <
typename RegionsOfInterestT = Aws::Vector<RegionOfInterest>>
233 template <
typename RegionsOfInterestT = RegionOfInterest>
235 m_regionsOfInterestHasBeenSet =
true;
236 m_regionsOfInterest.emplace_back(std::forward<RegionsOfInterestT>(value));
250 template <
typename DataSharingPreferenceT = StreamProcessorDataSharingPreference>
252 m_dataSharingPreferenceHasBeenSet =
true;
253 m_dataSharingPreference = std::forward<DataSharingPreferenceT>(value);
255 template <
typename DataSharingPreferenceT = StreamProcessorDataSharingPreference>
263 bool m_inputHasBeenSet =
false;
266 bool m_outputHasBeenSet =
false;
269 bool m_nameHasBeenSet =
false;
272 bool m_settingsHasBeenSet =
false;
275 bool m_roleArnHasBeenSet =
false;
278 bool m_tagsHasBeenSet =
false;
281 bool m_notificationChannelHasBeenSet =
false;
284 bool m_kmsKeyIdHasBeenSet =
false;
287 bool m_regionsOfInterestHasBeenSet =
false;
290 bool m_dataSharingPreferenceHasBeenSet =
false;
const StreamProcessorInput & GetInput() const
bool RegionsOfInterestHasBeenSet() const
void SetSettings(SettingsT &&value)
CreateStreamProcessorRequest & WithNotificationChannel(NotificationChannelT &&value)
bool SettingsHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
const StreamProcessorOutput & GetOutput() const
void SetInput(InputT &&value)
CreateStreamProcessorRequest & WithRegionsOfInterest(RegionsOfInterestT &&value)
const Aws::String & GetRoleArn() const
void SetRegionsOfInterest(RegionsOfInterestT &&value)
bool OutputHasBeenSet() const
const StreamProcessorDataSharingPreference & GetDataSharingPreference() const
CreateStreamProcessorRequest & WithKmsKeyId(KmsKeyIdT &&value)
bool NotificationChannelHasBeenSet() const
bool InputHasBeenSet() const
CreateStreamProcessorRequest & WithOutput(OutputT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
const StreamProcessorSettings & GetSettings() const
bool NameHasBeenSet() const
CreateStreamProcessorRequest & WithInput(InputT &&value)
const Aws::String & GetKmsKeyId() const
CreateStreamProcessorRequest & WithSettings(SettingsT &&value)
AWS_REKOGNITION_API CreateStreamProcessorRequest()=default
void SetOutput(OutputT &&value)
void SetDataSharingPreference(DataSharingPreferenceT &&value)
bool RoleArnHasBeenSet() const
void SetNotificationChannel(NotificationChannelT &&value)
const StreamProcessorNotificationChannel & GetNotificationChannel() const
const Aws::String & GetName() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateStreamProcessorRequest & WithRoleArn(RoleArnT &&value)
CreateStreamProcessorRequest & WithName(NameT &&value)
CreateStreamProcessorRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetTags(TagsT &&value)
CreateStreamProcessorRequest & WithTags(TagsT &&value)
bool KmsKeyIdHasBeenSet() const
CreateStreamProcessorRequest & WithDataSharingPreference(DataSharingPreferenceT &&value)
bool DataSharingPreferenceHasBeenSet() const
CreateStreamProcessorRequest & AddRegionsOfInterest(RegionsOfInterestT &&value)
bool TagsHasBeenSet() const
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_REKOGNITION_API Aws::String SerializePayload() const override
const Aws::Vector< RegionOfInterest > & GetRegionsOfInterest() const
void SetName(NameT &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector