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

The ARN of the solution.

*/ inline const Aws::String& GetSolutionArn() const{ return m_solutionArn; } /** *

The ARN of the solution.

*/ inline void SetSolutionArn(const Aws::String& value) { m_solutionArn = value; } /** *

The ARN of the solution.

*/ inline void SetSolutionArn(Aws::String&& value) { m_solutionArn = std::move(value); } /** *

The ARN of the solution.

*/ inline void SetSolutionArn(const char* value) { m_solutionArn.assign(value); } /** *

The ARN of the solution.

*/ inline CreateSolutionResult& WithSolutionArn(const Aws::String& value) { SetSolutionArn(value); return *this;} /** *

The ARN of the solution.

*/ inline CreateSolutionResult& WithSolutionArn(Aws::String&& value) { SetSolutionArn(std::move(value)); return *this;} /** *

The ARN of the solution.

*/ inline CreateSolutionResult& WithSolutionArn(const char* value) { SetSolutionArn(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 CreateSolutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateSolutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateSolutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_solutionArn; Aws::String m_requestId; }; } // namespace Model } // namespace Personalize } // namespace Aws