AWS SDK for C++  1.9.102
AWS SDK for C++
DescribeSolutionResult.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 Solution& GetSolution() const{ return m_solution; }
39 
43  inline void SetSolution(const Solution& value) { m_solution = value; }
44 
48  inline void SetSolution(Solution&& value) { m_solution = std::move(value); }
49 
53  inline DescribeSolutionResult& WithSolution(const Solution& value) { SetSolution(value); return *this;}
54 
58  inline DescribeSolutionResult& WithSolution(Solution&& value) { SetSolution(std::move(value)); return *this;}
59 
60  private:
61 
62  Solution m_solution;
63  };
64 
65 } // namespace Model
66 } // namespace Personalize
67 } // namespace Aws
Aws::Personalize::Model::DescribeSolutionResult::SetSolution
void SetSolution(Solution &&value)
Definition: DescribeSolutionResult.h:48
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Personalize::Model::DescribeSolutionResult::GetSolution
const Solution & GetSolution() const
Definition: DescribeSolutionResult.h:38
Aws::Personalize::Model::DescribeSolutionResult::DescribeSolutionResult
DescribeSolutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Solution.h
Aws::Personalize::Model::DescribeSolutionResult::DescribeSolutionResult
DescribeSolutionResult()
Aws::Personalize::Model::DescribeSolutionResult::WithSolution
DescribeSolutionResult & WithSolution(const Solution &value)
Definition: DescribeSolutionResult.h:53
Aws::Personalize::Model::Solution
Definition: Solution.h:37
Aws::Personalize::Model::DescribeSolutionResult::SetSolution
void SetSolution(const Solution &value)
Definition: DescribeSolutionResult.h:43
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::DescribeSolutionResult
Definition: DescribeSolutionResult.h:28
Aws::Personalize::Model::DescribeSolutionResult::operator=
DescribeSolutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::DescribeSolutionResult::WithSolution
DescribeSolutionResult & WithSolution(Solution &&value)
Definition: DescribeSolutionResult.h:58
Personalize_EXPORTS.h