AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename S3OutputLocationT = Aws::String>
57 void SetS3OutputLocation(S3OutputLocationT&& value) { m_s3OutputLocationHasBeenSet = true; m_s3OutputLocation = std::forward<S3OutputLocationT>(value); }
58 template<typename S3OutputLocationT = Aws::String>
59 OutputConfig& WithS3OutputLocation(S3OutputLocationT&& value) { SetS3OutputLocation(std::forward<S3OutputLocationT>(value)); return *this;}
61
63
73 inline TargetDevice GetTargetDevice() const { return m_targetDevice; }
74 inline bool TargetDeviceHasBeenSet() const { return m_targetDeviceHasBeenSet; }
75 inline void SetTargetDevice(TargetDevice value) { m_targetDeviceHasBeenSet = true; m_targetDevice = value; }
76 inline OutputConfig& WithTargetDevice(TargetDevice value) { SetTargetDevice(value); return *this;}
78
80
102 inline const TargetPlatform& GetTargetPlatform() const { return m_targetPlatform; }
103 inline bool TargetPlatformHasBeenSet() const { return m_targetPlatformHasBeenSet; }
104 template<typename TargetPlatformT = TargetPlatform>
105 void SetTargetPlatform(TargetPlatformT&& value) { m_targetPlatformHasBeenSet = true; m_targetPlatform = std::forward<TargetPlatformT>(value); }
106 template<typename TargetPlatformT = TargetPlatform>
107 OutputConfig& WithTargetPlatform(TargetPlatformT&& value) { SetTargetPlatform(std::forward<TargetPlatformT>(value)); return *this;}
109
111
158 inline const Aws::String& GetCompilerOptions() const { return m_compilerOptions; }
159 inline bool CompilerOptionsHasBeenSet() const { return m_compilerOptionsHasBeenSet; }
160 template<typename CompilerOptionsT = Aws::String>
161 void SetCompilerOptions(CompilerOptionsT&& value) { m_compilerOptionsHasBeenSet = true; m_compilerOptions = std::forward<CompilerOptionsT>(value); }
162 template<typename CompilerOptionsT = Aws::String>
163 OutputConfig& WithCompilerOptions(CompilerOptionsT&& value) { SetCompilerOptions(std::forward<CompilerOptionsT>(value)); return *this;}
165
167
184 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
185 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
186 template<typename KmsKeyIdT = Aws::String>
187 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
188 template<typename KmsKeyIdT = Aws::String>
189 OutputConfig& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
191 private:
192
193 Aws::String m_s3OutputLocation;
194 bool m_s3OutputLocationHasBeenSet = false;
195
196 TargetDevice m_targetDevice{TargetDevice::NOT_SET};
197 bool m_targetDeviceHasBeenSet = false;
198
199 TargetPlatform m_targetPlatform;
200 bool m_targetPlatformHasBeenSet = false;
201
202 Aws::String m_compilerOptions;
203 bool m_compilerOptionsHasBeenSet = false;
204
205 Aws::String m_kmsKeyId;
206 bool m_kmsKeyIdHasBeenSet = false;
207 };
208
209} // namespace Model
210} // namespace SageMaker
211} // namespace Aws
OutputConfig & WithTargetPlatform(TargetPlatformT &&value)
OutputConfig & WithTargetDevice(TargetDevice value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
OutputConfig & WithCompilerOptions(CompilerOptionsT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
const Aws::String & GetS3OutputLocation() const
void SetCompilerOptions(CompilerOptionsT &&value)
AWS_SAGEMAKER_API OutputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const TargetPlatform & GetTargetPlatform() const
const Aws::String & GetCompilerOptions() const
void SetTargetDevice(TargetDevice value)
const Aws::String & GetKmsKeyId() const
OutputConfig & WithKmsKeyId(KmsKeyIdT &&value)
void SetTargetPlatform(TargetPlatformT &&value)
AWS_SAGEMAKER_API OutputConfig()=default
OutputConfig & WithS3OutputLocation(S3OutputLocationT &&value)
TargetDevice GetTargetDevice() const
AWS_SAGEMAKER_API OutputConfig(Aws::Utils::Json::JsonView jsonValue)
void SetS3OutputLocation(S3OutputLocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue