AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename VideoT = Video>
47 void SetVideo(VideoT&& value) { m_videoHasBeenSet = true; m_video = std::forward<VideoT>(value); }
48 template<typename VideoT = Video>
49 StartPersonTrackingRequest& WithVideo(VideoT&& value) { SetVideo(std::forward<VideoT>(value)); return *this;}
51
53
59 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
60 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
61 template<typename ClientRequestTokenT = Aws::String>
62 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
63 template<typename ClientRequestTokenT = Aws::String>
64 StartPersonTrackingRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
66
68
74 inline const NotificationChannel& GetNotificationChannel() const { return m_notificationChannel; }
75 inline bool NotificationChannelHasBeenSet() const { return m_notificationChannelHasBeenSet; }
76 template<typename NotificationChannelT = NotificationChannel>
77 void SetNotificationChannel(NotificationChannelT&& value) { m_notificationChannelHasBeenSet = true; m_notificationChannel = std::forward<NotificationChannelT>(value); }
78 template<typename NotificationChannelT = NotificationChannel>
79 StartPersonTrackingRequest& WithNotificationChannel(NotificationChannelT&& value) { SetNotificationChannel(std::forward<NotificationChannelT>(value)); return *this;}
81
83
89 inline const Aws::String& GetJobTag() const { return m_jobTag; }
90 inline bool JobTagHasBeenSet() const { return m_jobTagHasBeenSet; }
91 template<typename JobTagT = Aws::String>
92 void SetJobTag(JobTagT&& value) { m_jobTagHasBeenSet = true; m_jobTag = std::forward<JobTagT>(value); }
93 template<typename JobTagT = Aws::String>
94 StartPersonTrackingRequest& WithJobTag(JobTagT&& value) { SetJobTag(std::forward<JobTagT>(value)); return *this;}
96 private:
97
98 Video m_video;
99 bool m_videoHasBeenSet = false;
100
101 Aws::String m_clientRequestToken;
102 bool m_clientRequestTokenHasBeenSet = false;
103
104 NotificationChannel m_notificationChannel;
105 bool m_notificationChannelHasBeenSet = false;
106
107 Aws::String m_jobTag;
108 bool m_jobTagHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Rekognition
113} // 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