AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
TransformInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/CompressionType.h>
10#include <aws/sagemaker/model/SplitType.h>
11#include <aws/sagemaker/model/TransformDataSource.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker {
23namespace Model {
24
32 public:
33 AWS_SAGEMAKER_API TransformInput() = default;
34 AWS_SAGEMAKER_API TransformInput(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const TransformDataSource& GetDataSource() const { return m_dataSource; }
44 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
45 template <typename DataSourceT = TransformDataSource>
46 void SetDataSource(DataSourceT&& value) {
47 m_dataSourceHasBeenSet = true;
48 m_dataSource = std::forward<DataSourceT>(value);
49 }
50 template <typename DataSourceT = TransformDataSource>
51 TransformInput& WithDataSource(DataSourceT&& value) {
52 SetDataSource(std::forward<DataSourceT>(value));
53 return *this;
54 }
56
58
63 inline const Aws::String& GetContentType() const { return m_contentType; }
64 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
65 template <typename ContentTypeT = Aws::String>
66 void SetContentType(ContentTypeT&& value) {
67 m_contentTypeHasBeenSet = true;
68 m_contentType = std::forward<ContentTypeT>(value);
69 }
70 template <typename ContentTypeT = Aws::String>
71 TransformInput& WithContentType(ContentTypeT&& value) {
72 SetContentType(std::forward<ContentTypeT>(value));
73 return *this;
74 }
76
78
83 inline CompressionType GetCompressionType() const { return m_compressionType; }
84 inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; }
86 m_compressionTypeHasBeenSet = true;
87 m_compressionType = value;
88 }
90 SetCompressionType(value);
91 return *this;
92 }
94
96
126 inline SplitType GetSplitType() const { return m_splitType; }
127 inline bool SplitTypeHasBeenSet() const { return m_splitTypeHasBeenSet; }
128 inline void SetSplitType(SplitType value) {
129 m_splitTypeHasBeenSet = true;
130 m_splitType = value;
131 }
133 SetSplitType(value);
134 return *this;
135 }
137 private:
138 TransformDataSource m_dataSource;
139
140 Aws::String m_contentType;
141
142 CompressionType m_compressionType{CompressionType::NOT_SET};
143
144 SplitType m_splitType{SplitType::NOT_SET};
145 bool m_dataSourceHasBeenSet = false;
146 bool m_contentTypeHasBeenSet = false;
147 bool m_compressionTypeHasBeenSet = false;
148 bool m_splitTypeHasBeenSet = false;
149};
150
151} // namespace Model
152} // namespace SageMaker
153} // namespace Aws
const TransformDataSource & GetDataSource() const
TransformInput & WithDataSource(DataSourceT &&value)
TransformInput & WithContentType(ContentTypeT &&value)
void SetDataSource(DataSourceT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TransformInput & WithSplitType(SplitType value)
TransformInput & WithCompressionType(CompressionType value)
void SetContentType(ContentTypeT &&value)
CompressionType GetCompressionType() const
AWS_SAGEMAKER_API TransformInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API TransformInput(Aws::Utils::Json::JsonView jsonValue)
void SetCompressionType(CompressionType value)
AWS_SAGEMAKER_API TransformInput()=default
const Aws::String & GetContentType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue