/** * 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 Comprehend { namespace Model { class CreateFlywheelResult { public: AWS_COMPREHEND_API CreateFlywheelResult(); AWS_COMPREHEND_API CreateFlywheelResult(const Aws::AmazonWebServiceResult& result); AWS_COMPREHEND_API CreateFlywheelResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Number (ARN) of the flywheel.

*/ inline const Aws::String& GetFlywheelArn() const{ return m_flywheelArn; } /** *

The Amazon Resource Number (ARN) of the flywheel.

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

The Amazon Resource Number (ARN) of the flywheel.

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

The Amazon Resource Number (ARN) of the flywheel.

*/ inline void SetFlywheelArn(const char* value) { m_flywheelArn.assign(value); } /** *

The Amazon Resource Number (ARN) of the flywheel.

*/ inline CreateFlywheelResult& WithFlywheelArn(const Aws::String& value) { SetFlywheelArn(value); return *this;} /** *

The Amazon Resource Number (ARN) of the flywheel.

*/ inline CreateFlywheelResult& WithFlywheelArn(Aws::String&& value) { SetFlywheelArn(std::move(value)); return *this;} /** *

The Amazon Resource Number (ARN) of the flywheel.

*/ inline CreateFlywheelResult& WithFlywheelArn(const char* value) { SetFlywheelArn(value); return *this;} /** *

The Amazon Resource Number (ARN) of the active model version.

*/ inline const Aws::String& GetActiveModelArn() const{ return m_activeModelArn; } /** *

The Amazon Resource Number (ARN) of the active model version.

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

The Amazon Resource Number (ARN) of the active model version.

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

The Amazon Resource Number (ARN) of the active model version.

*/ inline void SetActiveModelArn(const char* value) { m_activeModelArn.assign(value); } /** *

The Amazon Resource Number (ARN) of the active model version.

*/ inline CreateFlywheelResult& WithActiveModelArn(const Aws::String& value) { SetActiveModelArn(value); return *this;} /** *

The Amazon Resource Number (ARN) of the active model version.

*/ inline CreateFlywheelResult& WithActiveModelArn(Aws::String&& value) { SetActiveModelArn(std::move(value)); return *this;} /** *

The Amazon Resource Number (ARN) of the active model version.

*/ inline CreateFlywheelResult& WithActiveModelArn(const char* value) { SetActiveModelArn(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 CreateFlywheelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateFlywheelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateFlywheelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_flywheelArn; Aws::String m_activeModelArn; Aws::String m_requestId; }; } // namespace Model } // namespace Comprehend } // namespace Aws