AWS SDK for C++  1.9.40
AWS SDK for C++
GetSegmentDetectionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Rekognition
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetSegmentDetection"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
42  inline const Aws::String& GetJobId() const{ return m_jobId; }
43 
49  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
50 
56  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
57 
63  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
64 
70  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
71 
77  inline GetSegmentDetectionRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
78 
84  inline GetSegmentDetectionRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
85 
91  inline GetSegmentDetectionRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
92 
93 
98  inline int GetMaxResults() const{ return m_maxResults; }
99 
104  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
105 
110  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
111 
116  inline GetSegmentDetectionRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
117 
118 
123  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
124 
129  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
130 
135  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
136 
141  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
142 
147  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
148 
153  inline GetSegmentDetectionRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
154 
159  inline GetSegmentDetectionRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
160 
165  inline GetSegmentDetectionRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
166 
167  private:
168 
169  Aws::String m_jobId;
170  bool m_jobIdHasBeenSet;
171 
172  int m_maxResults;
173  bool m_maxResultsHasBeenSet;
174 
175  Aws::String m_nextToken;
176  bool m_nextTokenHasBeenSet;
177  };
178 
179 } // namespace Model
180 } // namespace Rekognition
181 } // namespace Aws
Aws::Rekognition::Model::GetSegmentDetectionRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetSegmentDetectionRequest.h:135
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Rekognition::Model::GetSegmentDetectionRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetSegmentDetectionRequest.h:141
Aws::Rekognition::Model::GetSegmentDetectionRequest::SetMaxResults
void SetMaxResults(int value)
Definition: GetSegmentDetectionRequest.h:110
Aws::Rekognition::Model::GetSegmentDetectionRequest::GetSegmentDetectionRequest
GetSegmentDetectionRequest()
Aws::Rekognition::Model::GetSegmentDetectionRequest::WithJobId
GetSegmentDetectionRequest & WithJobId(Aws::String &&value)
Definition: GetSegmentDetectionRequest.h:84
Aws::Rekognition::Model::GetSegmentDetectionRequest::WithJobId
GetSegmentDetectionRequest & WithJobId(const char *value)
Definition: GetSegmentDetectionRequest.h:91
Aws::Rekognition::Model::GetSegmentDetectionRequest::GetMaxResults
int GetMaxResults() const
Definition: GetSegmentDetectionRequest.h:98
Aws::Rekognition::Model::GetSegmentDetectionRequest
Definition: GetSegmentDetectionRequest.h:22
Aws::Rekognition::Model::GetSegmentDetectionRequest::WithJobId
GetSegmentDetectionRequest & WithJobId(const Aws::String &value)
Definition: GetSegmentDetectionRequest.h:77
Aws::Rekognition::Model::GetSegmentDetectionRequest::WithNextToken
GetSegmentDetectionRequest & WithNextToken(Aws::String &&value)
Definition: GetSegmentDetectionRequest.h:159
Aws::Rekognition::Model::GetSegmentDetectionRequest::WithNextToken
GetSegmentDetectionRequest & WithNextToken(const Aws::String &value)
Definition: GetSegmentDetectionRequest.h:153
Aws::Rekognition::Model::GetSegmentDetectionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Rekognition::Model::GetSegmentDetectionRequest::SetJobId
void SetJobId(Aws::String &&value)
Definition: GetSegmentDetectionRequest.h:63
Aws::Rekognition::Model::GetSegmentDetectionRequest::WithNextToken
GetSegmentDetectionRequest & WithNextToken(const char *value)
Definition: GetSegmentDetectionRequest.h:165
Aws::Rekognition::RekognitionRequest
Definition: RekognitionRequest.h:17
Aws::Rekognition::Model::GetSegmentDetectionRequest::SetNextToken
void SetNextToken(const char *value)
Definition: GetSegmentDetectionRequest.h:147
AWSString.h
AWS_REKOGNITION_API
#define AWS_REKOGNITION_API
Definition: Rekognition_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::Rekognition::Model::GetSegmentDetectionRequest::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: GetSegmentDetectionRequest.h:49
Aws::Rekognition::Model::GetSegmentDetectionRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetSegmentDetectionRequest.h:123
Aws::Rekognition::Model::GetSegmentDetectionRequest::WithMaxResults
GetSegmentDetectionRequest & WithMaxResults(int value)
Definition: GetSegmentDetectionRequest.h:116
Rekognition_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Rekognition::Model::GetSegmentDetectionRequest::GetJobId
const Aws::String & GetJobId() const
Definition: GetSegmentDetectionRequest.h:42
Aws::Rekognition::Model::GetSegmentDetectionRequest::SetJobId
void SetJobId(const Aws::String &value)
Definition: GetSegmentDetectionRequest.h:56
Aws::Rekognition::Model::GetSegmentDetectionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Rekognition::Model::GetSegmentDetectionRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: GetSegmentDetectionRequest.h:129
Aws::Rekognition::Model::GetSegmentDetectionRequest::SetJobId
void SetJobId(const char *value)
Definition: GetSegmentDetectionRequest.h:70
Aws::Rekognition::Model::GetSegmentDetectionRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: GetSegmentDetectionRequest.h:104
Aws::Rekognition::Model::GetSegmentDetectionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetSegmentDetectionRequest.h:30
RekognitionRequest.h