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

Specifies configuration properties for an importing labels task * run.

See Also:

AWS * API Reference

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

The Amazon Simple Storage Service (Amazon S3) path from where you will import * the labels.

*/ inline const Aws::String& GetInputS3Path() const{ return m_inputS3Path; } /** *

The Amazon Simple Storage Service (Amazon S3) path from where you will import * the labels.

*/ inline bool InputS3PathHasBeenSet() const { return m_inputS3PathHasBeenSet; } /** *

The Amazon Simple Storage Service (Amazon S3) path from where you will import * the labels.

*/ inline void SetInputS3Path(const Aws::String& value) { m_inputS3PathHasBeenSet = true; m_inputS3Path = value; } /** *

The Amazon Simple Storage Service (Amazon S3) path from where you will import * the labels.

*/ inline void SetInputS3Path(Aws::String&& value) { m_inputS3PathHasBeenSet = true; m_inputS3Path = std::move(value); } /** *

The Amazon Simple Storage Service (Amazon S3) path from where you will import * the labels.

*/ inline void SetInputS3Path(const char* value) { m_inputS3PathHasBeenSet = true; m_inputS3Path.assign(value); } /** *

The Amazon Simple Storage Service (Amazon S3) path from where you will import * the labels.

*/ inline ImportLabelsTaskRunProperties& WithInputS3Path(const Aws::String& value) { SetInputS3Path(value); return *this;} /** *

The Amazon Simple Storage Service (Amazon S3) path from where you will import * the labels.

*/ inline ImportLabelsTaskRunProperties& WithInputS3Path(Aws::String&& value) { SetInputS3Path(std::move(value)); return *this;} /** *

The Amazon Simple Storage Service (Amazon S3) path from where you will import * the labels.

*/ inline ImportLabelsTaskRunProperties& WithInputS3Path(const char* value) { SetInputS3Path(value); return *this;} /** *

Indicates whether to overwrite your existing labels.

*/ inline bool GetReplace() const{ return m_replace; } /** *

Indicates whether to overwrite your existing labels.

*/ inline bool ReplaceHasBeenSet() const { return m_replaceHasBeenSet; } /** *

Indicates whether to overwrite your existing labels.

*/ inline void SetReplace(bool value) { m_replaceHasBeenSet = true; m_replace = value; } /** *

Indicates whether to overwrite your existing labels.

*/ inline ImportLabelsTaskRunProperties& WithReplace(bool value) { SetReplace(value); return *this;} private: Aws::String m_inputS3Path; bool m_inputS3PathHasBeenSet = false; bool m_replace; bool m_replaceHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws