/** * 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 { /** *

Contains additional resource information needed for specific * datasets.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) associated with the dataset. Currently, * DataBrew only supports ARNs from Amazon AppFlow.

*/ inline const Aws::String& GetSourceArn() const{ return m_sourceArn; } /** *

The Amazon Resource Name (ARN) associated with the dataset. Currently, * DataBrew only supports ARNs from Amazon AppFlow.

*/ inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) associated with the dataset. Currently, * DataBrew only supports ARNs from Amazon AppFlow.

*/ inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; } /** *

The Amazon Resource Name (ARN) associated with the dataset. Currently, * DataBrew only supports ARNs from Amazon AppFlow.

*/ inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); } /** *

The Amazon Resource Name (ARN) associated with the dataset. Currently, * DataBrew only supports ARNs from Amazon AppFlow.

*/ inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); } /** *

The Amazon Resource Name (ARN) associated with the dataset. Currently, * DataBrew only supports ARNs from Amazon AppFlow.

*/ inline Metadata& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) associated with the dataset. Currently, * DataBrew only supports ARNs from Amazon AppFlow.

*/ inline Metadata& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) associated with the dataset. Currently, * DataBrew only supports ARNs from Amazon AppFlow.

*/ inline Metadata& WithSourceArn(const char* value) { SetSourceArn(value); return *this;} private: Aws::String m_sourceArn; bool m_sourceArnHasBeenSet = false; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws