AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AdditionalS3DataSource.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/AdditionalS3DataSourceDataType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/CompressionType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SAGEMAKER_API AdditionalS3DataSource();
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const AdditionalS3DataSourceDataType& GetS3DataType() const{ return m_s3DataType; }
49 inline bool S3DataTypeHasBeenSet() const { return m_s3DataTypeHasBeenSet; }
50 inline void SetS3DataType(const AdditionalS3DataSourceDataType& value) { m_s3DataTypeHasBeenSet = true; m_s3DataType = value; }
51 inline void SetS3DataType(AdditionalS3DataSourceDataType&& value) { m_s3DataTypeHasBeenSet = true; m_s3DataType = std::move(value); }
53 inline AdditionalS3DataSource& WithS3DataType(AdditionalS3DataSourceDataType&& value) { SetS3DataType(std::move(value)); return *this;}
55
57
61 inline const Aws::String& GetS3Uri() const{ return m_s3Uri; }
62 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
63 inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; }
64 inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); }
65 inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); }
66 inline AdditionalS3DataSource& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;}
67 inline AdditionalS3DataSource& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;}
68 inline AdditionalS3DataSource& WithS3Uri(const char* value) { SetS3Uri(value); return *this;}
70
72
77 inline const CompressionType& GetCompressionType() const{ return m_compressionType; }
78 inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; }
79 inline void SetCompressionType(const CompressionType& value) { m_compressionTypeHasBeenSet = true; m_compressionType = value; }
80 inline void SetCompressionType(CompressionType&& value) { m_compressionTypeHasBeenSet = true; m_compressionType = std::move(value); }
82 inline AdditionalS3DataSource& WithCompressionType(CompressionType&& value) { SetCompressionType(std::move(value)); return *this;}
84 private:
85
87 bool m_s3DataTypeHasBeenSet = false;
88
89 Aws::String m_s3Uri;
90 bool m_s3UriHasBeenSet = false;
91
92 CompressionType m_compressionType;
93 bool m_compressionTypeHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace SageMaker
98} // namespace Aws
void SetS3DataType(const AdditionalS3DataSourceDataType &value)
void SetS3DataType(AdditionalS3DataSourceDataType &&value)
void SetCompressionType(const CompressionType &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AdditionalS3DataSource & WithCompressionType(CompressionType &&value)
AdditionalS3DataSource & WithS3Uri(const char *value)
AdditionalS3DataSource & WithS3DataType(AdditionalS3DataSourceDataType &&value)
AdditionalS3DataSource & WithS3DataType(const AdditionalS3DataSourceDataType &value)
AdditionalS3DataSource & WithS3Uri(Aws::String &&value)
AdditionalS3DataSource & WithCompressionType(const CompressionType &value)
const AdditionalS3DataSourceDataType & GetS3DataType() const
AdditionalS3DataSource & WithS3Uri(const Aws::String &value)
AWS_SAGEMAKER_API AdditionalS3DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API AdditionalS3DataSource(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue