AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
S3DirectSourceAdditionalOptions.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GLUE_API S3DirectSourceAdditionalOptions() = default;
39
40
42
46 inline long long GetBoundedSize() const { return m_boundedSize; }
47 inline bool BoundedSizeHasBeenSet() const { return m_boundedSizeHasBeenSet; }
48 inline void SetBoundedSize(long long value) { m_boundedSizeHasBeenSet = true; m_boundedSize = value; }
49 inline S3DirectSourceAdditionalOptions& WithBoundedSize(long long value) { SetBoundedSize(value); return *this;}
51
53
57 inline long long GetBoundedFiles() const { return m_boundedFiles; }
58 inline bool BoundedFilesHasBeenSet() const { return m_boundedFilesHasBeenSet; }
59 inline void SetBoundedFiles(long long value) { m_boundedFilesHasBeenSet = true; m_boundedFiles = value; }
60 inline S3DirectSourceAdditionalOptions& WithBoundedFiles(long long value) { SetBoundedFiles(value); return *this;}
62
64
67 inline bool GetEnableSamplePath() const { return m_enableSamplePath; }
68 inline bool EnableSamplePathHasBeenSet() const { return m_enableSamplePathHasBeenSet; }
69 inline void SetEnableSamplePath(bool value) { m_enableSamplePathHasBeenSet = true; m_enableSamplePath = value; }
72
74
77 inline const Aws::String& GetSamplePath() const { return m_samplePath; }
78 inline bool SamplePathHasBeenSet() const { return m_samplePathHasBeenSet; }
79 template<typename SamplePathT = Aws::String>
80 void SetSamplePath(SamplePathT&& value) { m_samplePathHasBeenSet = true; m_samplePath = std::forward<SamplePathT>(value); }
81 template<typename SamplePathT = Aws::String>
82 S3DirectSourceAdditionalOptions& WithSamplePath(SamplePathT&& value) { SetSamplePath(std::forward<SamplePathT>(value)); return *this;}
84 private:
85
86 long long m_boundedSize{0};
87 bool m_boundedSizeHasBeenSet = false;
88
89 long long m_boundedFiles{0};
90 bool m_boundedFilesHasBeenSet = false;
91
92 bool m_enableSamplePath{false};
93 bool m_enableSamplePathHasBeenSet = false;
94
95 Aws::String m_samplePath;
96 bool m_samplePathHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace Glue
101} // namespace Aws
S3DirectSourceAdditionalOptions & WithBoundedFiles(long long value)
AWS_GLUE_API S3DirectSourceAdditionalOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API S3DirectSourceAdditionalOptions(Aws::Utils::Json::JsonView jsonValue)
S3DirectSourceAdditionalOptions & WithEnableSamplePath(bool value)
S3DirectSourceAdditionalOptions & WithSamplePath(SamplePathT &&value)
S3DirectSourceAdditionalOptions & WithBoundedSize(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue