AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
48 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
49 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
50 inline DescribeProjectsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
51 inline DescribeProjectsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
52 inline DescribeProjectsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
54
56
61 inline int GetMaxResults() const{ return m_maxResults; }
62 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
63 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
64 inline DescribeProjectsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
66
68
73 inline const Aws::Vector<Aws::String>& GetProjectNames() const{ return m_projectNames; }
74 inline bool ProjectNamesHasBeenSet() const { return m_projectNamesHasBeenSet; }
75 inline void SetProjectNames(const Aws::Vector<Aws::String>& value) { m_projectNamesHasBeenSet = true; m_projectNames = value; }
76 inline void SetProjectNames(Aws::Vector<Aws::String>&& value) { m_projectNamesHasBeenSet = true; m_projectNames = std::move(value); }
78 inline DescribeProjectsRequest& WithProjectNames(Aws::Vector<Aws::String>&& value) { SetProjectNames(std::move(value)); return *this;}
79 inline DescribeProjectsRequest& AddProjectNames(const Aws::String& value) { m_projectNamesHasBeenSet = true; m_projectNames.push_back(value); return *this; }
80 inline DescribeProjectsRequest& AddProjectNames(Aws::String&& value) { m_projectNamesHasBeenSet = true; m_projectNames.push_back(std::move(value)); return *this; }
81 inline DescribeProjectsRequest& AddProjectNames(const char* value) { m_projectNamesHasBeenSet = true; m_projectNames.push_back(value); return *this; }
83
85
89 inline const Aws::Vector<CustomizationFeature>& GetFeatures() const{ return m_features; }
90 inline bool FeaturesHasBeenSet() const { return m_featuresHasBeenSet; }
91 inline void SetFeatures(const Aws::Vector<CustomizationFeature>& value) { m_featuresHasBeenSet = true; m_features = value; }
92 inline void SetFeatures(Aws::Vector<CustomizationFeature>&& value) { m_featuresHasBeenSet = true; m_features = std::move(value); }
94 inline DescribeProjectsRequest& WithFeatures(Aws::Vector<CustomizationFeature>&& value) { SetFeatures(std::move(value)); return *this;}
95 inline DescribeProjectsRequest& AddFeatures(const CustomizationFeature& value) { m_featuresHasBeenSet = true; m_features.push_back(value); return *this; }
96 inline DescribeProjectsRequest& AddFeatures(CustomizationFeature&& value) { m_featuresHasBeenSet = true; m_features.push_back(std::move(value)); return *this; }
98 private:
99
100 Aws::String m_nextToken;
101 bool m_nextTokenHasBeenSet = false;
102
103 int m_maxResults;
104 bool m_maxResultsHasBeenSet = false;
105
106 Aws::Vector<Aws::String> m_projectNames;
107 bool m_projectNamesHasBeenSet = false;
108
110 bool m_featuresHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Rekognition
115} // namespace Aws
DescribeProjectsRequest & AddProjectNames(Aws::String &&value)
void SetFeatures(const Aws::Vector< CustomizationFeature > &value)
const Aws::Vector< CustomizationFeature > & GetFeatures() const
DescribeProjectsRequest & WithFeatures(Aws::Vector< CustomizationFeature > &&value)
void SetProjectNames(const Aws::Vector< Aws::String > &value)
DescribeProjectsRequest & WithFeatures(const Aws::Vector< CustomizationFeature > &value)
DescribeProjectsRequest & AddFeatures(const CustomizationFeature &value)
DescribeProjectsRequest & WithNextToken(const Aws::String &value)
DescribeProjectsRequest & AddProjectNames(const Aws::String &value)
const Aws::Vector< Aws::String > & GetProjectNames() const
DescribeProjectsRequest & WithProjectNames(Aws::Vector< Aws::String > &&value)
DescribeProjectsRequest & AddFeatures(CustomizationFeature &&value)
virtual const char * GetServiceRequestName() const override
void SetProjectNames(Aws::Vector< Aws::String > &&value)
DescribeProjectsRequest & WithNextToken(Aws::String &&value)
DescribeProjectsRequest & WithNextToken(const char *value)
DescribeProjectsRequest & AddProjectNames(const char *value)
DescribeProjectsRequest & WithMaxResults(int value)
DescribeProjectsRequest & WithProjectNames(const Aws::Vector< Aws::String > &value)
void SetFeatures(Aws::Vector< CustomizationFeature > &&value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_REKOGNITION_API Aws::String SerializePayload() const override
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