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

The response from a call to CreateModel.

*/ inline const ModelMetadata& GetModelMetadata() const{ return m_modelMetadata; } /** *

The response from a call to CreateModel.

*/ inline void SetModelMetadata(const ModelMetadata& value) { m_modelMetadata = value; } /** *

The response from a call to CreateModel.

*/ inline void SetModelMetadata(ModelMetadata&& value) { m_modelMetadata = std::move(value); } /** *

The response from a call to CreateModel.

*/ inline CreateModelResult& WithModelMetadata(const ModelMetadata& value) { SetModelMetadata(value); return *this;} /** *

The response from a call to CreateModel.

*/ inline CreateModelResult& WithModelMetadata(ModelMetadata&& value) { SetModelMetadata(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: ModelMetadata m_modelMetadata; Aws::String m_requestId; }; } // namespace Model } // namespace LookoutforVision } // namespace Aws