AWS SDK for C++  1.9.159
AWS SDK for C++
DescribeProjectVersionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Rekognition
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "DescribeProjectVersions"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetProjectArn() const{ return m_projectArn; }
43 
48  inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
49 
54  inline void SetProjectArn(const Aws::String& value) { m_projectArnHasBeenSet = true; m_projectArn = value; }
55 
60  inline void SetProjectArn(Aws::String&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::move(value); }
61 
66  inline void SetProjectArn(const char* value) { m_projectArnHasBeenSet = true; m_projectArn.assign(value); }
67 
72  inline DescribeProjectVersionsRequest& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;}
73 
78  inline DescribeProjectVersionsRequest& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;}
79 
84  inline DescribeProjectVersionsRequest& WithProjectArn(const char* value) { SetProjectArn(value); return *this;}
85 
86 
95  inline const Aws::Vector<Aws::String>& GetVersionNames() const{ return m_versionNames; }
96 
105  inline bool VersionNamesHasBeenSet() const { return m_versionNamesHasBeenSet; }
106 
115  inline void SetVersionNames(const Aws::Vector<Aws::String>& value) { m_versionNamesHasBeenSet = true; m_versionNames = value; }
116 
125  inline void SetVersionNames(Aws::Vector<Aws::String>&& value) { m_versionNamesHasBeenSet = true; m_versionNames = std::move(value); }
126 
135  inline DescribeProjectVersionsRequest& WithVersionNames(const Aws::Vector<Aws::String>& value) { SetVersionNames(value); return *this;}
136 
145  inline DescribeProjectVersionsRequest& WithVersionNames(Aws::Vector<Aws::String>&& value) { SetVersionNames(std::move(value)); return *this;}
146 
155  inline DescribeProjectVersionsRequest& AddVersionNames(const Aws::String& value) { m_versionNamesHasBeenSet = true; m_versionNames.push_back(value); return *this; }
156 
165  inline DescribeProjectVersionsRequest& AddVersionNames(Aws::String&& value) { m_versionNamesHasBeenSet = true; m_versionNames.push_back(std::move(value)); return *this; }
166 
175  inline DescribeProjectVersionsRequest& AddVersionNames(const char* value) { m_versionNamesHasBeenSet = true; m_versionNames.push_back(value); return *this; }
176 
177 
184  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
185 
192  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
193 
200  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
201 
208  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
209 
216  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
217 
224  inline DescribeProjectVersionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
225 
232  inline DescribeProjectVersionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
233 
240  inline DescribeProjectVersionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
241 
242 
248  inline int GetMaxResults() const{ return m_maxResults; }
249 
255  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
256 
262  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
263 
269  inline DescribeProjectVersionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
270 
271  private:
272 
273  Aws::String m_projectArn;
274  bool m_projectArnHasBeenSet;
275 
276  Aws::Vector<Aws::String> m_versionNames;
277  bool m_versionNamesHasBeenSet;
278 
279  Aws::String m_nextToken;
280  bool m_nextTokenHasBeenSet;
281 
282  int m_maxResults;
283  bool m_maxResultsHasBeenSet;
284  };
285 
286 } // namespace Model
287 } // namespace Rekognition
288 } // namespace Aws
Aws::Rekognition::Model::DescribeProjectVersionsRequest::AddVersionNames
DescribeProjectVersionsRequest & AddVersionNames(const char *value)
Definition: DescribeProjectVersionsRequest.h:175
Aws::Rekognition::Model::DescribeProjectVersionsRequest::SetProjectArn
void SetProjectArn(Aws::String &&value)
Definition: DescribeProjectVersionsRequest.h:60
Aws::Rekognition::Model::DescribeProjectVersionsRequest::WithVersionNames
DescribeProjectVersionsRequest & WithVersionNames(const Aws::Vector< Aws::String > &value)
Definition: DescribeProjectVersionsRequest.h:135
Aws::Rekognition::Model::DescribeProjectVersionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeProjectVersionsRequest.h:208
Aws::Rekognition::Model::DescribeProjectVersionsRequest::WithProjectArn
DescribeProjectVersionsRequest & WithProjectArn(const Aws::String &value)
Definition: DescribeProjectVersionsRequest.h:72
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Rekognition::Model::DescribeProjectVersionsRequest::WithVersionNames
DescribeProjectVersionsRequest & WithVersionNames(Aws::Vector< Aws::String > &&value)
Definition: DescribeProjectVersionsRequest.h:145
Aws::Rekognition::Model::DescribeProjectVersionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Rekognition::Model::DescribeProjectVersionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeProjectVersionsRequest.h:255
Aws::Rekognition::Model::DescribeProjectVersionsRequest::DescribeProjectVersionsRequest
DescribeProjectVersionsRequest()
Aws::Rekognition::Model::DescribeProjectVersionsRequest::SetVersionNames
void SetVersionNames(const Aws::Vector< Aws::String > &value)
Definition: DescribeProjectVersionsRequest.h:115
Aws::Rekognition::Model::DescribeProjectVersionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Rekognition::Model::DescribeProjectVersionsRequest::AddVersionNames
DescribeProjectVersionsRequest & AddVersionNames(Aws::String &&value)
Definition: DescribeProjectVersionsRequest.h:165
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Rekognition::Model::DescribeProjectVersionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeProjectVersionsRequest.h:216
Aws::Rekognition::Model::DescribeProjectVersionsRequest::GetVersionNames
const Aws::Vector< Aws::String > & GetVersionNames() const
Definition: DescribeProjectVersionsRequest.h:95
Aws::Rekognition::Model::DescribeProjectVersionsRequest
Definition: DescribeProjectVersionsRequest.h:23
Aws::Rekognition::Model::DescribeProjectVersionsRequest::AddVersionNames
DescribeProjectVersionsRequest & AddVersionNames(const Aws::String &value)
Definition: DescribeProjectVersionsRequest.h:155
Aws::Rekognition::Model::DescribeProjectVersionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeProjectVersionsRequest.h:192
AWSVector.h
Aws::Rekognition::Model::DescribeProjectVersionsRequest::WithProjectArn
DescribeProjectVersionsRequest & WithProjectArn(Aws::String &&value)
Definition: DescribeProjectVersionsRequest.h:78
Aws::Rekognition::Model::DescribeProjectVersionsRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeProjectVersionsRequest.h:248
Aws::Rekognition::Model::DescribeProjectVersionsRequest::ProjectArnHasBeenSet
bool ProjectArnHasBeenSet() const
Definition: DescribeProjectVersionsRequest.h:48
Aws::Rekognition::RekognitionRequest
Definition: RekognitionRequest.h:17
Aws::Rekognition::Model::DescribeProjectVersionsRequest::SetProjectArn
void SetProjectArn(const Aws::String &value)
Definition: DescribeProjectVersionsRequest.h:54
Aws::Rekognition::Model::DescribeProjectVersionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeProjectVersionsRequest.h:31
AWSString.h
Aws::Rekognition::Model::DescribeProjectVersionsRequest::WithProjectArn
DescribeProjectVersionsRequest & WithProjectArn(const char *value)
Definition: DescribeProjectVersionsRequest.h:84
Aws::Rekognition::Model::DescribeProjectVersionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeProjectVersionsRequest.h:262
Aws::Rekognition::Model::DescribeProjectVersionsRequest::VersionNamesHasBeenSet
bool VersionNamesHasBeenSet() const
Definition: DescribeProjectVersionsRequest.h:105
Aws::Rekognition::Model::DescribeProjectVersionsRequest::WithMaxResults
DescribeProjectVersionsRequest & WithMaxResults(int value)
Definition: DescribeProjectVersionsRequest.h:269
Aws::Rekognition::Model::DescribeProjectVersionsRequest::GetProjectArn
const Aws::String & GetProjectArn() const
Definition: DescribeProjectVersionsRequest.h:42
Aws::Rekognition::Model::DescribeProjectVersionsRequest::WithNextToken
DescribeProjectVersionsRequest & WithNextToken(const char *value)
Definition: DescribeProjectVersionsRequest.h:240
Aws::Rekognition::Model::DescribeProjectVersionsRequest::SetProjectArn
void SetProjectArn(const char *value)
Definition: DescribeProjectVersionsRequest.h:66
AWS_REKOGNITION_API
#define AWS_REKOGNITION_API
Definition: Rekognition_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::Rekognition::Model::DescribeProjectVersionsRequest::WithNextToken
DescribeProjectVersionsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeProjectVersionsRequest.h:232
Aws::Rekognition::Model::DescribeProjectVersionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeProjectVersionsRequest.h:184
Rekognition_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Rekognition::Model::DescribeProjectVersionsRequest::WithNextToken
DescribeProjectVersionsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeProjectVersionsRequest.h:224
Aws::Rekognition::Model::DescribeProjectVersionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeProjectVersionsRequest.h:200
Aws::Rekognition::Model::DescribeProjectVersionsRequest::SetVersionNames
void SetVersionNames(Aws::Vector< Aws::String > &&value)
Definition: DescribeProjectVersionsRequest.h:125
RekognitionRequest.h