AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListRecipesRequest.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/personalize/PersonalizeRequest.h>
9#include <aws/personalize/model/RecipeProvider.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/personalize/model/Domain.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Personalize
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_PERSONALIZE_API ListRecipesRequest();
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 "ListRecipes"; }
33
34 AWS_PERSONALIZE_API Aws::String SerializePayload() const override;
35
36 AWS_PERSONALIZE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const RecipeProvider& GetRecipeProvider() const{ return m_recipeProvider; }
44 inline bool RecipeProviderHasBeenSet() const { return m_recipeProviderHasBeenSet; }
45 inline void SetRecipeProvider(const RecipeProvider& value) { m_recipeProviderHasBeenSet = true; m_recipeProvider = value; }
46 inline void SetRecipeProvider(RecipeProvider&& value) { m_recipeProviderHasBeenSet = true; m_recipeProvider = std::move(value); }
47 inline ListRecipesRequest& WithRecipeProvider(const RecipeProvider& value) { SetRecipeProvider(value); return *this;}
48 inline ListRecipesRequest& WithRecipeProvider(RecipeProvider&& value) { SetRecipeProvider(std::move(value)); return *this;}
50
52
56 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
57 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
58 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
59 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
60 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
61 inline ListRecipesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
62 inline ListRecipesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
63 inline ListRecipesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
65
67
70 inline int GetMaxResults() const{ return m_maxResults; }
71 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
72 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
73 inline ListRecipesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
75
77
82 inline const Domain& GetDomain() const{ return m_domain; }
83 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
84 inline void SetDomain(const Domain& value) { m_domainHasBeenSet = true; m_domain = value; }
85 inline void SetDomain(Domain&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
86 inline ListRecipesRequest& WithDomain(const Domain& value) { SetDomain(value); return *this;}
87 inline ListRecipesRequest& WithDomain(Domain&& value) { SetDomain(std::move(value)); return *this;}
89 private:
90
91 RecipeProvider m_recipeProvider;
92 bool m_recipeProviderHasBeenSet = false;
93
94 Aws::String m_nextToken;
95 bool m_nextTokenHasBeenSet = false;
96
97 int m_maxResults;
98 bool m_maxResultsHasBeenSet = false;
99
100 Domain m_domain;
101 bool m_domainHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Personalize
106} // namespace Aws
ListRecipesRequest & WithNextToken(const char *value)
const RecipeProvider & GetRecipeProvider() const
ListRecipesRequest & WithDomain(Domain &&value)
virtual const char * GetServiceRequestName() const override
ListRecipesRequest & WithMaxResults(int value)
ListRecipesRequest & WithRecipeProvider(RecipeProvider &&value)
AWS_PERSONALIZE_API Aws::String SerializePayload() const override
void SetRecipeProvider(const RecipeProvider &value)
ListRecipesRequest & WithNextToken(const Aws::String &value)
ListRecipesRequest & WithNextToken(Aws::String &&value)
void SetRecipeProvider(RecipeProvider &&value)
void SetNextToken(const Aws::String &value)
ListRecipesRequest & WithRecipeProvider(const RecipeProvider &value)
AWS_PERSONALIZE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListRecipesRequest & WithDomain(const Domain &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String