/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Personalize { namespace Model { class DescribeSolutionVersionResult { public: AWS_PERSONALIZE_API DescribeSolutionVersionResult(); AWS_PERSONALIZE_API DescribeSolutionVersionResult(const Aws::AmazonWebServiceResult& result); AWS_PERSONALIZE_API DescribeSolutionVersionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The solution version.

*/ inline const SolutionVersion& GetSolutionVersion() const{ return m_solutionVersion; } /** *

The solution version.

*/ inline void SetSolutionVersion(const SolutionVersion& value) { m_solutionVersion = value; } /** *

The solution version.

*/ inline void SetSolutionVersion(SolutionVersion&& value) { m_solutionVersion = std::move(value); } /** *

The solution version.

*/ inline DescribeSolutionVersionResult& WithSolutionVersion(const SolutionVersion& value) { SetSolutionVersion(value); return *this;} /** *

The solution version.

*/ inline DescribeSolutionVersionResult& WithSolutionVersion(SolutionVersion&& value) { SetSolutionVersion(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeSolutionVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeSolutionVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeSolutionVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: SolutionVersion m_solutionVersion; Aws::String m_requestId; }; } // namespace Model } // namespace Personalize } // namespace Aws