/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies additional connection options for the Amazon S3 data
* store.See Also:
AWS
* API Reference
Sets the upper limit for the target size of the dataset in bytes that will be * processed.
*/ inline long long GetBoundedSize() const{ return m_boundedSize; } /** *Sets the upper limit for the target size of the dataset in bytes that will be * processed.
*/ inline bool BoundedSizeHasBeenSet() const { return m_boundedSizeHasBeenSet; } /** *Sets the upper limit for the target size of the dataset in bytes that will be * processed.
*/ inline void SetBoundedSize(long long value) { m_boundedSizeHasBeenSet = true; m_boundedSize = value; } /** *Sets the upper limit for the target size of the dataset in bytes that will be * processed.
*/ inline S3DirectSourceAdditionalOptions& WithBoundedSize(long long value) { SetBoundedSize(value); return *this;} /** *Sets the upper limit for the target number of files that will be * processed.
*/ inline long long GetBoundedFiles() const{ return m_boundedFiles; } /** *Sets the upper limit for the target number of files that will be * processed.
*/ inline bool BoundedFilesHasBeenSet() const { return m_boundedFilesHasBeenSet; } /** *Sets the upper limit for the target number of files that will be * processed.
*/ inline void SetBoundedFiles(long long value) { m_boundedFilesHasBeenSet = true; m_boundedFiles = value; } /** *Sets the upper limit for the target number of files that will be * processed.
*/ inline S3DirectSourceAdditionalOptions& WithBoundedFiles(long long value) { SetBoundedFiles(value); return *this;} /** *Sets option to enable a sample path.
*/ inline bool GetEnableSamplePath() const{ return m_enableSamplePath; } /** *Sets option to enable a sample path.
*/ inline bool EnableSamplePathHasBeenSet() const { return m_enableSamplePathHasBeenSet; } /** *Sets option to enable a sample path.
*/ inline void SetEnableSamplePath(bool value) { m_enableSamplePathHasBeenSet = true; m_enableSamplePath = value; } /** *Sets option to enable a sample path.
*/ inline S3DirectSourceAdditionalOptions& WithEnableSamplePath(bool value) { SetEnableSamplePath(value); return *this;} /** *If enabled, specifies the sample path.
*/ inline const Aws::String& GetSamplePath() const{ return m_samplePath; } /** *If enabled, specifies the sample path.
*/ inline bool SamplePathHasBeenSet() const { return m_samplePathHasBeenSet; } /** *If enabled, specifies the sample path.
*/ inline void SetSamplePath(const Aws::String& value) { m_samplePathHasBeenSet = true; m_samplePath = value; } /** *If enabled, specifies the sample path.
*/ inline void SetSamplePath(Aws::String&& value) { m_samplePathHasBeenSet = true; m_samplePath = std::move(value); } /** *If enabled, specifies the sample path.
*/ inline void SetSamplePath(const char* value) { m_samplePathHasBeenSet = true; m_samplePath.assign(value); } /** *If enabled, specifies the sample path.
*/ inline S3DirectSourceAdditionalOptions& WithSamplePath(const Aws::String& value) { SetSamplePath(value); return *this;} /** *If enabled, specifies the sample path.
*/ inline S3DirectSourceAdditionalOptions& WithSamplePath(Aws::String&& value) { SetSamplePath(std::move(value)); return *this;} /** *If enabled, specifies the sample path.
*/ inline S3DirectSourceAdditionalOptions& WithSamplePath(const char* value) { SetSamplePath(value); return *this;} private: long long m_boundedSize; bool m_boundedSizeHasBeenSet = false; long long m_boundedFiles; bool m_boundedFilesHasBeenSet = false; bool m_enableSamplePath; bool m_enableSamplePathHasBeenSet = false; Aws::String m_samplePath; bool m_samplePathHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws