AWS SDK for C++  1.9.158
AWS SDK for C++
OutputConfig.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
27 
41  {
42  public:
47 
48 
53  inline const Aws::String& GetS3OutputLocation() const{ return m_s3OutputLocation; }
54 
59  inline bool S3OutputLocationHasBeenSet() const { return m_s3OutputLocationHasBeenSet; }
60 
65  inline void SetS3OutputLocation(const Aws::String& value) { m_s3OutputLocationHasBeenSet = true; m_s3OutputLocation = value; }
66 
71  inline void SetS3OutputLocation(Aws::String&& value) { m_s3OutputLocationHasBeenSet = true; m_s3OutputLocation = std::move(value); }
72 
77  inline void SetS3OutputLocation(const char* value) { m_s3OutputLocationHasBeenSet = true; m_s3OutputLocation.assign(value); }
78 
83  inline OutputConfig& WithS3OutputLocation(const Aws::String& value) { SetS3OutputLocation(value); return *this;}
84 
89  inline OutputConfig& WithS3OutputLocation(Aws::String&& value) { SetS3OutputLocation(std::move(value)); return *this;}
90 
95  inline OutputConfig& WithS3OutputLocation(const char* value) { SetS3OutputLocation(value); return *this;}
96 
97 
104  inline const TargetDevice& GetTargetDevice() const{ return m_targetDevice; }
105 
112  inline bool TargetDeviceHasBeenSet() const { return m_targetDeviceHasBeenSet; }
113 
120  inline void SetTargetDevice(const TargetDevice& value) { m_targetDeviceHasBeenSet = true; m_targetDevice = value; }
121 
128  inline void SetTargetDevice(TargetDevice&& value) { m_targetDeviceHasBeenSet = true; m_targetDevice = std::move(value); }
129 
136  inline OutputConfig& WithTargetDevice(const TargetDevice& value) { SetTargetDevice(value); return *this;}
137 
144  inline OutputConfig& WithTargetDevice(TargetDevice&& value) { SetTargetDevice(std::move(value)); return *this;}
145 
146 
169  inline const TargetPlatform& GetTargetPlatform() const{ return m_targetPlatform; }
170 
193  inline bool TargetPlatformHasBeenSet() const { return m_targetPlatformHasBeenSet; }
194 
217  inline void SetTargetPlatform(const TargetPlatform& value) { m_targetPlatformHasBeenSet = true; m_targetPlatform = value; }
218 
241  inline void SetTargetPlatform(TargetPlatform&& value) { m_targetPlatformHasBeenSet = true; m_targetPlatform = std::move(value); }
242 
265  inline OutputConfig& WithTargetPlatform(const TargetPlatform& value) { SetTargetPlatform(value); return *this;}
266 
289  inline OutputConfig& WithTargetPlatform(TargetPlatform&& value) { SetTargetPlatform(std::move(value)); return *this;}
290 
291 
348  inline const Aws::String& GetCompilerOptions() const{ return m_compilerOptions; }
349 
406  inline bool CompilerOptionsHasBeenSet() const { return m_compilerOptionsHasBeenSet; }
407 
464  inline void SetCompilerOptions(const Aws::String& value) { m_compilerOptionsHasBeenSet = true; m_compilerOptions = value; }
465 
522  inline void SetCompilerOptions(Aws::String&& value) { m_compilerOptionsHasBeenSet = true; m_compilerOptions = std::move(value); }
523 
580  inline void SetCompilerOptions(const char* value) { m_compilerOptionsHasBeenSet = true; m_compilerOptions.assign(value); }
581 
638  inline OutputConfig& WithCompilerOptions(const Aws::String& value) { SetCompilerOptions(value); return *this;}
639 
696  inline OutputConfig& WithCompilerOptions(Aws::String&& value) { SetCompilerOptions(std::move(value)); return *this;}
697 
754  inline OutputConfig& WithCompilerOptions(const char* value) { SetCompilerOptions(value); return *this;}
755 
756 
774  inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
775 
793  inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
794 
812  inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
813 
831  inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
832 
850  inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
851 
869  inline OutputConfig& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
870 
888  inline OutputConfig& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
889 
907  inline OutputConfig& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
908 
909  private:
910 
911  Aws::String m_s3OutputLocation;
912  bool m_s3OutputLocationHasBeenSet;
913 
914  TargetDevice m_targetDevice;
915  bool m_targetDeviceHasBeenSet;
916 
917  TargetPlatform m_targetPlatform;
918  bool m_targetPlatformHasBeenSet;
919 
920  Aws::String m_compilerOptions;
921  bool m_compilerOptionsHasBeenSet;
922 
923  Aws::String m_kmsKeyId;
924  bool m_kmsKeyIdHasBeenSet;
925  };
926 
927 } // namespace Model
928 } // namespace SageMaker
929 } // namespace Aws
Aws::SageMaker::Model::OutputConfig::SetS3OutputLocation
void SetS3OutputLocation(const char *value)
Definition: OutputConfig.h:77
Aws::SageMaker::Model::OutputConfig::WithCompilerOptions
OutputConfig & WithCompilerOptions(Aws::String &&value)
Definition: OutputConfig.h:696
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::OutputConfig::GetTargetDevice
const TargetDevice & GetTargetDevice() const
Definition: OutputConfig.h:104
Aws::SageMaker::Model::OutputConfig::WithS3OutputLocation
OutputConfig & WithS3OutputLocation(const char *value)
Definition: OutputConfig.h:95
Aws::SageMaker::Model::OutputConfig::WithCompilerOptions
OutputConfig & WithCompilerOptions(const char *value)
Definition: OutputConfig.h:754
Aws::SageMaker::Model::OutputConfig::SetS3OutputLocation
void SetS3OutputLocation(Aws::String &&value)
Definition: OutputConfig.h:71
SageMaker_EXPORTS.h
Aws::SageMaker::Model::OutputConfig::SetS3OutputLocation
void SetS3OutputLocation(const Aws::String &value)
Definition: OutputConfig.h:65
Aws::SageMaker::Model::OutputConfig::WithCompilerOptions
OutputConfig & WithCompilerOptions(const Aws::String &value)
Definition: OutputConfig.h:638
Aws::SageMaker::Model::OutputConfig::OutputConfig
OutputConfig()
Aws::SageMaker::Model::OutputConfig::SetCompilerOptions
void SetCompilerOptions(Aws::String &&value)
Definition: OutputConfig.h:522
Aws::SageMaker::Model::OutputConfig::SetTargetDevice
void SetTargetDevice(const TargetDevice &value)
Definition: OutputConfig.h:120
Aws::SageMaker::Model::OutputConfig::S3OutputLocationHasBeenSet
bool S3OutputLocationHasBeenSet() const
Definition: OutputConfig.h:59
Aws::SageMaker::Model::OutputConfig::SetTargetDevice
void SetTargetDevice(TargetDevice &&value)
Definition: OutputConfig.h:128
TargetDevice.h
Aws::SageMaker::Model::OutputConfig::operator=
OutputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::OutputConfig::SetTargetPlatform
void SetTargetPlatform(const TargetPlatform &value)
Definition: OutputConfig.h:217
Aws::SageMaker::Model::TargetPlatform
Definition: TargetPlatform.h:36
Aws::SageMaker::Model::OutputConfig::SetKmsKeyId
void SetKmsKeyId(const Aws::String &value)
Definition: OutputConfig.h:812
Aws::SageMaker::Model::OutputConfig::GetTargetPlatform
const TargetPlatform & GetTargetPlatform() const
Definition: OutputConfig.h:169
Aws::SageMaker::Model::OutputConfig
Definition: OutputConfig.h:41
Aws::SageMaker::Model::OutputConfig::SetKmsKeyId
void SetKmsKeyId(const char *value)
Definition: OutputConfig.h:850
Aws::SageMaker::Model::OutputConfig::GetS3OutputLocation
const Aws::String & GetS3OutputLocation() const
Definition: OutputConfig.h:53
Aws::SageMaker::Model::OutputConfig::WithS3OutputLocation
OutputConfig & WithS3OutputLocation(Aws::String &&value)
Definition: OutputConfig.h:89
TargetPlatform.h
Aws::SageMaker::Model::TargetDevice
TargetDevice
Definition: TargetDevice.h:17
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::OutputConfig::SetCompilerOptions
void SetCompilerOptions(const char *value)
Definition: OutputConfig.h:580
Aws::SageMaker::Model::OutputConfig::WithKmsKeyId
OutputConfig & WithKmsKeyId(Aws::String &&value)
Definition: OutputConfig.h:888
Aws::SageMaker::Model::OutputConfig::WithKmsKeyId
OutputConfig & WithKmsKeyId(const char *value)
Definition: OutputConfig.h:907
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SageMaker::Model::OutputConfig::GetKmsKeyId
const Aws::String & GetKmsKeyId() const
Definition: OutputConfig.h:774
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::OutputConfig::WithTargetPlatform
OutputConfig & WithTargetPlatform(const TargetPlatform &value)
Definition: OutputConfig.h:265
Aws::SageMaker::Model::OutputConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::OutputConfig::SetKmsKeyId
void SetKmsKeyId(Aws::String &&value)
Definition: OutputConfig.h:831
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::OutputConfig::SetTargetPlatform
void SetTargetPlatform(TargetPlatform &&value)
Definition: OutputConfig.h:241
Aws::SageMaker::Model::OutputConfig::SetCompilerOptions
void SetCompilerOptions(const Aws::String &value)
Definition: OutputConfig.h:464
Aws::SageMaker::Model::OutputConfig::KmsKeyIdHasBeenSet
bool KmsKeyIdHasBeenSet() const
Definition: OutputConfig.h:793
Aws::SageMaker::Model::OutputConfig::TargetPlatformHasBeenSet
bool TargetPlatformHasBeenSet() const
Definition: OutputConfig.h:193
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::OutputConfig::WithTargetDevice
OutputConfig & WithTargetDevice(const TargetDevice &value)
Definition: OutputConfig.h:136
Aws::SageMaker::Model::OutputConfig::CompilerOptionsHasBeenSet
bool CompilerOptionsHasBeenSet() const
Definition: OutputConfig.h:406
Aws::SageMaker::Model::OutputConfig::WithTargetPlatform
OutputConfig & WithTargetPlatform(TargetPlatform &&value)
Definition: OutputConfig.h:289
Aws::SageMaker::Model::OutputConfig::OutputConfig
OutputConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::OutputConfig::WithTargetDevice
OutputConfig & WithTargetDevice(TargetDevice &&value)
Definition: OutputConfig.h:144
Aws::SageMaker::Model::OutputConfig::TargetDeviceHasBeenSet
bool TargetDeviceHasBeenSet() const
Definition: OutputConfig.h:112
Aws::SageMaker::Model::OutputConfig::WithS3OutputLocation
OutputConfig & WithS3OutputLocation(const Aws::String &value)
Definition: OutputConfig.h:83
Aws::SageMaker::Model::OutputConfig::GetCompilerOptions
const Aws::String & GetCompilerOptions() const
Definition: OutputConfig.h:348
Aws::SageMaker::Model::OutputConfig::WithKmsKeyId
OutputConfig & WithKmsKeyId(const Aws::String &value)
Definition: OutputConfig.h:869