AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeProjectVersionsRequest.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Rekognition
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_REKOGNITION_API DescribeProjectVersionsRequest() = default;
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_REKOGNITION_API Aws::String SerializePayload() const override;
34
35 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetProjectArn() const { return m_projectArn; }
44 inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
45 template<typename ProjectArnT = Aws::String>
46 void SetProjectArn(ProjectArnT&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::forward<ProjectArnT>(value); }
47 template<typename ProjectArnT = Aws::String>
48 DescribeProjectVersionsRequest& WithProjectArn(ProjectArnT&& value) { SetProjectArn(std::forward<ProjectArnT>(value)); return *this;}
50
52
60 inline const Aws::Vector<Aws::String>& GetVersionNames() const { return m_versionNames; }
61 inline bool VersionNamesHasBeenSet() const { return m_versionNamesHasBeenSet; }
62 template<typename VersionNamesT = Aws::Vector<Aws::String>>
63 void SetVersionNames(VersionNamesT&& value) { m_versionNamesHasBeenSet = true; m_versionNames = std::forward<VersionNamesT>(value); }
64 template<typename VersionNamesT = Aws::Vector<Aws::String>>
65 DescribeProjectVersionsRequest& WithVersionNames(VersionNamesT&& value) { SetVersionNames(std::forward<VersionNamesT>(value)); return *this;}
66 template<typename VersionNamesT = Aws::String>
67 DescribeProjectVersionsRequest& AddVersionNames(VersionNamesT&& value) { m_versionNamesHasBeenSet = true; m_versionNames.emplace_back(std::forward<VersionNamesT>(value)); return *this; }
69
71
76 inline const Aws::String& GetNextToken() const { return m_nextToken; }
77 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
78 template<typename NextTokenT = Aws::String>
79 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
80 template<typename NextTokenT = Aws::String>
81 DescribeProjectVersionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
83
85
90 inline int GetMaxResults() const { return m_maxResults; }
91 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
92 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
93 inline DescribeProjectVersionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
95 private:
96
97 Aws::String m_projectArn;
98 bool m_projectArnHasBeenSet = false;
99
100 Aws::Vector<Aws::String> m_versionNames;
101 bool m_versionNamesHasBeenSet = false;
102
103 Aws::String m_nextToken;
104 bool m_nextTokenHasBeenSet = false;
105
106 int m_maxResults{0};
107 bool m_maxResultsHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Rekognition
112} // 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