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

The Amazon Resource Name (ARN) of the model being created.

*/ inline const Aws::String& GetModelArn() const{ return m_modelArn; } /** *

The Amazon Resource Name (ARN) of the model being created.

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

The Amazon Resource Name (ARN) of the model being created.

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

The Amazon Resource Name (ARN) of the model being created.

*/ inline void SetModelArn(const char* value) { m_modelArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the model being created.

*/ inline CreateModelResult& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the model being created.

*/ inline CreateModelResult& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the model being created.

*/ inline CreateModelResult& WithModelArn(const char* value) { SetModelArn(value); return *this;} /** *

Indicates the status of the CreateModel operation.

*/ inline const ModelStatus& GetStatus() const{ return m_status; } /** *

Indicates the status of the CreateModel operation.

*/ inline void SetStatus(const ModelStatus& value) { m_status = value; } /** *

Indicates the status of the CreateModel operation.

*/ inline void SetStatus(ModelStatus&& value) { m_status = std::move(value); } /** *

Indicates the status of the CreateModel operation.

*/ inline CreateModelResult& WithStatus(const ModelStatus& value) { SetStatus(value); return *this;} /** *

Indicates the status of the CreateModel operation.

*/ inline CreateModelResult& WithStatus(ModelStatus&& value) { SetStatus(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 CreateModelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateModelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateModelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_modelArn; ModelStatus m_status; Aws::String m_requestId; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws