AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartPersonTrackingRequest.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 StartPersonTrackingRequest();
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_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 StartPersonTrackingRequest& WithVideo(const Video& value) { SetVideo(value); return *this;}
49 inline StartPersonTrackingRequest& 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); }
65 inline StartPersonTrackingRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
66 inline StartPersonTrackingRequest& 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 StartPersonTrackingRequest& WithJobTag(const Aws::String& value) { SetJobTag(value); return *this;}
97 inline StartPersonTrackingRequest& WithJobTag(Aws::String&& value) { SetJobTag(std::move(value)); return *this;}
98 inline StartPersonTrackingRequest& 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
StartPersonTrackingRequest & WithVideo(const Video &value)
StartPersonTrackingRequest & WithNotificationChannel(NotificationChannel &&value)
StartPersonTrackingRequest & WithClientRequestToken(const char *value)
StartPersonTrackingRequest & WithVideo(Video &&value)
void SetNotificationChannel(const NotificationChannel &value)
AWS_REKOGNITION_API Aws::String SerializePayload() const override
StartPersonTrackingRequest & WithJobTag(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
StartPersonTrackingRequest & WithNotificationChannel(const NotificationChannel &value)
StartPersonTrackingRequest & WithClientRequestToken(const Aws::String &value)
StartPersonTrackingRequest & WithJobTag(const char *value)
StartPersonTrackingRequest & WithClientRequestToken(Aws::String &&value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartPersonTrackingRequest & WithJobTag(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String