AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AdditionalS3DataSource.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/AdditionalS3DataSourceDataType.h>
10#include <aws/sagemaker/model/CompressionType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
31 public:
32 AWS_SAGEMAKER_API AdditionalS3DataSource() = default;
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline AdditionalS3DataSourceDataType GetS3DataType() const { return m_s3DataType; }
43 inline bool S3DataTypeHasBeenSet() const { return m_s3DataTypeHasBeenSet; }
45 m_s3DataTypeHasBeenSet = true;
46 m_s3DataType = value;
47 }
49 SetS3DataType(value);
50 return *this;
51 }
53
55
59 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
60 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
61 template <typename S3UriT = Aws::String>
62 void SetS3Uri(S3UriT&& value) {
63 m_s3UriHasBeenSet = true;
64 m_s3Uri = std::forward<S3UriT>(value);
65 }
66 template <typename S3UriT = Aws::String>
68 SetS3Uri(std::forward<S3UriT>(value));
69 return *this;
70 }
72
74
79 inline CompressionType GetCompressionType() const { return m_compressionType; }
80 inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; }
82 m_compressionTypeHasBeenSet = true;
83 m_compressionType = value;
84 }
86 SetCompressionType(value);
87 return *this;
88 }
90
92
95 inline const Aws::String& GetETag() const { return m_eTag; }
96 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
97 template <typename ETagT = Aws::String>
98 void SetETag(ETagT&& value) {
99 m_eTagHasBeenSet = true;
100 m_eTag = std::forward<ETagT>(value);
101 }
102 template <typename ETagT = Aws::String>
104 SetETag(std::forward<ETagT>(value));
105 return *this;
106 }
108 private:
110
111 Aws::String m_s3Uri;
112
113 CompressionType m_compressionType{CompressionType::NOT_SET};
114
115 Aws::String m_eTag;
116 bool m_s3DataTypeHasBeenSet = false;
117 bool m_s3UriHasBeenSet = false;
118 bool m_compressionTypeHasBeenSet = false;
119 bool m_eTagHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace SageMaker
124} // namespace Aws
AdditionalS3DataSource & WithCompressionType(CompressionType value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetS3DataType(AdditionalS3DataSourceDataType value)
AWS_SAGEMAKER_API AdditionalS3DataSource()=default
AdditionalS3DataSource & WithETag(ETagT &&value)
AdditionalS3DataSource & WithS3Uri(S3UriT &&value)
AWS_SAGEMAKER_API AdditionalS3DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API AdditionalS3DataSource(Aws::Utils::Json::JsonView jsonValue)
AdditionalS3DataSource & WithS3DataType(AdditionalS3DataSourceDataType value)
AdditionalS3DataSourceDataType GetS3DataType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue