/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SagemakerEdgeManager { namespace Model { /** *

See Also:

AWS * API Reference

*/ class Definition { public: AWS_SAGEMAKEREDGEMANAGER_API Definition(); AWS_SAGEMAKEREDGEMANAGER_API Definition(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKEREDGEMANAGER_API Definition& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKEREDGEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique model handle.

*/ inline const Aws::String& GetModelHandle() const{ return m_modelHandle; } /** *

The unique model handle.

*/ inline bool ModelHandleHasBeenSet() const { return m_modelHandleHasBeenSet; } /** *

The unique model handle.

*/ inline void SetModelHandle(const Aws::String& value) { m_modelHandleHasBeenSet = true; m_modelHandle = value; } /** *

The unique model handle.

*/ inline void SetModelHandle(Aws::String&& value) { m_modelHandleHasBeenSet = true; m_modelHandle = std::move(value); } /** *

The unique model handle.

*/ inline void SetModelHandle(const char* value) { m_modelHandleHasBeenSet = true; m_modelHandle.assign(value); } /** *

The unique model handle.

*/ inline Definition& WithModelHandle(const Aws::String& value) { SetModelHandle(value); return *this;} /** *

The unique model handle.

*/ inline Definition& WithModelHandle(Aws::String&& value) { SetModelHandle(std::move(value)); return *this;} /** *

The unique model handle.

*/ inline Definition& WithModelHandle(const char* value) { SetModelHandle(value); return *this;} /** *

The absolute S3 location of the model.

*/ inline const Aws::String& GetS3Url() const{ return m_s3Url; } /** *

The absolute S3 location of the model.

*/ inline bool S3UrlHasBeenSet() const { return m_s3UrlHasBeenSet; } /** *

The absolute S3 location of the model.

*/ inline void SetS3Url(const Aws::String& value) { m_s3UrlHasBeenSet = true; m_s3Url = value; } /** *

The absolute S3 location of the model.

*/ inline void SetS3Url(Aws::String&& value) { m_s3UrlHasBeenSet = true; m_s3Url = std::move(value); } /** *

The absolute S3 location of the model.

*/ inline void SetS3Url(const char* value) { m_s3UrlHasBeenSet = true; m_s3Url.assign(value); } /** *

The absolute S3 location of the model.

*/ inline Definition& WithS3Url(const Aws::String& value) { SetS3Url(value); return *this;} /** *

The absolute S3 location of the model.

*/ inline Definition& WithS3Url(Aws::String&& value) { SetS3Url(std::move(value)); return *this;} /** *

The absolute S3 location of the model.

*/ inline Definition& WithS3Url(const char* value) { SetS3Url(value); return *this;} /** *

The checksum information of the model.

*/ inline const Checksum& GetChecksum() const{ return m_checksum; } /** *

The checksum information of the model.

*/ inline bool ChecksumHasBeenSet() const { return m_checksumHasBeenSet; } /** *

The checksum information of the model.

*/ inline void SetChecksum(const Checksum& value) { m_checksumHasBeenSet = true; m_checksum = value; } /** *

The checksum information of the model.

*/ inline void SetChecksum(Checksum&& value) { m_checksumHasBeenSet = true; m_checksum = std::move(value); } /** *

The checksum information of the model.

*/ inline Definition& WithChecksum(const Checksum& value) { SetChecksum(value); return *this;} /** *

The checksum information of the model.

*/ inline Definition& WithChecksum(Checksum&& value) { SetChecksum(std::move(value)); return *this;} /** *

The desired state of the model.

*/ inline const ModelState& GetState() const{ return m_state; } /** *

The desired state of the model.

*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *

The desired state of the model.

*/ inline void SetState(const ModelState& value) { m_stateHasBeenSet = true; m_state = value; } /** *

The desired state of the model.

*/ inline void SetState(ModelState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *

The desired state of the model.

*/ inline Definition& WithState(const ModelState& value) { SetState(value); return *this;} /** *

The desired state of the model.

*/ inline Definition& WithState(ModelState&& value) { SetState(std::move(value)); return *this;} private: Aws::String m_modelHandle; bool m_modelHandleHasBeenSet = false; Aws::String m_s3Url; bool m_s3UrlHasBeenSet = false; Checksum m_checksum; bool m_checksumHasBeenSet = false; ModelState m_state; bool m_stateHasBeenSet = false; }; } // namespace Model } // namespace SagemakerEdgeManager } // namespace Aws