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

Represents options that specify how and where DataBrew writes the Amazon S3 * output generated by recipe jobs.

See Also:

AWS * API Reference

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

Represents an Amazon S3 location (bucket name and object key) where DataBrew * can write output from a job.

*/ inline const S3Location& GetLocation() const{ return m_location; } /** *

Represents an Amazon S3 location (bucket name and object key) where DataBrew * can write output from a job.

*/ inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; } /** *

Represents an Amazon S3 location (bucket name and object key) where DataBrew * can write output from a job.

*/ inline void SetLocation(const S3Location& value) { m_locationHasBeenSet = true; m_location = value; } /** *

Represents an Amazon S3 location (bucket name and object key) where DataBrew * can write output from a job.

*/ inline void SetLocation(S3Location&& value) { m_locationHasBeenSet = true; m_location = std::move(value); } /** *

Represents an Amazon S3 location (bucket name and object key) where DataBrew * can write output from a job.

*/ inline S3TableOutputOptions& WithLocation(const S3Location& value) { SetLocation(value); return *this;} /** *

Represents an Amazon S3 location (bucket name and object key) where DataBrew * can write output from a job.

*/ inline S3TableOutputOptions& WithLocation(S3Location&& value) { SetLocation(std::move(value)); return *this;} private: S3Location m_location; bool m_locationHasBeenSet = false; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws