AWS SDK for C++  1.9.109
AWS SDK for C++
ListRecipesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace GlueDataBrew
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListRecipes"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline int GetMaxResults() const{ return m_maxResults; }
45 
49  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
50 
54  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
55 
59  inline ListRecipesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
60 
61 
66  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
67 
72  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 
78  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
79 
84  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
85 
90  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
91 
96  inline ListRecipesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 
102  inline ListRecipesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
103 
108  inline ListRecipesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
109 
110 
118  inline const Aws::String& GetRecipeVersion() const{ return m_recipeVersion; }
119 
127  inline bool RecipeVersionHasBeenSet() const { return m_recipeVersionHasBeenSet; }
128 
136  inline void SetRecipeVersion(const Aws::String& value) { m_recipeVersionHasBeenSet = true; m_recipeVersion = value; }
137 
145  inline void SetRecipeVersion(Aws::String&& value) { m_recipeVersionHasBeenSet = true; m_recipeVersion = std::move(value); }
146 
154  inline void SetRecipeVersion(const char* value) { m_recipeVersionHasBeenSet = true; m_recipeVersion.assign(value); }
155 
163  inline ListRecipesRequest& WithRecipeVersion(const Aws::String& value) { SetRecipeVersion(value); return *this;}
164 
172  inline ListRecipesRequest& WithRecipeVersion(Aws::String&& value) { SetRecipeVersion(std::move(value)); return *this;}
173 
181  inline ListRecipesRequest& WithRecipeVersion(const char* value) { SetRecipeVersion(value); return *this;}
182 
183  private:
184 
185  int m_maxResults;
186  bool m_maxResultsHasBeenSet;
187 
188  Aws::String m_nextToken;
189  bool m_nextTokenHasBeenSet;
190 
191  Aws::String m_recipeVersion;
192  bool m_recipeVersionHasBeenSet;
193  };
194 
195 } // namespace Model
196 } // namespace GlueDataBrew
197 } // namespace Aws
Aws::GlueDataBrew::Model::ListRecipesRequest::WithNextToken
ListRecipesRequest & WithNextToken(const Aws::String &value)
Definition: ListRecipesRequest.h:96
Aws::GlueDataBrew::Model::ListRecipesRequest::RecipeVersionHasBeenSet
bool RecipeVersionHasBeenSet() const
Definition: ListRecipesRequest.h:127
Aws::GlueDataBrew::Model::ListRecipesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListRecipesRequest.h:54
Aws::Http::URI
Definition: URI.h:32
Aws::GlueDataBrew::Model::ListRecipesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListRecipesRequest.h:66
Aws::GlueDataBrew::Model::ListRecipesRequest::SetRecipeVersion
void SetRecipeVersion(Aws::String &&value)
Definition: ListRecipesRequest.h:145
AWS_GLUEDATABREW_API
#define AWS_GLUEDATABREW_API
Definition: GlueDataBrew_EXPORTS.h:28
Aws::GlueDataBrew::Model::ListRecipesRequest::WithRecipeVersion
ListRecipesRequest & WithRecipeVersion(const char *value)
Definition: ListRecipesRequest.h:181
Aws::GlueDataBrew::Model::ListRecipesRequest
Definition: ListRecipesRequest.h:26
Aws::GlueDataBrew::Model::ListRecipesRequest::WithRecipeVersion
ListRecipesRequest & WithRecipeVersion(Aws::String &&value)
Definition: ListRecipesRequest.h:172
Aws::GlueDataBrew::GlueDataBrewRequest
Definition: GlueDataBrewRequest.h:17
GlueDataBrew_EXPORTS.h
Aws::GlueDataBrew::Model::ListRecipesRequest::WithRecipeVersion
ListRecipesRequest & WithRecipeVersion(const Aws::String &value)
Definition: ListRecipesRequest.h:163
Aws::GlueDataBrew::Model::ListRecipesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListRecipesRequest.h:78
Aws::GlueDataBrew::Model::ListRecipesRequest::WithMaxResults
ListRecipesRequest & WithMaxResults(int value)
Definition: ListRecipesRequest.h:59
GlueDataBrewRequest.h
Aws::GlueDataBrew::Model::ListRecipesRequest::WithNextToken
ListRecipesRequest & WithNextToken(Aws::String &&value)
Definition: ListRecipesRequest.h:102
Aws::GlueDataBrew::Model::ListRecipesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListRecipesRequest.h:44
Aws::GlueDataBrew::Model::ListRecipesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListRecipesRequest.h:84
Aws::GlueDataBrew::Model::ListRecipesRequest::SetRecipeVersion
void SetRecipeVersion(const char *value)
Definition: ListRecipesRequest.h:154
Aws::GlueDataBrew::Model::ListRecipesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListRecipesRequest.h:34
Aws::GlueDataBrew::Model::ListRecipesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListRecipesRequest.h:72
Aws::GlueDataBrew::Model::ListRecipesRequest::GetRecipeVersion
const Aws::String & GetRecipeVersion() const
Definition: ListRecipesRequest.h:118
AWSString.h
Aws::GlueDataBrew::Model::ListRecipesRequest::WithNextToken
ListRecipesRequest & WithNextToken(const char *value)
Definition: ListRecipesRequest.h:108
Aws::GlueDataBrew::Model::ListRecipesRequest::ListRecipesRequest
ListRecipesRequest()
Aws::GlueDataBrew::Model::ListRecipesRequest::SetRecipeVersion
void SetRecipeVersion(const Aws::String &value)
Definition: ListRecipesRequest.h:136
Aws
Definition: AccessManagementClient.h:15
Aws::GlueDataBrew::Model::ListRecipesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GlueDataBrew::Model::ListRecipesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListRecipesRequest.h:49
Aws::GlueDataBrew::Model::ListRecipesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListRecipesRequest.h:90
Aws::GlueDataBrew::Model::ListRecipesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override