AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OutputConfig.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/TargetDevice.h>
10#include <aws/sagemaker/model/TargetPlatform.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
41 {
42 public:
43 AWS_SAGEMAKER_API OutputConfig();
44 AWS_SAGEMAKER_API OutputConfig(Aws::Utils::Json::JsonView jsonValue);
45 AWS_SAGEMAKER_API OutputConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
54 inline const Aws::String& GetS3OutputLocation() const{ return m_s3OutputLocation; }
55 inline bool S3OutputLocationHasBeenSet() const { return m_s3OutputLocationHasBeenSet; }
56 inline void SetS3OutputLocation(const Aws::String& value) { m_s3OutputLocationHasBeenSet = true; m_s3OutputLocation = value; }
57 inline void SetS3OutputLocation(Aws::String&& value) { m_s3OutputLocationHasBeenSet = true; m_s3OutputLocation = std::move(value); }
58 inline void SetS3OutputLocation(const char* value) { m_s3OutputLocationHasBeenSet = true; m_s3OutputLocation.assign(value); }
59 inline OutputConfig& WithS3OutputLocation(const Aws::String& value) { SetS3OutputLocation(value); return *this;}
60 inline OutputConfig& WithS3OutputLocation(Aws::String&& value) { SetS3OutputLocation(std::move(value)); return *this;}
61 inline OutputConfig& WithS3OutputLocation(const char* value) { SetS3OutputLocation(value); return *this;}
63
65
75 inline const TargetDevice& GetTargetDevice() const{ return m_targetDevice; }
76 inline bool TargetDeviceHasBeenSet() const { return m_targetDeviceHasBeenSet; }
77 inline void SetTargetDevice(const TargetDevice& value) { m_targetDeviceHasBeenSet = true; m_targetDevice = value; }
78 inline void SetTargetDevice(TargetDevice&& value) { m_targetDeviceHasBeenSet = true; m_targetDevice = std::move(value); }
79 inline OutputConfig& WithTargetDevice(const TargetDevice& value) { SetTargetDevice(value); return *this;}
80 inline OutputConfig& WithTargetDevice(TargetDevice&& value) { SetTargetDevice(std::move(value)); return *this;}
82
84
106 inline const TargetPlatform& GetTargetPlatform() const{ return m_targetPlatform; }
107 inline bool TargetPlatformHasBeenSet() const { return m_targetPlatformHasBeenSet; }
108 inline void SetTargetPlatform(const TargetPlatform& value) { m_targetPlatformHasBeenSet = true; m_targetPlatform = value; }
109 inline void SetTargetPlatform(TargetPlatform&& value) { m_targetPlatformHasBeenSet = true; m_targetPlatform = std::move(value); }
110 inline OutputConfig& WithTargetPlatform(const TargetPlatform& value) { SetTargetPlatform(value); return *this;}
111 inline OutputConfig& WithTargetPlatform(TargetPlatform&& value) { SetTargetPlatform(std::move(value)); return *this;}
113
115
162 inline const Aws::String& GetCompilerOptions() const{ return m_compilerOptions; }
163 inline bool CompilerOptionsHasBeenSet() const { return m_compilerOptionsHasBeenSet; }
164 inline void SetCompilerOptions(const Aws::String& value) { m_compilerOptionsHasBeenSet = true; m_compilerOptions = value; }
165 inline void SetCompilerOptions(Aws::String&& value) { m_compilerOptionsHasBeenSet = true; m_compilerOptions = std::move(value); }
166 inline void SetCompilerOptions(const char* value) { m_compilerOptionsHasBeenSet = true; m_compilerOptions.assign(value); }
167 inline OutputConfig& WithCompilerOptions(const Aws::String& value) { SetCompilerOptions(value); return *this;}
168 inline OutputConfig& WithCompilerOptions(Aws::String&& value) { SetCompilerOptions(std::move(value)); return *this;}
169 inline OutputConfig& WithCompilerOptions(const char* value) { SetCompilerOptions(value); return *this;}
171
173
190 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
191 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
192 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
193 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
194 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
195 inline OutputConfig& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
196 inline OutputConfig& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
197 inline OutputConfig& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
199 private:
200
201 Aws::String m_s3OutputLocation;
202 bool m_s3OutputLocationHasBeenSet = false;
203
204 TargetDevice m_targetDevice;
205 bool m_targetDeviceHasBeenSet = false;
206
207 TargetPlatform m_targetPlatform;
208 bool m_targetPlatformHasBeenSet = false;
209
210 Aws::String m_compilerOptions;
211 bool m_compilerOptionsHasBeenSet = false;
212
213 Aws::String m_kmsKeyId;
214 bool m_kmsKeyIdHasBeenSet = false;
215 };
216
217} // namespace Model
218} // namespace SageMaker
219} // namespace Aws
void SetS3OutputLocation(const char *value)
OutputConfig & WithTargetDevice(const TargetDevice &value)
OutputConfig & WithTargetDevice(TargetDevice &&value)
OutputConfig & WithS3OutputLocation(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
OutputConfig & WithCompilerOptions(const Aws::String &value)
void SetKmsKeyId(const char *value)
const Aws::String & GetS3OutputLocation() const
OutputConfig & WithS3OutputLocation(const char *value)
void SetCompilerOptions(const char *value)
void SetTargetPlatform(const TargetPlatform &value)
AWS_SAGEMAKER_API OutputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetS3OutputLocation(const Aws::String &value)
void SetTargetDevice(TargetDevice &&value)
OutputConfig & WithKmsKeyId(const char *value)
const TargetPlatform & GetTargetPlatform() const
OutputConfig & WithS3OutputLocation(Aws::String &&value)
void SetKmsKeyId(Aws::String &&value)
const Aws::String & GetCompilerOptions() const
void SetCompilerOptions(const Aws::String &value)
void SetTargetPlatform(TargetPlatform &&value)
const Aws::String & GetKmsKeyId() const
const TargetDevice & GetTargetDevice() const
OutputConfig & WithTargetPlatform(const TargetPlatform &value)
void SetS3OutputLocation(Aws::String &&value)
OutputConfig & WithKmsKeyId(const Aws::String &value)
void SetTargetDevice(const TargetDevice &value)
OutputConfig & WithKmsKeyId(Aws::String &&value)
OutputConfig & WithTargetPlatform(TargetPlatform &&value)
void SetKmsKeyId(const Aws::String &value)
AWS_SAGEMAKER_API OutputConfig(Aws::Utils::Json::JsonView jsonValue)
OutputConfig & WithCompilerOptions(Aws::String &&value)
OutputConfig & WithCompilerOptions(const char *value)
void SetCompilerOptions(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue