AWS SDK for C++  1.9.124
AWS SDK for C++
TransformInput.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace SageMaker
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
48  inline const TransformDataSource& GetDataSource() const{ return m_dataSource; }
49 
54  inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
55 
60  inline void SetDataSource(const TransformDataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
61 
66  inline void SetDataSource(TransformDataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
67 
72  inline TransformInput& WithDataSource(const TransformDataSource& value) { SetDataSource(value); return *this;}
73 
78  inline TransformInput& WithDataSource(TransformDataSource&& value) { SetDataSource(std::move(value)); return *this;}
79 
80 
86  inline const Aws::String& GetContentType() const{ return m_contentType; }
87 
93  inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
94 
100  inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
101 
107  inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
108 
114  inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
115 
121  inline TransformInput& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
122 
128  inline TransformInput& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
129 
135  inline TransformInput& WithContentType(const char* value) { SetContentType(value); return *this;}
136 
137 
143  inline const CompressionType& GetCompressionType() const{ return m_compressionType; }
144 
150  inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; }
151 
157  inline void SetCompressionType(const CompressionType& value) { m_compressionTypeHasBeenSet = true; m_compressionType = value; }
158 
164  inline void SetCompressionType(CompressionType&& value) { m_compressionTypeHasBeenSet = true; m_compressionType = std::move(value); }
165 
171  inline TransformInput& WithCompressionType(const CompressionType& value) { SetCompressionType(value); return *this;}
172 
178  inline TransformInput& WithCompressionType(CompressionType&& value) { SetCompressionType(std::move(value)); return *this;}
179 
180 
211  inline const SplitType& GetSplitType() const{ return m_splitType; }
212 
243  inline bool SplitTypeHasBeenSet() const { return m_splitTypeHasBeenSet; }
244 
275  inline void SetSplitType(const SplitType& value) { m_splitTypeHasBeenSet = true; m_splitType = value; }
276 
307  inline void SetSplitType(SplitType&& value) { m_splitTypeHasBeenSet = true; m_splitType = std::move(value); }
308 
339  inline TransformInput& WithSplitType(const SplitType& value) { SetSplitType(value); return *this;}
340 
371  inline TransformInput& WithSplitType(SplitType&& value) { SetSplitType(std::move(value)); return *this;}
372 
373  private:
374 
375  TransformDataSource m_dataSource;
376  bool m_dataSourceHasBeenSet;
377 
378  Aws::String m_contentType;
379  bool m_contentTypeHasBeenSet;
380 
381  CompressionType m_compressionType;
382  bool m_compressionTypeHasBeenSet;
383 
384  SplitType m_splitType;
385  bool m_splitTypeHasBeenSet;
386  };
387 
388 } // namespace Model
389 } // namespace SageMaker
390 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::TransformInput
Definition: TransformInput.h:36
SageMaker_EXPORTS.h
Aws::SageMaker::Model::TransformInput::SetSplitType
void SetSplitType(const SplitType &value)
Definition: TransformInput.h:275
Aws::SageMaker::Model::TransformInput::WithContentType
TransformInput & WithContentType(const Aws::String &value)
Definition: TransformInput.h:121
Aws::SageMaker::Model::TransformInput::WithContentType
TransformInput & WithContentType(const char *value)
Definition: TransformInput.h:135
Aws::SageMaker::Model::TransformDataSource
Definition: TransformDataSource.h:32
Aws::SageMaker::Model::TransformInput::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
CompressionType.h
Aws::SageMaker::Model::TransformInput::GetDataSource
const TransformDataSource & GetDataSource() const
Definition: TransformInput.h:48
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::TransformInput::SetContentType
void SetContentType(Aws::String &&value)
Definition: TransformInput.h:107
Aws::SageMaker::Model::TransformInput::WithDataSource
TransformInput & WithDataSource(TransformDataSource &&value)
Definition: TransformInput.h:78
Aws::SageMaker::Model::CompressionType
CompressionType
Definition: CompressionType.h:17
Aws::SageMaker::Model::TransformInput::SetDataSource
void SetDataSource(TransformDataSource &&value)
Definition: TransformInput.h:66
TransformDataSource.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::SplitType
SplitType
Definition: SplitType.h:17
Aws::SageMaker::Model::TransformInput::ContentTypeHasBeenSet
bool ContentTypeHasBeenSet() const
Definition: TransformInput.h:93
Aws::SageMaker::Model::TransformInput::SetSplitType
void SetSplitType(SplitType &&value)
Definition: TransformInput.h:307
SplitType.h
Aws::SageMaker::Model::TransformInput::TransformInput
TransformInput(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::TransformInput::DataSourceHasBeenSet
bool DataSourceHasBeenSet() const
Definition: TransformInput.h:54
Aws::SageMaker::Model::TransformInput::WithContentType
TransformInput & WithContentType(Aws::String &&value)
Definition: TransformInput.h:128
Aws::SageMaker::Model::TransformInput::GetContentType
const Aws::String & GetContentType() const
Definition: TransformInput.h:86
Aws::SageMaker::Model::TransformInput::SetContentType
void SetContentType(const char *value)
Definition: TransformInput.h:114
Aws::SageMaker::Model::TransformInput::GetCompressionType
const CompressionType & GetCompressionType() const
Definition: TransformInput.h:143
Aws::SageMaker::Model::TransformInput::WithSplitType
TransformInput & WithSplitType(SplitType &&value)
Definition: TransformInput.h:371
Aws::SageMaker::Model::TransformInput::operator=
TransformInput & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::TransformInput::CompressionTypeHasBeenSet
bool CompressionTypeHasBeenSet() const
Definition: TransformInput.h:150
Aws::SageMaker::Model::TransformInput::SetContentType
void SetContentType(const Aws::String &value)
Definition: TransformInput.h:100
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::TransformInput::SetCompressionType
void SetCompressionType(CompressionType &&value)
Definition: TransformInput.h:164
Aws::SageMaker::Model::TransformInput::WithDataSource
TransformInput & WithDataSource(const TransformDataSource &value)
Definition: TransformInput.h:72
Aws::SageMaker::Model::TransformInput::SetDataSource
void SetDataSource(const TransformDataSource &value)
Definition: TransformInput.h:60
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::TransformInput::WithCompressionType
TransformInput & WithCompressionType(CompressionType &&value)
Definition: TransformInput.h:178
Aws::SageMaker::Model::TransformInput::TransformInput
TransformInput()
Aws::SageMaker::Model::TransformInput::SetCompressionType
void SetCompressionType(const CompressionType &value)
Definition: TransformInput.h:157
Aws::SageMaker::Model::TransformInput::WithCompressionType
TransformInput & WithCompressionType(const CompressionType &value)
Definition: TransformInput.h:171
Aws::SageMaker::Model::TransformInput::SplitTypeHasBeenSet
bool SplitTypeHasBeenSet() const
Definition: TransformInput.h:243
Aws::SageMaker::Model::TransformInput::WithSplitType
TransformInput & WithSplitType(const SplitType &value)
Definition: TransformInput.h:339
Aws::SageMaker::Model::TransformInput::GetSplitType
const SplitType & GetSplitType() const
Definition: TransformInput.h:211