AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
StartPersonTrackingRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/rekognition/Rekognition_EXPORTS.h>
10#include <aws/rekognition/model/NotificationChannel.h>
11#include <aws/rekognition/model/Video.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Rekognition {
17namespace Model {
18
22 public:
23 AWS_REKOGNITION_API StartPersonTrackingRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "StartPersonTracking"; }
30
31 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
32
33 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
40 inline const Video& GetVideo() const { return m_video; }
41 inline bool VideoHasBeenSet() const { return m_videoHasBeenSet; }
42 template <typename VideoT = Video>
43 void SetVideo(VideoT&& value) {
44 m_videoHasBeenSet = true;
45 m_video = std::forward<VideoT>(value);
46 }
47 template <typename VideoT = Video>
49 SetVideo(std::forward<VideoT>(value));
50 return *this;
51 }
53
55
61 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
62 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
63 template <typename ClientRequestTokenT = Aws::String>
64 void SetClientRequestToken(ClientRequestTokenT&& value) {
65 m_clientRequestTokenHasBeenSet = true;
66 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
67 }
68 template <typename ClientRequestTokenT = Aws::String>
69 StartPersonTrackingRequest& WithClientRequestToken(ClientRequestTokenT&& value) {
70 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
71 return *this;
72 }
74
76
82 inline const NotificationChannel& GetNotificationChannel() const { return m_notificationChannel; }
83 inline bool NotificationChannelHasBeenSet() const { return m_notificationChannelHasBeenSet; }
84 template <typename NotificationChannelT = NotificationChannel>
85 void SetNotificationChannel(NotificationChannelT&& value) {
86 m_notificationChannelHasBeenSet = true;
87 m_notificationChannel = std::forward<NotificationChannelT>(value);
88 }
89 template <typename NotificationChannelT = NotificationChannel>
90 StartPersonTrackingRequest& WithNotificationChannel(NotificationChannelT&& value) {
91 SetNotificationChannel(std::forward<NotificationChannelT>(value));
92 return *this;
93 }
95
97
103 inline const Aws::String& GetJobTag() const { return m_jobTag; }
104 inline bool JobTagHasBeenSet() const { return m_jobTagHasBeenSet; }
105 template <typename JobTagT = Aws::String>
106 void SetJobTag(JobTagT&& value) {
107 m_jobTagHasBeenSet = true;
108 m_jobTag = std::forward<JobTagT>(value);
109 }
110 template <typename JobTagT = Aws::String>
112 SetJobTag(std::forward<JobTagT>(value));
113 return *this;
114 }
116 private:
117 Video m_video;
118 bool m_videoHasBeenSet = false;
119
120 Aws::String m_clientRequestToken;
121 bool m_clientRequestTokenHasBeenSet = false;
122
123 NotificationChannel m_notificationChannel;
124 bool m_notificationChannelHasBeenSet = false;
125
126 Aws::String m_jobTag;
127 bool m_jobTagHasBeenSet = false;
128};
129
130} // namespace Model
131} // namespace Rekognition
132} // namespace Aws
StartPersonTrackingRequest & WithVideo(VideoT &&value)
AWS_REKOGNITION_API StartPersonTrackingRequest()=default
AWS_REKOGNITION_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
StartPersonTrackingRequest & WithClientRequestToken(ClientRequestTokenT &&value)
StartPersonTrackingRequest & WithNotificationChannel(NotificationChannelT &&value)
StartPersonTrackingRequest & WithJobTag(JobTagT &&value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String