AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeProjectVersionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rekognition/RekognitionRequest.h>
10#include <aws/rekognition/Rekognition_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Rekognition {
16namespace Model {
17
21 public:
22 AWS_REKOGNITION_API DescribeProjectVersionsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeProjectVersions"; }
29
30 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
31
32 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
39 inline const Aws::String& GetProjectArn() const { return m_projectArn; }
40 inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
41 template <typename ProjectArnT = Aws::String>
42 void SetProjectArn(ProjectArnT&& value) {
43 m_projectArnHasBeenSet = true;
44 m_projectArn = std::forward<ProjectArnT>(value);
45 }
46 template <typename ProjectArnT = Aws::String>
48 SetProjectArn(std::forward<ProjectArnT>(value));
49 return *this;
50 }
52
54
62 inline const Aws::Vector<Aws::String>& GetVersionNames() const { return m_versionNames; }
63 inline bool VersionNamesHasBeenSet() const { return m_versionNamesHasBeenSet; }
64 template <typename VersionNamesT = Aws::Vector<Aws::String>>
65 void SetVersionNames(VersionNamesT&& value) {
66 m_versionNamesHasBeenSet = true;
67 m_versionNames = std::forward<VersionNamesT>(value);
68 }
69 template <typename VersionNamesT = Aws::Vector<Aws::String>>
71 SetVersionNames(std::forward<VersionNamesT>(value));
72 return *this;
73 }
74 template <typename VersionNamesT = Aws::String>
76 m_versionNamesHasBeenSet = true;
77 m_versionNames.emplace_back(std::forward<VersionNamesT>(value));
78 return *this;
79 }
81
83
88 inline const Aws::String& GetNextToken() const { return m_nextToken; }
89 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
90 template <typename NextTokenT = Aws::String>
91 void SetNextToken(NextTokenT&& value) {
92 m_nextTokenHasBeenSet = true;
93 m_nextToken = std::forward<NextTokenT>(value);
94 }
95 template <typename NextTokenT = Aws::String>
97 SetNextToken(std::forward<NextTokenT>(value));
98 return *this;
99 }
101
103
108 inline int GetMaxResults() const { return m_maxResults; }
109 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
110 inline void SetMaxResults(int value) {
111 m_maxResultsHasBeenSet = true;
112 m_maxResults = value;
113 }
115 SetMaxResults(value);
116 return *this;
117 }
119 private:
120 Aws::String m_projectArn;
121
122 Aws::Vector<Aws::String> m_versionNames;
123
124 Aws::String m_nextToken;
125
126 int m_maxResults{0};
127 bool m_projectArnHasBeenSet = false;
128 bool m_versionNamesHasBeenSet = false;
129 bool m_nextTokenHasBeenSet = false;
130 bool m_maxResultsHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace Rekognition
135} // namespace Aws
DescribeProjectVersionsRequest & WithProjectArn(ProjectArnT &&value)
AWS_REKOGNITION_API Aws::String SerializePayload() const override
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeProjectVersionsRequest & AddVersionNames(VersionNamesT &&value)
DescribeProjectVersionsRequest & WithNextToken(NextTokenT &&value)
AWS_REKOGNITION_API DescribeProjectVersionsRequest()=default
DescribeProjectVersionsRequest & WithVersionNames(VersionNamesT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector