AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeRecipeResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Personalize
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Recipe& GetRecipe() const{ return m_recipe; }
39 
43  inline void SetRecipe(const Recipe& value) { m_recipe = value; }
44 
48  inline void SetRecipe(Recipe&& value) { m_recipe = std::move(value); }
49 
53  inline DescribeRecipeResult& WithRecipe(const Recipe& value) { SetRecipe(value); return *this;}
54 
58  inline DescribeRecipeResult& WithRecipe(Recipe&& value) { SetRecipe(std::move(value)); return *this;}
59 
60  private:
61 
62  Recipe m_recipe;
63  };
64 
65 } // namespace Model
66 } // namespace Personalize
67 } // namespace Aws
Recipe.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Personalize::Model::DescribeRecipeResult::DescribeRecipeResult
DescribeRecipeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Personalize::Model::DescribeRecipeResult::GetRecipe
const Recipe & GetRecipe() const
Definition: DescribeRecipeResult.h:38
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::DescribeRecipeResult
Definition: DescribeRecipeResult.h:28
Aws::Personalize::Model::DescribeRecipeResult::SetRecipe
void SetRecipe(Recipe &&value)
Definition: DescribeRecipeResult.h:48
Aws::Personalize::Model::DescribeRecipeResult::DescribeRecipeResult
DescribeRecipeResult()
Aws::Personalize::Model::DescribeRecipeResult::SetRecipe
void SetRecipe(const Recipe &value)
Definition: DescribeRecipeResult.h:43
Aws::Personalize::Model::DescribeRecipeResult::operator=
DescribeRecipeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::Recipe
Definition: Recipe.h:35
Personalize_EXPORTS.h
Aws::Personalize::Model::DescribeRecipeResult::WithRecipe
DescribeRecipeResult & WithRecipe(Recipe &&value)
Definition: DescribeRecipeResult.h:58
Aws::Personalize::Model::DescribeRecipeResult::WithRecipe
DescribeRecipeResult & WithRecipe(const Recipe &value)
Definition: DescribeRecipeResult.h:53