AWS SDK for C++  1.9.159
AWS SDK for C++
StartPersonTrackingRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Rekognition
17 {
18 namespace Model
19 {
20 
24  {
25  public:
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 "StartPersonTracking"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
43  inline const Video& GetVideo() const{ return m_video; }
44 
49  inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
50 
55  inline void SetVideo(const Video& value) { m_videoHasBeenSet = true; m_video = value; }
56 
61  inline void SetVideo(Video&& value) { m_videoHasBeenSet = true; m_video = std::move(value); }
62 
67  inline StartPersonTrackingRequest& WithVideo(const Video& value) { SetVideo(value); return *this;}
68 
73  inline StartPersonTrackingRequest& WithVideo(Video&& value) { SetVideo(std::move(value)); return *this;}
74 
75 
82  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
83 
90  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
91 
98  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
99 
106  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
107 
114  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
115 
122  inline StartPersonTrackingRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
123 
130  inline StartPersonTrackingRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
131 
138  inline StartPersonTrackingRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
139 
140 
147  inline const NotificationChannel& GetNotificationChannel() const{ return m_notificationChannel; }
148 
155  inline bool NotificationChannelHasBeenSet() const { return m_notificationChannelHasBeenSet; }
156 
163  inline void SetNotificationChannel(const NotificationChannel& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = value; }
164 
171  inline void SetNotificationChannel(NotificationChannel&& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = std::move(value); }
172 
179  inline StartPersonTrackingRequest& WithNotificationChannel(const NotificationChannel& value) { SetNotificationChannel(value); return *this;}
180 
187  inline StartPersonTrackingRequest& WithNotificationChannel(NotificationChannel&& value) { SetNotificationChannel(std::move(value)); return *this;}
188 
189 
196  inline const Aws::String& GetJobTag() const{ return m_jobTag; }
197 
204  inline bool JobTagHasBeenSet() const { return m_jobTagHasBeenSet; }
205 
212  inline void SetJobTag(const Aws::String& value) { m_jobTagHasBeenSet = true; m_jobTag = value; }
213 
220  inline void SetJobTag(Aws::String&& value) { m_jobTagHasBeenSet = true; m_jobTag = std::move(value); }
221 
228  inline void SetJobTag(const char* value) { m_jobTagHasBeenSet = true; m_jobTag.assign(value); }
229 
236  inline StartPersonTrackingRequest& WithJobTag(const Aws::String& value) { SetJobTag(value); return *this;}
237 
244  inline StartPersonTrackingRequest& WithJobTag(Aws::String&& value) { SetJobTag(std::move(value)); return *this;}
245 
252  inline StartPersonTrackingRequest& WithJobTag(const char* value) { SetJobTag(value); return *this;}
253 
254  private:
255 
256  Video m_video;
257  bool m_videoHasBeenSet;
258 
259  Aws::String m_clientRequestToken;
260  bool m_clientRequestTokenHasBeenSet;
261 
262  NotificationChannel m_notificationChannel;
263  bool m_notificationChannelHasBeenSet;
264 
265  Aws::String m_jobTag;
266  bool m_jobTagHasBeenSet;
267  };
268 
269 } // namespace Model
270 } // namespace Rekognition
271 } // namespace Aws
Aws::Rekognition::Model::StartPersonTrackingRequest::WithClientRequestToken
StartPersonTrackingRequest & WithClientRequestToken(Aws::String &&value)
Definition: StartPersonTrackingRequest.h:130
Aws::Rekognition::Model::StartPersonTrackingRequest::StartPersonTrackingRequest
StartPersonTrackingRequest()
Aws::Rekognition::Model::StartPersonTrackingRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Rekognition::Model::StartPersonTrackingRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: StartPersonTrackingRequest.h:90
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Rekognition::Model::StartPersonTrackingRequest::SetJobTag
void SetJobTag(const Aws::String &value)
Definition: StartPersonTrackingRequest.h:212
Aws::Rekognition::Model::StartPersonTrackingRequest::WithVideo
StartPersonTrackingRequest & WithVideo(Video &&value)
Definition: StartPersonTrackingRequest.h:73
Aws::Rekognition::Model::StartPersonTrackingRequest::JobTagHasBeenSet
bool JobTagHasBeenSet() const
Definition: StartPersonTrackingRequest.h:204
Aws::Rekognition::Model::StartPersonTrackingRequest::SetJobTag
void SetJobTag(const char *value)
Definition: StartPersonTrackingRequest.h:228
Aws::Rekognition::Model::StartPersonTrackingRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: StartPersonTrackingRequest.h:98
Aws::Rekognition::Model::StartPersonTrackingRequest::VideoHasBeenSet
bool VideoHasBeenSet() const
Definition: StartPersonTrackingRequest.h:49
Aws::Rekognition::Model::StartPersonTrackingRequest::SetVideo
void SetVideo(Video &&value)
Definition: StartPersonTrackingRequest.h:61
Aws::Rekognition::Model::StartPersonTrackingRequest::WithJobTag
StartPersonTrackingRequest & WithJobTag(Aws::String &&value)
Definition: StartPersonTrackingRequest.h:244
Aws::Rekognition::Model::StartPersonTrackingRequest::WithNotificationChannel
StartPersonTrackingRequest & WithNotificationChannel(NotificationChannel &&value)
Definition: StartPersonTrackingRequest.h:187
Aws::Rekognition::Model::StartPersonTrackingRequest::WithJobTag
StartPersonTrackingRequest & WithJobTag(const Aws::String &value)
Definition: StartPersonTrackingRequest.h:236
Aws::Rekognition::Model::StartPersonTrackingRequest::SetVideo
void SetVideo(const Video &value)
Definition: StartPersonTrackingRequest.h:55
Aws::Rekognition::Model::StartPersonTrackingRequest::WithJobTag
StartPersonTrackingRequest & WithJobTag(const char *value)
Definition: StartPersonTrackingRequest.h:252
Aws::Rekognition::Model::StartPersonTrackingRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: StartPersonTrackingRequest.h:82
Aws::Rekognition::Model::StartPersonTrackingRequest::GetNotificationChannel
const NotificationChannel & GetNotificationChannel() const
Definition: StartPersonTrackingRequest.h:147
Aws::Rekognition::Model::NotificationChannel
Definition: NotificationChannel.h:39
Video.h
Aws::Rekognition::Model::StartPersonTrackingRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: StartPersonTrackingRequest.h:106
Aws::Rekognition::RekognitionRequest
Definition: RekognitionRequest.h:17
Aws::Rekognition::Model::StartPersonTrackingRequest::GetVideo
const Video & GetVideo() const
Definition: StartPersonTrackingRequest.h:43
Aws::Rekognition::Model::StartPersonTrackingRequest::SetJobTag
void SetJobTag(Aws::String &&value)
Definition: StartPersonTrackingRequest.h:220
Aws::Rekognition::Model::StartPersonTrackingRequest::WithVideo
StartPersonTrackingRequest & WithVideo(const Video &value)
Definition: StartPersonTrackingRequest.h:67
Aws::Rekognition::Model::StartPersonTrackingRequest::GetJobTag
const Aws::String & GetJobTag() const
Definition: StartPersonTrackingRequest.h:196
AWSString.h
Aws::Rekognition::Model::StartPersonTrackingRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: StartPersonTrackingRequest.h:114
Aws::Rekognition::Model::StartPersonTrackingRequest::SetNotificationChannel
void SetNotificationChannel(const NotificationChannel &value)
Definition: StartPersonTrackingRequest.h:163
Aws::Rekognition::Model::StartPersonTrackingRequest::WithClientRequestToken
StartPersonTrackingRequest & WithClientRequestToken(const char *value)
Definition: StartPersonTrackingRequest.h:138
Aws::Rekognition::Model::StartPersonTrackingRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_REKOGNITION_API
#define AWS_REKOGNITION_API
Definition: Rekognition_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
NotificationChannel.h
Rekognition_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Rekognition::Model::StartPersonTrackingRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartPersonTrackingRequest.h:32
Aws::Rekognition::Model::StartPersonTrackingRequest::SetNotificationChannel
void SetNotificationChannel(NotificationChannel &&value)
Definition: StartPersonTrackingRequest.h:171
Aws::Rekognition::Model::StartPersonTrackingRequest
Definition: StartPersonTrackingRequest.h:24
Aws::Rekognition::Model::StartPersonTrackingRequest::WithClientRequestToken
StartPersonTrackingRequest & WithClientRequestToken(const Aws::String &value)
Definition: StartPersonTrackingRequest.h:122
Aws::Rekognition::Model::StartPersonTrackingRequest::NotificationChannelHasBeenSet
bool NotificationChannelHasBeenSet() const
Definition: StartPersonTrackingRequest.h:155
Aws::Rekognition::Model::Video
Definition: Video.h:35
Aws::Rekognition::Model::StartPersonTrackingRequest::WithNotificationChannel
StartPersonTrackingRequest & WithNotificationChannel(const NotificationChannel &value)
Definition: StartPersonTrackingRequest.h:179
RekognitionRequest.h