AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3ModelDataSource.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/S3ModelDataType.h>
10#include <aws/sagemaker/model/ModelCompressionType.h>
11#include <aws/sagemaker/model/ModelAccessConfig.h>
12#include <aws/sagemaker/model/InferenceHubAccessConfig.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_SAGEMAKER_API S3ModelDataSource();
40 AWS_SAGEMAKER_API S3ModelDataSource(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetS3Uri() const{ return m_s3Uri; }
50 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
51 inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; }
52 inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); }
53 inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); }
54 inline S3ModelDataSource& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;}
55 inline S3ModelDataSource& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;}
56 inline S3ModelDataSource& WithS3Uri(const char* value) { SetS3Uri(value); return *this;}
58
60
69 inline const S3ModelDataType& GetS3DataType() const{ return m_s3DataType; }
70 inline bool S3DataTypeHasBeenSet() const { return m_s3DataTypeHasBeenSet; }
71 inline void SetS3DataType(const S3ModelDataType& value) { m_s3DataTypeHasBeenSet = true; m_s3DataType = value; }
72 inline void SetS3DataType(S3ModelDataType&& value) { m_s3DataTypeHasBeenSet = true; m_s3DataType = std::move(value); }
73 inline S3ModelDataSource& WithS3DataType(const S3ModelDataType& value) { SetS3DataType(value); return *this;}
74 inline S3ModelDataSource& WithS3DataType(S3ModelDataType&& value) { SetS3DataType(std::move(value)); return *this;}
76
78
121 inline const ModelCompressionType& GetCompressionType() const{ return m_compressionType; }
122 inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; }
123 inline void SetCompressionType(const ModelCompressionType& value) { m_compressionTypeHasBeenSet = true; m_compressionType = value; }
124 inline void SetCompressionType(ModelCompressionType&& value) { m_compressionTypeHasBeenSet = true; m_compressionType = std::move(value); }
126 inline S3ModelDataSource& WithCompressionType(ModelCompressionType&& value) { SetCompressionType(std::move(value)); return *this;}
128
130
137 inline const ModelAccessConfig& GetModelAccessConfig() const{ return m_modelAccessConfig; }
138 inline bool ModelAccessConfigHasBeenSet() const { return m_modelAccessConfigHasBeenSet; }
139 inline void SetModelAccessConfig(const ModelAccessConfig& value) { m_modelAccessConfigHasBeenSet = true; m_modelAccessConfig = value; }
140 inline void SetModelAccessConfig(ModelAccessConfig&& value) { m_modelAccessConfigHasBeenSet = true; m_modelAccessConfig = std::move(value); }
142 inline S3ModelDataSource& WithModelAccessConfig(ModelAccessConfig&& value) { SetModelAccessConfig(std::move(value)); return *this;}
144
146
149 inline const InferenceHubAccessConfig& GetHubAccessConfig() const{ return m_hubAccessConfig; }
150 inline bool HubAccessConfigHasBeenSet() const { return m_hubAccessConfigHasBeenSet; }
151 inline void SetHubAccessConfig(const InferenceHubAccessConfig& value) { m_hubAccessConfigHasBeenSet = true; m_hubAccessConfig = value; }
152 inline void SetHubAccessConfig(InferenceHubAccessConfig&& value) { m_hubAccessConfigHasBeenSet = true; m_hubAccessConfig = std::move(value); }
154 inline S3ModelDataSource& WithHubAccessConfig(InferenceHubAccessConfig&& value) { SetHubAccessConfig(std::move(value)); return *this;}
156
158
162 inline const Aws::String& GetManifestS3Uri() const{ return m_manifestS3Uri; }
163 inline bool ManifestS3UriHasBeenSet() const { return m_manifestS3UriHasBeenSet; }
164 inline void SetManifestS3Uri(const Aws::String& value) { m_manifestS3UriHasBeenSet = true; m_manifestS3Uri = value; }
165 inline void SetManifestS3Uri(Aws::String&& value) { m_manifestS3UriHasBeenSet = true; m_manifestS3Uri = std::move(value); }
166 inline void SetManifestS3Uri(const char* value) { m_manifestS3UriHasBeenSet = true; m_manifestS3Uri.assign(value); }
167 inline S3ModelDataSource& WithManifestS3Uri(const Aws::String& value) { SetManifestS3Uri(value); return *this;}
168 inline S3ModelDataSource& WithManifestS3Uri(Aws::String&& value) { SetManifestS3Uri(std::move(value)); return *this;}
169 inline S3ModelDataSource& WithManifestS3Uri(const char* value) { SetManifestS3Uri(value); return *this;}
171 private:
172
173 Aws::String m_s3Uri;
174 bool m_s3UriHasBeenSet = false;
175
176 S3ModelDataType m_s3DataType;
177 bool m_s3DataTypeHasBeenSet = false;
178
179 ModelCompressionType m_compressionType;
180 bool m_compressionTypeHasBeenSet = false;
181
182 ModelAccessConfig m_modelAccessConfig;
183 bool m_modelAccessConfigHasBeenSet = false;
184
185 InferenceHubAccessConfig m_hubAccessConfig;
186 bool m_hubAccessConfigHasBeenSet = false;
187
188 Aws::String m_manifestS3Uri;
189 bool m_manifestS3UriHasBeenSet = false;
190 };
191
192} // namespace Model
193} // namespace SageMaker
194} // namespace Aws
S3ModelDataSource & WithS3Uri(const Aws::String &value)
S3ModelDataSource & WithHubAccessConfig(const InferenceHubAccessConfig &value)
void SetS3DataType(S3ModelDataType &&value)
const Aws::String & GetManifestS3Uri() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const S3ModelDataType & GetS3DataType() const
S3ModelDataSource & WithModelAccessConfig(ModelAccessConfig &&value)
void SetManifestS3Uri(const Aws::String &value)
void SetModelAccessConfig(ModelAccessConfig &&value)
S3ModelDataSource & WithS3Uri(const char *value)
S3ModelDataSource & WithModelAccessConfig(const ModelAccessConfig &value)
AWS_SAGEMAKER_API S3ModelDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
S3ModelDataSource & WithHubAccessConfig(InferenceHubAccessConfig &&value)
void SetModelAccessConfig(const ModelAccessConfig &value)
S3ModelDataSource & WithCompressionType(ModelCompressionType &&value)
S3ModelDataSource & WithManifestS3Uri(const char *value)
S3ModelDataSource & WithManifestS3Uri(const Aws::String &value)
const ModelCompressionType & GetCompressionType() const
const InferenceHubAccessConfig & GetHubAccessConfig() const
void SetS3DataType(const S3ModelDataType &value)
void SetS3Uri(const Aws::String &value)
void SetCompressionType(ModelCompressionType &&value)
S3ModelDataSource & WithS3Uri(Aws::String &&value)
S3ModelDataSource & WithS3DataType(S3ModelDataType &&value)
void SetHubAccessConfig(InferenceHubAccessConfig &&value)
void SetCompressionType(const ModelCompressionType &value)
AWS_SAGEMAKER_API S3ModelDataSource(Aws::Utils::Json::JsonView jsonValue)
S3ModelDataSource & WithCompressionType(const ModelCompressionType &value)
const ModelAccessConfig & GetModelAccessConfig() const
S3ModelDataSource & WithManifestS3Uri(Aws::String &&value)
S3ModelDataSource & WithS3DataType(const S3ModelDataType &value)
void SetHubAccessConfig(const InferenceHubAccessConfig &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue