AWS SDK for C++  1.9.160
AWS SDK for C++
CreateStreamProcessorRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Rekognition
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "CreateStreamProcessor"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
46  inline const StreamProcessorInput& GetInput() const{ return m_input; }
47 
53  inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
54 
60  inline void SetInput(const StreamProcessorInput& value) { m_inputHasBeenSet = true; m_input = value; }
61 
67  inline void SetInput(StreamProcessorInput&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
68 
74  inline CreateStreamProcessorRequest& WithInput(const StreamProcessorInput& value) { SetInput(value); return *this;}
75 
81  inline CreateStreamProcessorRequest& WithInput(StreamProcessorInput&& value) { SetInput(std::move(value)); return *this;}
82 
83 
89  inline const StreamProcessorOutput& GetOutput() const{ return m_output; }
90 
96  inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
97 
103  inline void SetOutput(const StreamProcessorOutput& value) { m_outputHasBeenSet = true; m_output = value; }
104 
110  inline void SetOutput(StreamProcessorOutput&& value) { m_outputHasBeenSet = true; m_output = std::move(value); }
111 
117  inline CreateStreamProcessorRequest& WithOutput(const StreamProcessorOutput& value) { SetOutput(value); return *this;}
118 
124  inline CreateStreamProcessorRequest& WithOutput(StreamProcessorOutput&& value) { SetOutput(std::move(value)); return *this;}
125 
126 
133  inline const Aws::String& GetName() const{ return m_name; }
134 
141  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
142 
149  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
150 
157  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
158 
165  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
166 
173  inline CreateStreamProcessorRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
174 
181  inline CreateStreamProcessorRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
182 
189  inline CreateStreamProcessorRequest& WithName(const char* value) { SetName(value); return *this;}
190 
191 
197  inline const StreamProcessorSettings& GetSettings() const{ return m_settings; }
198 
204  inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
205 
211  inline void SetSettings(const StreamProcessorSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
212 
218  inline void SetSettings(StreamProcessorSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
219 
225  inline CreateStreamProcessorRequest& WithSettings(const StreamProcessorSettings& value) { SetSettings(value); return *this;}
226 
232  inline CreateStreamProcessorRequest& WithSettings(StreamProcessorSettings&& value) { SetSettings(std::move(value)); return *this;}
233 
234 
238  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
239 
243  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
244 
248  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
249 
253  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
254 
258  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
259 
263  inline CreateStreamProcessorRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
264 
268  inline CreateStreamProcessorRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
269 
273  inline CreateStreamProcessorRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
274 
275 
280  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
281 
286  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
287 
292  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
293 
298  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
299 
304  inline CreateStreamProcessorRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
305 
310  inline CreateStreamProcessorRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
311 
316  inline CreateStreamProcessorRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
317 
322  inline CreateStreamProcessorRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
323 
328  inline CreateStreamProcessorRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
329 
334  inline CreateStreamProcessorRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
335 
340  inline CreateStreamProcessorRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
341 
346  inline CreateStreamProcessorRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
347 
352  inline CreateStreamProcessorRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
353 
354  private:
355 
356  StreamProcessorInput m_input;
357  bool m_inputHasBeenSet;
358 
359  StreamProcessorOutput m_output;
360  bool m_outputHasBeenSet;
361 
362  Aws::String m_name;
363  bool m_nameHasBeenSet;
364 
365  StreamProcessorSettings m_settings;
366  bool m_settingsHasBeenSet;
367 
368  Aws::String m_roleArn;
369  bool m_roleArnHasBeenSet;
370 
372  bool m_tagsHasBeenSet;
373  };
374 
375 } // namespace Model
376 } // namespace Rekognition
377 } // namespace Aws
Aws::Rekognition::Model::CreateStreamProcessorRequest::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: CreateStreamProcessorRequest.h:238
StreamProcessorSettings.h
Aws::Rekognition::Model::CreateStreamProcessorRequest::WithInput
CreateStreamProcessorRequest & WithInput(const StreamProcessorInput &value)
Definition: CreateStreamProcessorRequest.h:74
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Rekognition::Model::CreateStreamProcessorRequest::GetInput
const StreamProcessorInput & GetInput() const
Definition: CreateStreamProcessorRequest.h:46
Aws::Rekognition::Model::CreateStreamProcessorRequest::WithRoleArn
CreateStreamProcessorRequest & WithRoleArn(Aws::String &&value)
Definition: CreateStreamProcessorRequest.h:268
Aws::Rekognition::Model::CreateStreamProcessorRequest::SetOutput
void SetOutput(StreamProcessorOutput &&value)
Definition: CreateStreamProcessorRequest.h:110
Aws::Rekognition::Model::CreateStreamProcessorRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Rekognition::Model::CreateStreamProcessorRequest::SetName
void SetName(const char *value)
Definition: CreateStreamProcessorRequest.h:165
Aws::Rekognition::Model::CreateStreamProcessorRequest::SetSettings
void SetSettings(StreamProcessorSettings &&value)
Definition: CreateStreamProcessorRequest.h:218
Aws::Rekognition::Model::CreateStreamProcessorRequest::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: CreateStreamProcessorRequest.h:248
Aws::Rekognition::Model::CreateStreamProcessorRequest::AddTags
CreateStreamProcessorRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateStreamProcessorRequest.h:340
Aws::Rekognition::Model::CreateStreamProcessorRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateStreamProcessorRequest.h:157
Aws::Rekognition::Model::CreateStreamProcessorRequest::WithTags
CreateStreamProcessorRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateStreamProcessorRequest.h:304
Aws::Rekognition::Model::CreateStreamProcessorRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateStreamProcessorRequest.h:292
Aws::Rekognition::Model::CreateStreamProcessorRequest::CreateStreamProcessorRequest
CreateStreamProcessorRequest()
Aws::Rekognition::Model::CreateStreamProcessorRequest::WithSettings
CreateStreamProcessorRequest & WithSettings(const StreamProcessorSettings &value)
Definition: CreateStreamProcessorRequest.h:225
Aws::Rekognition::Model::CreateStreamProcessorRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateStreamProcessorRequest.h:34
Aws::Rekognition::Model::CreateStreamProcessorRequest::WithRoleArn
CreateStreamProcessorRequest & WithRoleArn(const Aws::String &value)
Definition: CreateStreamProcessorRequest.h:263
Aws::Rekognition::Model::CreateStreamProcessorRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateStreamProcessorRequest.h:141
Aws::Rekognition::Model::CreateStreamProcessorRequest::AddTags
CreateStreamProcessorRequest & AddTags(const char *key, const char *value)
Definition: CreateStreamProcessorRequest.h:352
Aws::Rekognition::Model::CreateStreamProcessorRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Rekognition::Model::CreateStreamProcessorRequest::SetInput
void SetInput(StreamProcessorInput &&value)
Definition: CreateStreamProcessorRequest.h:67
Aws::Rekognition::Model::CreateStreamProcessorRequest::InputHasBeenSet
bool InputHasBeenSet() const
Definition: CreateStreamProcessorRequest.h:53
Aws::Rekognition::Model::CreateStreamProcessorRequest::AddTags
CreateStreamProcessorRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateStreamProcessorRequest.h:328
Aws::Rekognition::Model::CreateStreamProcessorRequest::SetInput
void SetInput(const StreamProcessorInput &value)
Definition: CreateStreamProcessorRequest.h:60
Aws::Rekognition::Model::CreateStreamProcessorRequest::OutputHasBeenSet
bool OutputHasBeenSet() const
Definition: CreateStreamProcessorRequest.h:96
Aws::Rekognition::Model::CreateStreamProcessorRequest::SetRoleArn
void SetRoleArn(const char *value)
Definition: CreateStreamProcessorRequest.h:258
Aws::Rekognition::Model::CreateStreamProcessorRequest::AddTags
CreateStreamProcessorRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateStreamProcessorRequest.h:334
StreamProcessorInput.h
Aws::Rekognition::Model::CreateStreamProcessorRequest::WithName
CreateStreamProcessorRequest & WithName(Aws::String &&value)
Definition: CreateStreamProcessorRequest.h:181
Aws::Rekognition::Model::CreateStreamProcessorRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateStreamProcessorRequest.h:286
Aws::Rekognition::Model::StreamProcessorInput
Definition: StreamProcessorInput.h:32
Aws::Rekognition::RekognitionRequest
Definition: RekognitionRequest.h:17
Aws::Rekognition::Model::CreateStreamProcessorRequest::SetOutput
void SetOutput(const StreamProcessorOutput &value)
Definition: CreateStreamProcessorRequest.h:103
Aws::Rekognition::Model::CreateStreamProcessorRequest::WithInput
CreateStreamProcessorRequest & WithInput(StreamProcessorInput &&value)
Definition: CreateStreamProcessorRequest.h:81
Aws::Rekognition::Model::CreateStreamProcessorRequest
Definition: CreateStreamProcessorRequest.h:26
Aws::Rekognition::Model::CreateStreamProcessorRequest::AddTags
CreateStreamProcessorRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateStreamProcessorRequest.h:322
Aws::Rekognition::Model::CreateStreamProcessorRequest::SetSettings
void SetSettings(const StreamProcessorSettings &value)
Definition: CreateStreamProcessorRequest.h:211
AWSString.h
Aws::Rekognition::Model::CreateStreamProcessorRequest::WithName
CreateStreamProcessorRequest & WithName(const char *value)
Definition: CreateStreamProcessorRequest.h:189
Aws::Rekognition::Model::CreateStreamProcessorRequest::WithOutput
CreateStreamProcessorRequest & WithOutput(const StreamProcessorOutput &value)
Definition: CreateStreamProcessorRequest.h:117
Aws::Rekognition::Model::CreateStreamProcessorRequest::AddTags
CreateStreamProcessorRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateStreamProcessorRequest.h:346
Aws::Rekognition::Model::StreamProcessorOutput
Definition: StreamProcessorOutput.h:35
AWS_REKOGNITION_API
#define AWS_REKOGNITION_API
Definition: Rekognition_EXPORTS.h:28
Aws::Rekognition::Model::CreateStreamProcessorRequest::WithTags
CreateStreamProcessorRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateStreamProcessorRequest.h:310
Aws
Definition: AccessManagementClient.h:15
Aws::Rekognition::Model::CreateStreamProcessorRequest::SettingsHasBeenSet
bool SettingsHasBeenSet() const
Definition: CreateStreamProcessorRequest.h:204
StreamProcessorOutput.h
Rekognition_EXPORTS.h
Aws::Rekognition::Model::CreateStreamProcessorRequest::AddTags
CreateStreamProcessorRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateStreamProcessorRequest.h:316
Aws::Rekognition::Model::CreateStreamProcessorRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateStreamProcessorRequest.h:280
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Rekognition::Model::StreamProcessorSettings
Definition: StreamProcessorSettings.h:33
Aws::Rekognition::Model::CreateStreamProcessorRequest::WithSettings
CreateStreamProcessorRequest & WithSettings(StreamProcessorSettings &&value)
Definition: CreateStreamProcessorRequest.h:232
Aws::Rekognition::Model::CreateStreamProcessorRequest::WithOutput
CreateStreamProcessorRequest & WithOutput(StreamProcessorOutput &&value)
Definition: CreateStreamProcessorRequest.h:124
Aws::Rekognition::Model::CreateStreamProcessorRequest::GetName
const Aws::String & GetName() const
Definition: CreateStreamProcessorRequest.h:133
Aws::Rekognition::Model::CreateStreamProcessorRequest::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: CreateStreamProcessorRequest.h:253
AWSMap.h
Aws::Rekognition::Model::CreateStreamProcessorRequest::WithRoleArn
CreateStreamProcessorRequest & WithRoleArn(const char *value)
Definition: CreateStreamProcessorRequest.h:273
Aws::Rekognition::Model::CreateStreamProcessorRequest::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: CreateStreamProcessorRequest.h:243
Aws::Rekognition::Model::CreateStreamProcessorRequest::GetOutput
const StreamProcessorOutput & GetOutput() const
Definition: CreateStreamProcessorRequest.h:89
Aws::Rekognition::Model::CreateStreamProcessorRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateStreamProcessorRequest.h:149
Aws::Rekognition::Model::CreateStreamProcessorRequest::GetSettings
const StreamProcessorSettings & GetSettings() const
Definition: CreateStreamProcessorRequest.h:197
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::Rekognition::Model::CreateStreamProcessorRequest::WithName
CreateStreamProcessorRequest & WithName(const Aws::String &value)
Definition: CreateStreamProcessorRequest.h:173
Aws::Rekognition::Model::CreateStreamProcessorRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateStreamProcessorRequest.h:298
RekognitionRequest.h