AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeProjectsRequest.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 <aws/rekognition/model/CustomizationFeature.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Rekognition
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_REKOGNITION_API DescribeProjectsRequest() = 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 "DescribeProjects"; }
33
34 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
35
36 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
45 inline const Aws::String& GetNextToken() const { return m_nextToken; }
46 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
47 template<typename NextTokenT = Aws::String>
48 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
49 template<typename NextTokenT = Aws::String>
50 DescribeProjectsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
52
54
59 inline int GetMaxResults() const { return m_maxResults; }
60 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
61 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
62 inline DescribeProjectsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
64
66
71 inline const Aws::Vector<Aws::String>& GetProjectNames() const { return m_projectNames; }
72 inline bool ProjectNamesHasBeenSet() const { return m_projectNamesHasBeenSet; }
73 template<typename ProjectNamesT = Aws::Vector<Aws::String>>
74 void SetProjectNames(ProjectNamesT&& value) { m_projectNamesHasBeenSet = true; m_projectNames = std::forward<ProjectNamesT>(value); }
75 template<typename ProjectNamesT = Aws::Vector<Aws::String>>
76 DescribeProjectsRequest& WithProjectNames(ProjectNamesT&& value) { SetProjectNames(std::forward<ProjectNamesT>(value)); return *this;}
77 template<typename ProjectNamesT = Aws::String>
78 DescribeProjectsRequest& AddProjectNames(ProjectNamesT&& value) { m_projectNamesHasBeenSet = true; m_projectNames.emplace_back(std::forward<ProjectNamesT>(value)); return *this; }
80
82
86 inline const Aws::Vector<CustomizationFeature>& GetFeatures() const { return m_features; }
87 inline bool FeaturesHasBeenSet() const { return m_featuresHasBeenSet; }
88 template<typename FeaturesT = Aws::Vector<CustomizationFeature>>
89 void SetFeatures(FeaturesT&& value) { m_featuresHasBeenSet = true; m_features = std::forward<FeaturesT>(value); }
90 template<typename FeaturesT = Aws::Vector<CustomizationFeature>>
91 DescribeProjectsRequest& WithFeatures(FeaturesT&& value) { SetFeatures(std::forward<FeaturesT>(value)); return *this;}
92 inline DescribeProjectsRequest& AddFeatures(CustomizationFeature value) { m_featuresHasBeenSet = true; m_features.push_back(value); return *this; }
94 private:
95
96 Aws::String m_nextToken;
97 bool m_nextTokenHasBeenSet = false;
98
99 int m_maxResults{0};
100 bool m_maxResultsHasBeenSet = false;
101
102 Aws::Vector<Aws::String> m_projectNames;
103 bool m_projectNamesHasBeenSet = false;
104
106 bool m_featuresHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Rekognition
111} // namespace Aws
DescribeProjectsRequest & AddProjectNames(ProjectNamesT &&value)
DescribeProjectsRequest & WithFeatures(FeaturesT &&value)
const Aws::Vector< CustomizationFeature > & GetFeatures() const
AWS_REKOGNITION_API DescribeProjectsRequest()=default
const Aws::Vector< Aws::String > & GetProjectNames() const
virtual const char * GetServiceRequestName() const override
DescribeProjectsRequest & WithMaxResults(int value)
DescribeProjectsRequest & AddFeatures(CustomizationFeature value)
DescribeProjectsRequest & WithProjectNames(ProjectNamesT &&value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_REKOGNITION_API Aws::String SerializePayload() const override
DescribeProjectsRequest & WithNextToken(NextTokenT &&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