/** * 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 SageMaker { namespace Model { /** *

Input object for the endpoint

See Also:

AWS * API Reference

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

An endpoint in customer's account which has enabled * DataCaptureConfig enabled.

*/ inline const Aws::String& GetEndpointName() const{ return m_endpointName; } /** *

An endpoint in customer's account which has enabled * DataCaptureConfig enabled.

*/ inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; } /** *

An endpoint in customer's account which has enabled * DataCaptureConfig enabled.

*/ inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; } /** *

An endpoint in customer's account which has enabled * DataCaptureConfig enabled.

*/ inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); } /** *

An endpoint in customer's account which has enabled * DataCaptureConfig enabled.

*/ inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); } /** *

An endpoint in customer's account which has enabled * DataCaptureConfig enabled.

*/ inline EndpointInput& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;} /** *

An endpoint in customer's account which has enabled * DataCaptureConfig enabled.

*/ inline EndpointInput& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;} /** *

An endpoint in customer's account which has enabled * DataCaptureConfig enabled.

*/ inline EndpointInput& WithEndpointName(const char* value) { SetEndpointName(value); return *this;} /** *

Path to the filesystem where the endpoint data is available to the * container.

*/ inline const Aws::String& GetLocalPath() const{ return m_localPath; } /** *

Path to the filesystem where the endpoint data is available to the * container.

*/ inline bool LocalPathHasBeenSet() const { return m_localPathHasBeenSet; } /** *

Path to the filesystem where the endpoint data is available to the * container.

*/ inline void SetLocalPath(const Aws::String& value) { m_localPathHasBeenSet = true; m_localPath = value; } /** *

Path to the filesystem where the endpoint data is available to the * container.

*/ inline void SetLocalPath(Aws::String&& value) { m_localPathHasBeenSet = true; m_localPath = std::move(value); } /** *

Path to the filesystem where the endpoint data is available to the * container.

*/ inline void SetLocalPath(const char* value) { m_localPathHasBeenSet = true; m_localPath.assign(value); } /** *

Path to the filesystem where the endpoint data is available to the * container.

*/ inline EndpointInput& WithLocalPath(const Aws::String& value) { SetLocalPath(value); return *this;} /** *

Path to the filesystem where the endpoint data is available to the * container.

*/ inline EndpointInput& WithLocalPath(Aws::String&& value) { SetLocalPath(std::move(value)); return *this;} /** *

Path to the filesystem where the endpoint data is available to the * container.

*/ inline EndpointInput& WithLocalPath(const char* value) { SetLocalPath(value); return *this;} /** *

Whether the Pipe or File is used as the input mode * for transfering data for the monitoring job. Pipe mode is * recommended for large datasets. File mode is useful for small files * that fit in memory. Defaults to File.

*/ inline const ProcessingS3InputMode& GetS3InputMode() const{ return m_s3InputMode; } /** *

Whether the Pipe or File is used as the input mode * for transfering data for the monitoring job. Pipe mode is * recommended for large datasets. File mode is useful for small files * that fit in memory. Defaults to File.

*/ inline bool S3InputModeHasBeenSet() const { return m_s3InputModeHasBeenSet; } /** *

Whether the Pipe or File is used as the input mode * for transfering data for the monitoring job. Pipe mode is * recommended for large datasets. File mode is useful for small files * that fit in memory. Defaults to File.

*/ inline void SetS3InputMode(const ProcessingS3InputMode& value) { m_s3InputModeHasBeenSet = true; m_s3InputMode = value; } /** *

Whether the Pipe or File is used as the input mode * for transfering data for the monitoring job. Pipe mode is * recommended for large datasets. File mode is useful for small files * that fit in memory. Defaults to File.

*/ inline void SetS3InputMode(ProcessingS3InputMode&& value) { m_s3InputModeHasBeenSet = true; m_s3InputMode = std::move(value); } /** *

Whether the Pipe or File is used as the input mode * for transfering data for the monitoring job. Pipe mode is * recommended for large datasets. File mode is useful for small files * that fit in memory. Defaults to File.

*/ inline EndpointInput& WithS3InputMode(const ProcessingS3InputMode& value) { SetS3InputMode(value); return *this;} /** *

Whether the Pipe or File is used as the input mode * for transfering data for the monitoring job. Pipe mode is * recommended for large datasets. File mode is useful for small files * that fit in memory. Defaults to File.

*/ inline EndpointInput& WithS3InputMode(ProcessingS3InputMode&& value) { SetS3InputMode(std::move(value)); return *this;} /** *

Whether input data distributed in Amazon S3 is fully replicated or sharded by * an S3 key. Defauts to FullyReplicated

*/ inline const ProcessingS3DataDistributionType& GetS3DataDistributionType() const{ return m_s3DataDistributionType; } /** *

Whether input data distributed in Amazon S3 is fully replicated or sharded by * an S3 key. Defauts to FullyReplicated

*/ inline bool S3DataDistributionTypeHasBeenSet() const { return m_s3DataDistributionTypeHasBeenSet; } /** *

Whether input data distributed in Amazon S3 is fully replicated or sharded by * an S3 key. Defauts to FullyReplicated

*/ inline void SetS3DataDistributionType(const ProcessingS3DataDistributionType& value) { m_s3DataDistributionTypeHasBeenSet = true; m_s3DataDistributionType = value; } /** *

Whether input data distributed in Amazon S3 is fully replicated or sharded by * an S3 key. Defauts to FullyReplicated

*/ inline void SetS3DataDistributionType(ProcessingS3DataDistributionType&& value) { m_s3DataDistributionTypeHasBeenSet = true; m_s3DataDistributionType = std::move(value); } /** *

Whether input data distributed in Amazon S3 is fully replicated or sharded by * an S3 key. Defauts to FullyReplicated

*/ inline EndpointInput& WithS3DataDistributionType(const ProcessingS3DataDistributionType& value) { SetS3DataDistributionType(value); return *this;} /** *

Whether input data distributed in Amazon S3 is fully replicated or sharded by * an S3 key. Defauts to FullyReplicated

*/ inline EndpointInput& WithS3DataDistributionType(ProcessingS3DataDistributionType&& value) { SetS3DataDistributionType(std::move(value)); return *this;} private: Aws::String m_endpointName; bool m_endpointNameHasBeenSet; Aws::String m_localPath; bool m_localPathHasBeenSet; ProcessingS3InputMode m_s3InputMode; bool m_s3InputModeHasBeenSet; ProcessingS3DataDistributionType m_s3DataDistributionType; bool m_s3DataDistributionTypeHasBeenSet; }; } // namespace Model } // namespace SageMaker } // namespace Aws