1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/personalize/Personalize_EXPORTS.h> 8 #include <aws/personalize/model/Solution.h> 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 { 27 class AWS_PERSONALIZE_API DescribeSolutionResult 28 { 29 public: 30 DescribeSolutionResult(); 31 DescribeSolutionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 DescribeSolutionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 /** 36 * <p>An object that describes the solution.</p> 37 */ GetSolution()38 inline const Solution& GetSolution() const{ return m_solution; } 39 40 /** 41 * <p>An object that describes the solution.</p> 42 */ SetSolution(const Solution & value)43 inline void SetSolution(const Solution& value) { m_solution = value; } 44 45 /** 46 * <p>An object that describes the solution.</p> 47 */ SetSolution(Solution && value)48 inline void SetSolution(Solution&& value) { m_solution = std::move(value); } 49 50 /** 51 * <p>An object that describes the solution.</p> 52 */ WithSolution(const Solution & value)53 inline DescribeSolutionResult& WithSolution(const Solution& value) { SetSolution(value); return *this;} 54 55 /** 56 * <p>An object that describes the solution.</p> 57 */ WithSolution(Solution && value)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 68