AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDataSource(const TransformDataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
52 inline void SetDataSource(TransformDataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
53 inline TransformInput& WithDataSource(const TransformDataSource& value) { SetDataSource(value); return *this;}
54 inline TransformInput& WithDataSource(TransformDataSource&& value) { SetDataSource(std::move(value)); return *this;}
56
58
63 inline const Aws::String& GetContentType() const{ return m_contentType; }
64 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
65 inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
66 inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
67 inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
68 inline TransformInput& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
69 inline TransformInput& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
70 inline TransformInput& WithContentType(const char* value) { SetContentType(value); return *this;}
72
74
79 inline const CompressionType& GetCompressionType() const{ return m_compressionType; }
80 inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; }
81 inline void SetCompressionType(const CompressionType& value) { m_compressionTypeHasBeenSet = true; m_compressionType = value; }
82 inline void SetCompressionType(CompressionType&& value) { m_compressionTypeHasBeenSet = true; m_compressionType = std::move(value); }
83 inline TransformInput& WithCompressionType(const CompressionType& value) { SetCompressionType(value); return *this;}
84 inline TransformInput& WithCompressionType(CompressionType&& value) { SetCompressionType(std::move(value)); return *this;}
86
88
118 inline const SplitType& GetSplitType() const{ return m_splitType; }
119 inline bool SplitTypeHasBeenSet() const { return m_splitTypeHasBeenSet; }
120 inline void SetSplitType(const SplitType& value) { m_splitTypeHasBeenSet = true; m_splitType = value; }
121 inline void SetSplitType(SplitType&& value) { m_splitTypeHasBeenSet = true; m_splitType = std::move(value); }
122 inline TransformInput& WithSplitType(const SplitType& value) { SetSplitType(value); return *this;}
123 inline TransformInput& WithSplitType(SplitType&& value) { SetSplitType(std::move(value)); return *this;}
125 private:
126
127 TransformDataSource m_dataSource;
128 bool m_dataSourceHasBeenSet = false;
129
130 Aws::String m_contentType;
131 bool m_contentTypeHasBeenSet = false;
132
133 CompressionType m_compressionType;
134 bool m_compressionTypeHasBeenSet = false;
135
136 SplitType m_splitType;
137 bool m_splitTypeHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace SageMaker
142} // namespace Aws
TransformInput & WithDataSource(const TransformDataSource &value)
TransformInput & WithDataSource(TransformDataSource &&value)
const TransformDataSource & GetDataSource() const
TransformInput & WithSplitType(SplitType &&value)
const SplitType & GetSplitType() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TransformInput & WithContentType(const char *value)
TransformInput & WithSplitType(const SplitType &value)
TransformInput & WithCompressionType(const CompressionType &value)
void SetCompressionType(const CompressionType &value)
void SetContentType(Aws::String &&value)
void SetContentType(const char *value)
TransformInput & WithContentType(const Aws::String &value)
void SetDataSource(const TransformDataSource &value)
void SetCompressionType(CompressionType &&value)
void SetSplitType(const SplitType &value)
TransformInput & WithCompressionType(CompressionType &&value)
AWS_SAGEMAKER_API TransformInput & operator=(Aws::Utils::Json::JsonView jsonValue)
const CompressionType & GetCompressionType() const
void SetContentType(const Aws::String &value)
AWS_SAGEMAKER_API TransformInput(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetContentType() const
TransformInput & WithContentType(Aws::String &&value)
void SetDataSource(TransformDataSource &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue