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

The configuration for the payload for a recommendation job.

See * Also:

AWS * API Reference

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

The Amazon Simple Storage Service (Amazon S3) path where the sample payload * is stored. This path must point to a single gzip compressed tar archive (.tar.gz * suffix).

*/ inline const Aws::String& GetSamplePayloadUrl() const{ return m_samplePayloadUrl; } /** *

The Amazon Simple Storage Service (Amazon S3) path where the sample payload * is stored. This path must point to a single gzip compressed tar archive (.tar.gz * suffix).

*/ inline bool SamplePayloadUrlHasBeenSet() const { return m_samplePayloadUrlHasBeenSet; } /** *

The Amazon Simple Storage Service (Amazon S3) path where the sample payload * is stored. This path must point to a single gzip compressed tar archive (.tar.gz * suffix).

*/ inline void SetSamplePayloadUrl(const Aws::String& value) { m_samplePayloadUrlHasBeenSet = true; m_samplePayloadUrl = value; } /** *

The Amazon Simple Storage Service (Amazon S3) path where the sample payload * is stored. This path must point to a single gzip compressed tar archive (.tar.gz * suffix).

*/ inline void SetSamplePayloadUrl(Aws::String&& value) { m_samplePayloadUrlHasBeenSet = true; m_samplePayloadUrl = std::move(value); } /** *

The Amazon Simple Storage Service (Amazon S3) path where the sample payload * is stored. This path must point to a single gzip compressed tar archive (.tar.gz * suffix).

*/ inline void SetSamplePayloadUrl(const char* value) { m_samplePayloadUrlHasBeenSet = true; m_samplePayloadUrl.assign(value); } /** *

The Amazon Simple Storage Service (Amazon S3) path where the sample payload * is stored. This path must point to a single gzip compressed tar archive (.tar.gz * suffix).

*/ inline RecommendationJobPayloadConfig& WithSamplePayloadUrl(const Aws::String& value) { SetSamplePayloadUrl(value); return *this;} /** *

The Amazon Simple Storage Service (Amazon S3) path where the sample payload * is stored. This path must point to a single gzip compressed tar archive (.tar.gz * suffix).

*/ inline RecommendationJobPayloadConfig& WithSamplePayloadUrl(Aws::String&& value) { SetSamplePayloadUrl(std::move(value)); return *this;} /** *

The Amazon Simple Storage Service (Amazon S3) path where the sample payload * is stored. This path must point to a single gzip compressed tar archive (.tar.gz * suffix).

*/ inline RecommendationJobPayloadConfig& WithSamplePayloadUrl(const char* value) { SetSamplePayloadUrl(value); return *this;} /** *

The supported MIME types for the input data.

*/ inline const Aws::Vector& GetSupportedContentTypes() const{ return m_supportedContentTypes; } /** *

The supported MIME types for the input data.

*/ inline bool SupportedContentTypesHasBeenSet() const { return m_supportedContentTypesHasBeenSet; } /** *

The supported MIME types for the input data.

*/ inline void SetSupportedContentTypes(const Aws::Vector& value) { m_supportedContentTypesHasBeenSet = true; m_supportedContentTypes = value; } /** *

The supported MIME types for the input data.

*/ inline void SetSupportedContentTypes(Aws::Vector&& value) { m_supportedContentTypesHasBeenSet = true; m_supportedContentTypes = std::move(value); } /** *

The supported MIME types for the input data.

*/ inline RecommendationJobPayloadConfig& WithSupportedContentTypes(const Aws::Vector& value) { SetSupportedContentTypes(value); return *this;} /** *

The supported MIME types for the input data.

*/ inline RecommendationJobPayloadConfig& WithSupportedContentTypes(Aws::Vector&& value) { SetSupportedContentTypes(std::move(value)); return *this;} /** *

The supported MIME types for the input data.

*/ inline RecommendationJobPayloadConfig& AddSupportedContentTypes(const Aws::String& value) { m_supportedContentTypesHasBeenSet = true; m_supportedContentTypes.push_back(value); return *this; } /** *

The supported MIME types for the input data.

*/ inline RecommendationJobPayloadConfig& AddSupportedContentTypes(Aws::String&& value) { m_supportedContentTypesHasBeenSet = true; m_supportedContentTypes.push_back(std::move(value)); return *this; } /** *

The supported MIME types for the input data.

*/ inline RecommendationJobPayloadConfig& AddSupportedContentTypes(const char* value) { m_supportedContentTypesHasBeenSet = true; m_supportedContentTypes.push_back(value); return *this; } private: Aws::String m_samplePayloadUrl; bool m_samplePayloadUrlHasBeenSet = false; Aws::Vector m_supportedContentTypes; bool m_supportedContentTypesHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws