AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
ProcessingS3Input.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/ProcessingS3CompressionType.h>
10#include <aws/sagemaker/model/ProcessingS3DataDistributionType.h>
11#include <aws/sagemaker/model/ProcessingS3DataType.h>
12#include <aws/sagemaker/model/ProcessingS3InputMode.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker {
24namespace Model {
25
33 public:
34 AWS_SAGEMAKER_API ProcessingS3Input() = default;
35 AWS_SAGEMAKER_API ProcessingS3Input(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
45 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
46 template <typename S3UriT = Aws::String>
47 void SetS3Uri(S3UriT&& value) {
48 m_s3UriHasBeenSet = true;
49 m_s3Uri = std::forward<S3UriT>(value);
50 }
51 template <typename S3UriT = Aws::String>
52 ProcessingS3Input& WithS3Uri(S3UriT&& value) {
53 SetS3Uri(std::forward<S3UriT>(value));
54 return *this;
55 }
57
59
66 inline const Aws::String& GetLocalPath() const { return m_localPath; }
67 inline bool LocalPathHasBeenSet() const { return m_localPathHasBeenSet; }
68 template <typename LocalPathT = Aws::String>
69 void SetLocalPath(LocalPathT&& value) {
70 m_localPathHasBeenSet = true;
71 m_localPath = std::forward<LocalPathT>(value);
72 }
73 template <typename LocalPathT = Aws::String>
74 ProcessingS3Input& WithLocalPath(LocalPathT&& value) {
75 SetLocalPath(std::forward<LocalPathT>(value));
76 return *this;
77 }
79
81
90 inline ProcessingS3DataType GetS3DataType() const { return m_s3DataType; }
91 inline bool S3DataTypeHasBeenSet() const { return m_s3DataTypeHasBeenSet; }
93 m_s3DataTypeHasBeenSet = true;
94 m_s3DataType = value;
95 }
97 SetS3DataType(value);
98 return *this;
99 }
101
103
111 inline ProcessingS3InputMode GetS3InputMode() const { return m_s3InputMode; }
112 inline bool S3InputModeHasBeenSet() const { return m_s3InputModeHasBeenSet; }
114 m_s3InputModeHasBeenSet = true;
115 m_s3InputMode = value;
116 }
118 SetS3InputMode(value);
119 return *this;
120 }
122
124
129 inline ProcessingS3DataDistributionType GetS3DataDistributionType() const { return m_s3DataDistributionType; }
130 inline bool S3DataDistributionTypeHasBeenSet() const { return m_s3DataDistributionTypeHasBeenSet; }
132 m_s3DataDistributionTypeHasBeenSet = true;
133 m_s3DataDistributionType = value;
134 }
137 return *this;
138 }
140
142
149 inline ProcessingS3CompressionType GetS3CompressionType() const { return m_s3CompressionType; }
150 inline bool S3CompressionTypeHasBeenSet() const { return m_s3CompressionTypeHasBeenSet; }
152 m_s3CompressionTypeHasBeenSet = true;
153 m_s3CompressionType = value;
154 }
157 return *this;
158 }
160 private:
161 Aws::String m_s3Uri;
162
163 Aws::String m_localPath;
164
166
168
170
172 bool m_s3UriHasBeenSet = false;
173 bool m_localPathHasBeenSet = false;
174 bool m_s3DataTypeHasBeenSet = false;
175 bool m_s3InputModeHasBeenSet = false;
176 bool m_s3DataDistributionTypeHasBeenSet = false;
177 bool m_s3CompressionTypeHasBeenSet = false;
178};
179
180} // namespace Model
181} // namespace SageMaker
182} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ProcessingS3Input()=default
void SetS3DataType(ProcessingS3DataType value)
ProcessingS3InputMode GetS3InputMode() const
void SetS3CompressionType(ProcessingS3CompressionType value)
ProcessingS3DataType GetS3DataType() const
void SetS3DataDistributionType(ProcessingS3DataDistributionType value)
ProcessingS3Input & WithS3Uri(S3UriT &&value)
ProcessingS3Input & WithS3CompressionType(ProcessingS3CompressionType value)
ProcessingS3Input & WithS3DataDistributionType(ProcessingS3DataDistributionType value)
AWS_SAGEMAKER_API ProcessingS3Input(Aws::Utils::Json::JsonView jsonValue)
void SetS3InputMode(ProcessingS3InputMode value)
ProcessingS3Input & WithLocalPath(LocalPathT &&value)
const Aws::String & GetLocalPath() const
ProcessingS3Input & WithS3InputMode(ProcessingS3InputMode value)
ProcessingS3DataDistributionType GetS3DataDistributionType() const
ProcessingS3Input & WithS3DataType(ProcessingS3DataType value)
AWS_SAGEMAKER_API ProcessingS3Input & operator=(Aws::Utils::Json::JsonView jsonValue)
ProcessingS3CompressionType GetS3CompressionType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue