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

A pre-formed Amazon SageMaker model input you can include if your detector * version includes an imported Amazon SageMaker model endpoint with pass-through * input configuration.

See Also:

AWS * API Reference

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

The byte buffer of the Amazon SageMaker model endpoint input data blob.

*/ inline const Aws::Utils::ByteBuffer& GetByteBuffer() const{ return m_byteBuffer; } /** *

The byte buffer of the Amazon SageMaker model endpoint input data blob.

*/ inline bool ByteBufferHasBeenSet() const { return m_byteBufferHasBeenSet; } /** *

The byte buffer of the Amazon SageMaker model endpoint input data blob.

*/ inline void SetByteBuffer(const Aws::Utils::ByteBuffer& value) { m_byteBufferHasBeenSet = true; m_byteBuffer = value; } /** *

The byte buffer of the Amazon SageMaker model endpoint input data blob.

*/ inline void SetByteBuffer(Aws::Utils::ByteBuffer&& value) { m_byteBufferHasBeenSet = true; m_byteBuffer = std::move(value); } /** *

The byte buffer of the Amazon SageMaker model endpoint input data blob.

*/ inline ModelEndpointDataBlob& WithByteBuffer(const Aws::Utils::ByteBuffer& value) { SetByteBuffer(value); return *this;} /** *

The byte buffer of the Amazon SageMaker model endpoint input data blob.

*/ inline ModelEndpointDataBlob& WithByteBuffer(Aws::Utils::ByteBuffer&& value) { SetByteBuffer(std::move(value)); return *this;} /** *

The content type of the Amazon SageMaker model endpoint input data blob.

*/ inline const Aws::String& GetContentType() const{ return m_contentType; } /** *

The content type of the Amazon SageMaker model endpoint input data blob.

*/ inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; } /** *

The content type of the Amazon SageMaker model endpoint input data blob.

*/ inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; } /** *

The content type of the Amazon SageMaker model endpoint input data blob.

*/ inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); } /** *

The content type of the Amazon SageMaker model endpoint input data blob.

*/ inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); } /** *

The content type of the Amazon SageMaker model endpoint input data blob.

*/ inline ModelEndpointDataBlob& WithContentType(const Aws::String& value) { SetContentType(value); return *this;} /** *

The content type of the Amazon SageMaker model endpoint input data blob.

*/ inline ModelEndpointDataBlob& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;} /** *

The content type of the Amazon SageMaker model endpoint input data blob.

*/ inline ModelEndpointDataBlob& WithContentType(const char* value) { SetContentType(value); return *this;} private: Aws::Utils::ByteBuffer m_byteBuffer; bool m_byteBufferHasBeenSet = false; Aws::String m_contentType; bool m_contentTypeHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws