AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateStreamProcessorRequest.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/rekognition/model/StreamProcessorInput.h>
10#include <aws/rekognition/model/StreamProcessorOutput.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/rekognition/model/StreamProcessorSettings.h>
13#include <aws/core/utils/memory/stl/AWSMap.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{
22namespace Rekognition
23{
24namespace Model
25{
26
30 {
31 public:
32 AWS_REKOGNITION_API CreateStreamProcessorRequest();
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "CreateStreamProcessor"; }
39
40 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
41
42 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
43
44
46
51 inline const StreamProcessorInput& GetInput() const{ return m_input; }
52 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
53 inline void SetInput(const StreamProcessorInput& value) { m_inputHasBeenSet = true; m_input = value; }
54 inline void SetInput(StreamProcessorInput&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
55 inline CreateStreamProcessorRequest& WithInput(const StreamProcessorInput& value) { SetInput(value); return *this;}
56 inline CreateStreamProcessorRequest& WithInput(StreamProcessorInput&& value) { SetInput(std::move(value)); return *this;}
58
60
68 inline const StreamProcessorOutput& GetOutput() const{ return m_output; }
69 inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
70 inline void SetOutput(const StreamProcessorOutput& value) { m_outputHasBeenSet = true; m_output = value; }
71 inline void SetOutput(StreamProcessorOutput&& value) { m_outputHasBeenSet = true; m_output = std::move(value); }
72 inline CreateStreamProcessorRequest& WithOutput(const StreamProcessorOutput& value) { SetOutput(value); return *this;}
73 inline CreateStreamProcessorRequest& WithOutput(StreamProcessorOutput&& value) { SetOutput(std::move(value)); return *this;}
75
77
84 inline const Aws::String& GetName() const{ return m_name; }
85 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
86 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
87 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
88 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
89 inline CreateStreamProcessorRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
90 inline CreateStreamProcessorRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
91 inline CreateStreamProcessorRequest& WithName(const char* value) { SetName(value); return *this;}
93
95
100 inline const StreamProcessorSettings& GetSettings() const{ return m_settings; }
101 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
102 inline void SetSettings(const StreamProcessorSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
103 inline void SetSettings(StreamProcessorSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
105 inline CreateStreamProcessorRequest& WithSettings(StreamProcessorSettings&& value) { SetSettings(std::move(value)); return *this;}
107
109
116 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
117 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
118 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
119 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
120 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
121 inline CreateStreamProcessorRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
122 inline CreateStreamProcessorRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
123 inline CreateStreamProcessorRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
125
127
131 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
132 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
133 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
134 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
136 inline CreateStreamProcessorRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
137 inline CreateStreamProcessorRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
138 inline CreateStreamProcessorRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
139 inline CreateStreamProcessorRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
140 inline CreateStreamProcessorRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
141 inline CreateStreamProcessorRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
142 inline CreateStreamProcessorRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
143 inline CreateStreamProcessorRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
145
147
148 inline const StreamProcessorNotificationChannel& GetNotificationChannel() const{ return m_notificationChannel; }
149 inline bool NotificationChannelHasBeenSet() const { return m_notificationChannelHasBeenSet; }
150 inline void SetNotificationChannel(const StreamProcessorNotificationChannel& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = value; }
151 inline void SetNotificationChannel(StreamProcessorNotificationChannel&& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = std::move(value); }
155
157
166 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
167 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
168 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
169 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
170 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
171 inline CreateStreamProcessorRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
172 inline CreateStreamProcessorRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
173 inline CreateStreamProcessorRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
175
177
184 inline const Aws::Vector<RegionOfInterest>& GetRegionsOfInterest() const{ return m_regionsOfInterest; }
185 inline bool RegionsOfInterestHasBeenSet() const { return m_regionsOfInterestHasBeenSet; }
186 inline void SetRegionsOfInterest(const Aws::Vector<RegionOfInterest>& value) { m_regionsOfInterestHasBeenSet = true; m_regionsOfInterest = value; }
187 inline void SetRegionsOfInterest(Aws::Vector<RegionOfInterest>&& value) { m_regionsOfInterestHasBeenSet = true; m_regionsOfInterest = std::move(value); }
190 inline CreateStreamProcessorRequest& AddRegionsOfInterest(const RegionOfInterest& value) { m_regionsOfInterestHasBeenSet = true; m_regionsOfInterest.push_back(value); return *this; }
191 inline CreateStreamProcessorRequest& AddRegionsOfInterest(RegionOfInterest&& value) { m_regionsOfInterestHasBeenSet = true; m_regionsOfInterest.push_back(std::move(value)); return *this; }
193
195
201 inline const StreamProcessorDataSharingPreference& GetDataSharingPreference() const{ return m_dataSharingPreference; }
202 inline bool DataSharingPreferenceHasBeenSet() const { return m_dataSharingPreferenceHasBeenSet; }
203 inline void SetDataSharingPreference(const StreamProcessorDataSharingPreference& value) { m_dataSharingPreferenceHasBeenSet = true; m_dataSharingPreference = value; }
204 inline void SetDataSharingPreference(StreamProcessorDataSharingPreference&& value) { m_dataSharingPreferenceHasBeenSet = true; m_dataSharingPreference = std::move(value); }
208 private:
209
210 StreamProcessorInput m_input;
211 bool m_inputHasBeenSet = false;
212
213 StreamProcessorOutput m_output;
214 bool m_outputHasBeenSet = false;
215
216 Aws::String m_name;
217 bool m_nameHasBeenSet = false;
218
219 StreamProcessorSettings m_settings;
220 bool m_settingsHasBeenSet = false;
221
222 Aws::String m_roleArn;
223 bool m_roleArnHasBeenSet = false;
224
226 bool m_tagsHasBeenSet = false;
227
228 StreamProcessorNotificationChannel m_notificationChannel;
229 bool m_notificationChannelHasBeenSet = false;
230
231 Aws::String m_kmsKeyId;
232 bool m_kmsKeyIdHasBeenSet = false;
233
234 Aws::Vector<RegionOfInterest> m_regionsOfInterest;
235 bool m_regionsOfInterestHasBeenSet = false;
236
237 StreamProcessorDataSharingPreference m_dataSharingPreference;
238 bool m_dataSharingPreferenceHasBeenSet = false;
239 };
240
241} // namespace Model
242} // namespace Rekognition
243} // namespace Aws
CreateStreamProcessorRequest & WithRoleArn(const char *value)
CreateStreamProcessorRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetRegionsOfInterest(Aws::Vector< RegionOfInterest > &&value)
CreateStreamProcessorRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateStreamProcessorRequest & WithSettings(StreamProcessorSettings &&value)
CreateStreamProcessorRequest & WithName(const char *value)
CreateStreamProcessorRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateStreamProcessorRequest & WithKmsKeyId(const Aws::String &value)
CreateStreamProcessorRequest & AddTags(const char *key, Aws::String &&value)
CreateStreamProcessorRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateStreamProcessorRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateStreamProcessorRequest & WithKmsKeyId(const char *value)
CreateStreamProcessorRequest & AddRegionsOfInterest(const RegionOfInterest &value)
void SetNotificationChannel(const StreamProcessorNotificationChannel &value)
CreateStreamProcessorRequest & WithRegionsOfInterest(Aws::Vector< RegionOfInterest > &&value)
const StreamProcessorDataSharingPreference & GetDataSharingPreference() const
CreateStreamProcessorRequest & WithNotificationChannel(StreamProcessorNotificationChannel &&value)
CreateStreamProcessorRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateStreamProcessorRequest & WithInput(const StreamProcessorInput &value)
CreateStreamProcessorRequest & AddRegionsOfInterest(RegionOfInterest &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateStreamProcessorRequest & WithKmsKeyId(Aws::String &&value)
CreateStreamProcessorRequest & WithDataSharingPreference(const StreamProcessorDataSharingPreference &value)
const StreamProcessorNotificationChannel & GetNotificationChannel() const
CreateStreamProcessorRequest & WithOutput(StreamProcessorOutput &&value)
CreateStreamProcessorRequest & WithInput(StreamProcessorInput &&value)
CreateStreamProcessorRequest & WithName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetDataSharingPreference(StreamProcessorDataSharingPreference &&value)
CreateStreamProcessorRequest & AddTags(Aws::String &&key, const char *value)
CreateStreamProcessorRequest & WithOutput(const StreamProcessorOutput &value)
void SetDataSharingPreference(const StreamProcessorDataSharingPreference &value)
void SetRegionsOfInterest(const Aws::Vector< RegionOfInterest > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateStreamProcessorRequest & WithRoleArn(Aws::String &&value)
void SetNotificationChannel(StreamProcessorNotificationChannel &&value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateStreamProcessorRequest & WithDataSharingPreference(StreamProcessorDataSharingPreference &&value)
CreateStreamProcessorRequest & WithName(Aws::String &&value)
AWS_REKOGNITION_API Aws::String SerializePayload() const override
CreateStreamProcessorRequest & WithRoleArn(const Aws::String &value)
const Aws::Vector< RegionOfInterest > & GetRegionsOfInterest() const
CreateStreamProcessorRequest & WithRegionsOfInterest(const Aws::Vector< RegionOfInterest > &value)
CreateStreamProcessorRequest & AddTags(const char *key, const char *value)
CreateStreamProcessorRequest & WithSettings(const StreamProcessorSettings &value)
CreateStreamProcessorRequest & WithNotificationChannel(const StreamProcessorNotificationChannel &value)
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