219 lines
7.8 KiB
C++
219 lines
7.8 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/glue/Glue_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace Glue
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Specifies a data store in Amazon Simple Storage Service (Amazon
|
|
* S3).</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/S3Target">AWS API
|
|
* Reference</a></p>
|
|
*/
|
|
class AWS_GLUE_API S3Target
|
|
{
|
|
public:
|
|
S3Target();
|
|
S3Target(Aws::Utils::Json::JsonView jsonValue);
|
|
S3Target& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The path to the Amazon S3 target.</p>
|
|
*/
|
|
inline const Aws::String& GetPath() const{ return m_path; }
|
|
|
|
/**
|
|
* <p>The path to the Amazon S3 target.</p>
|
|
*/
|
|
inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The path to the Amazon S3 target.</p>
|
|
*/
|
|
inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
|
|
|
|
/**
|
|
* <p>The path to the Amazon S3 target.</p>
|
|
*/
|
|
inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
|
|
|
|
/**
|
|
* <p>The path to the Amazon S3 target.</p>
|
|
*/
|
|
inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
|
|
|
|
/**
|
|
* <p>The path to the Amazon S3 target.</p>
|
|
*/
|
|
inline S3Target& WithPath(const Aws::String& value) { SetPath(value); return *this;}
|
|
|
|
/**
|
|
* <p>The path to the Amazon S3 target.</p>
|
|
*/
|
|
inline S3Target& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The path to the Amazon S3 target.</p>
|
|
*/
|
|
inline S3Target& WithPath(const char* value) { SetPath(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>A list of glob patterns used to exclude from the crawl. For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html">Catalog
|
|
* Tables with a Crawler</a>.</p>
|
|
*/
|
|
inline const Aws::Vector<Aws::String>& GetExclusions() const{ return m_exclusions; }
|
|
|
|
/**
|
|
* <p>A list of glob patterns used to exclude from the crawl. For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html">Catalog
|
|
* Tables with a Crawler</a>.</p>
|
|
*/
|
|
inline bool ExclusionsHasBeenSet() const { return m_exclusionsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>A list of glob patterns used to exclude from the crawl. For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html">Catalog
|
|
* Tables with a Crawler</a>.</p>
|
|
*/
|
|
inline void SetExclusions(const Aws::Vector<Aws::String>& value) { m_exclusionsHasBeenSet = true; m_exclusions = value; }
|
|
|
|
/**
|
|
* <p>A list of glob patterns used to exclude from the crawl. For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html">Catalog
|
|
* Tables with a Crawler</a>.</p>
|
|
*/
|
|
inline void SetExclusions(Aws::Vector<Aws::String>&& value) { m_exclusionsHasBeenSet = true; m_exclusions = std::move(value); }
|
|
|
|
/**
|
|
* <p>A list of glob patterns used to exclude from the crawl. For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html">Catalog
|
|
* Tables with a Crawler</a>.</p>
|
|
*/
|
|
inline S3Target& WithExclusions(const Aws::Vector<Aws::String>& value) { SetExclusions(value); return *this;}
|
|
|
|
/**
|
|
* <p>A list of glob patterns used to exclude from the crawl. For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html">Catalog
|
|
* Tables with a Crawler</a>.</p>
|
|
*/
|
|
inline S3Target& WithExclusions(Aws::Vector<Aws::String>&& value) { SetExclusions(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>A list of glob patterns used to exclude from the crawl. For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html">Catalog
|
|
* Tables with a Crawler</a>.</p>
|
|
*/
|
|
inline S3Target& AddExclusions(const Aws::String& value) { m_exclusionsHasBeenSet = true; m_exclusions.push_back(value); return *this; }
|
|
|
|
/**
|
|
* <p>A list of glob patterns used to exclude from the crawl. For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html">Catalog
|
|
* Tables with a Crawler</a>.</p>
|
|
*/
|
|
inline S3Target& AddExclusions(Aws::String&& value) { m_exclusionsHasBeenSet = true; m_exclusions.push_back(std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>A list of glob patterns used to exclude from the crawl. For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html">Catalog
|
|
* Tables with a Crawler</a>.</p>
|
|
*/
|
|
inline S3Target& AddExclusions(const char* value) { m_exclusionsHasBeenSet = true; m_exclusions.push_back(value); return *this; }
|
|
|
|
|
|
/**
|
|
* <p>The name of a connection which allows a job or crawler to access data in
|
|
* Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC).</p>
|
|
*/
|
|
inline const Aws::String& GetConnectionName() const{ return m_connectionName; }
|
|
|
|
/**
|
|
* <p>The name of a connection which allows a job or crawler to access data in
|
|
* Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC).</p>
|
|
*/
|
|
inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of a connection which allows a job or crawler to access data in
|
|
* Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC).</p>
|
|
*/
|
|
inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; }
|
|
|
|
/**
|
|
* <p>The name of a connection which allows a job or crawler to access data in
|
|
* Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC).</p>
|
|
*/
|
|
inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of a connection which allows a job or crawler to access data in
|
|
* Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC).</p>
|
|
*/
|
|
inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of a connection which allows a job or crawler to access data in
|
|
* Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC).</p>
|
|
*/
|
|
inline S3Target& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of a connection which allows a job or crawler to access data in
|
|
* Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC).</p>
|
|
*/
|
|
inline S3Target& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of a connection which allows a job or crawler to access data in
|
|
* Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC).</p>
|
|
*/
|
|
inline S3Target& WithConnectionName(const char* value) { SetConnectionName(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_path;
|
|
bool m_pathHasBeenSet;
|
|
|
|
Aws::Vector<Aws::String> m_exclusions;
|
|
bool m_exclusionsHasBeenSet;
|
|
|
|
Aws::String m_connectionName;
|
|
bool m_connectionNameHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Glue
|
|
} // namespace Aws
|