AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartCelebrityRecognitionRequest.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/rekognition/model/Video.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/rekognition/model/NotificationChannel.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Rekognition
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_REKOGNITION_API StartCelebrityRecognitionRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "StartCelebrityRecognition"; }
33
34 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
35
36 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
44 inline const Video& GetVideo() const{ return m_video; }
45 inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
46 inline void SetVideo(const Video& value) { m_videoHasBeenSet = true; m_video = value; }
47 inline void SetVideo(Video&& value) { m_videoHasBeenSet = true; m_video = std::move(value); }
48 inline StartCelebrityRecognitionRequest& WithVideo(const Video& value) { SetVideo(value); return *this;}
49 inline StartCelebrityRecognitionRequest& WithVideo(Video&& value) { SetVideo(std::move(value)); return *this;}
51
53
59 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
60 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
61 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
62 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
63 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
66 inline StartCelebrityRecognitionRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
68
70
76 inline const NotificationChannel& GetNotificationChannel() const{ return m_notificationChannel; }
77 inline bool NotificationChannelHasBeenSet() const { return m_notificationChannelHasBeenSet; }
78 inline void SetNotificationChannel(const NotificationChannel& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = value; }
79 inline void SetNotificationChannel(NotificationChannel&& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = std::move(value); }
83
85
91 inline const Aws::String& GetJobTag() const{ return m_jobTag; }
92 inline bool JobTagHasBeenSet() const { return m_jobTagHasBeenSet; }
93 inline void SetJobTag(const Aws::String& value) { m_jobTagHasBeenSet = true; m_jobTag = value; }
94 inline void SetJobTag(Aws::String&& value) { m_jobTagHasBeenSet = true; m_jobTag = std::move(value); }
95 inline void SetJobTag(const char* value) { m_jobTagHasBeenSet = true; m_jobTag.assign(value); }
96 inline StartCelebrityRecognitionRequest& WithJobTag(const Aws::String& value) { SetJobTag(value); return *this;}
97 inline StartCelebrityRecognitionRequest& WithJobTag(Aws::String&& value) { SetJobTag(std::move(value)); return *this;}
98 inline StartCelebrityRecognitionRequest& WithJobTag(const char* value) { SetJobTag(value); return *this;}
100 private:
101
102 Video m_video;
103 bool m_videoHasBeenSet = false;
104
105 Aws::String m_clientRequestToken;
106 bool m_clientRequestTokenHasBeenSet = false;
107
108 NotificationChannel m_notificationChannel;
109 bool m_notificationChannelHasBeenSet = false;
110
111 Aws::String m_jobTag;
112 bool m_jobTagHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Rekognition
117} // namespace Aws
StartCelebrityRecognitionRequest & WithVideo(Video &&value)
StartCelebrityRecognitionRequest & WithJobTag(Aws::String &&value)
StartCelebrityRecognitionRequest & WithNotificationChannel(NotificationChannel &&value)
StartCelebrityRecognitionRequest & WithNotificationChannel(const NotificationChannel &value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartCelebrityRecognitionRequest & WithJobTag(const Aws::String &value)
AWS_REKOGNITION_API Aws::String SerializePayload() const override
StartCelebrityRecognitionRequest & WithJobTag(const char *value)
StartCelebrityRecognitionRequest & WithVideo(const Video &value)
StartCelebrityRecognitionRequest & WithClientRequestToken(const Aws::String &value)
StartCelebrityRecognitionRequest & WithClientRequestToken(const char *value)
StartCelebrityRecognitionRequest & WithClientRequestToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String