AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TransformInput.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/TransformDataSource.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/CompressionType.h>
11#include <aws/sagemaker/model/SplitType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SAGEMAKER_API TransformInput() = default;
39 AWS_SAGEMAKER_API TransformInput(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const TransformDataSource& GetDataSource() const { return m_dataSource; }
50 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
51 template<typename DataSourceT = TransformDataSource>
52 void SetDataSource(DataSourceT&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::forward<DataSourceT>(value); }
53 template<typename DataSourceT = TransformDataSource>
54 TransformInput& WithDataSource(DataSourceT&& value) { SetDataSource(std::forward<DataSourceT>(value)); return *this;}
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) { m_contentTypeHasBeenSet = true; m_contentType = std::forward<ContentTypeT>(value); }
67 template<typename ContentTypeT = Aws::String>
68 TransformInput& WithContentType(ContentTypeT&& value) { SetContentType(std::forward<ContentTypeT>(value)); return *this;}
70
72
77 inline CompressionType GetCompressionType() const { return m_compressionType; }
78 inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; }
79 inline void SetCompressionType(CompressionType value) { m_compressionTypeHasBeenSet = true; m_compressionType = value; }
82
84
114 inline SplitType GetSplitType() const { return m_splitType; }
115 inline bool SplitTypeHasBeenSet() const { return m_splitTypeHasBeenSet; }
116 inline void SetSplitType(SplitType value) { m_splitTypeHasBeenSet = true; m_splitType = value; }
117 inline TransformInput& WithSplitType(SplitType value) { SetSplitType(value); return *this;}
119 private:
120
121 TransformDataSource m_dataSource;
122 bool m_dataSourceHasBeenSet = false;
123
124 Aws::String m_contentType;
125 bool m_contentTypeHasBeenSet = false;
126
127 CompressionType m_compressionType{CompressionType::NOT_SET};
128 bool m_compressionTypeHasBeenSet = false;
129
130 SplitType m_splitType{SplitType::NOT_SET};
131 bool m_splitTypeHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace SageMaker
136} // 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