AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
S3DirectSourceAdditionalOptions.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
29 public:
30 AWS_GLUE_API S3DirectSourceAdditionalOptions() = default;
34
36
40 inline long long GetBoundedSize() const { return m_boundedSize; }
41 inline bool BoundedSizeHasBeenSet() const { return m_boundedSizeHasBeenSet; }
42 inline void SetBoundedSize(long long value) {
43 m_boundedSizeHasBeenSet = true;
44 m_boundedSize = value;
45 }
47 SetBoundedSize(value);
48 return *this;
49 }
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) {
60 m_boundedFilesHasBeenSet = true;
61 m_boundedFiles = value;
62 }
64 SetBoundedFiles(value);
65 return *this;
66 }
68
70
73 inline bool GetEnableSamplePath() const { return m_enableSamplePath; }
74 inline bool EnableSamplePathHasBeenSet() const { return m_enableSamplePathHasBeenSet; }
75 inline void SetEnableSamplePath(bool value) {
76 m_enableSamplePathHasBeenSet = true;
77 m_enableSamplePath = value;
78 }
81 return *this;
82 }
84
86
89 inline const Aws::String& GetSamplePath() const { return m_samplePath; }
90 inline bool SamplePathHasBeenSet() const { return m_samplePathHasBeenSet; }
91 template <typename SamplePathT = Aws::String>
92 void SetSamplePath(SamplePathT&& value) {
93 m_samplePathHasBeenSet = true;
94 m_samplePath = std::forward<SamplePathT>(value);
95 }
96 template <typename SamplePathT = Aws::String>
98 SetSamplePath(std::forward<SamplePathT>(value));
99 return *this;
100 }
102 private:
103 long long m_boundedSize{0};
104
105 long long m_boundedFiles{0};
106
107 bool m_enableSamplePath{false};
108
109 Aws::String m_samplePath;
110 bool m_boundedSizeHasBeenSet = false;
111 bool m_boundedFilesHasBeenSet = false;
112 bool m_enableSamplePathHasBeenSet = false;
113 bool m_samplePathHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace Glue
118} // 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