AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
OptimizationJobOutputConfig.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/OptimizationSageMakerModel.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
30 public:
31 AWS_SAGEMAKER_API OptimizationJobOutputConfig() = default;
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
43 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
44 template <typename KmsKeyIdT = Aws::String>
45 void SetKmsKeyId(KmsKeyIdT&& value) {
46 m_kmsKeyIdHasBeenSet = true;
47 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
48 }
49 template <typename KmsKeyIdT = Aws::String>
51 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetS3OutputLocation() const { return m_s3OutputLocation; }
62 inline bool S3OutputLocationHasBeenSet() const { return m_s3OutputLocationHasBeenSet; }
63 template <typename S3OutputLocationT = Aws::String>
64 void SetS3OutputLocation(S3OutputLocationT&& value) {
65 m_s3OutputLocationHasBeenSet = true;
66 m_s3OutputLocation = std::forward<S3OutputLocationT>(value);
67 }
68 template <typename S3OutputLocationT = Aws::String>
70 SetS3OutputLocation(std::forward<S3OutputLocationT>(value));
71 return *this;
72 }
74
76
80 inline const OptimizationSageMakerModel& GetSageMakerModel() const { return m_sageMakerModel; }
81 inline bool SageMakerModelHasBeenSet() const { return m_sageMakerModelHasBeenSet; }
82 template <typename SageMakerModelT = OptimizationSageMakerModel>
83 void SetSageMakerModel(SageMakerModelT&& value) {
84 m_sageMakerModelHasBeenSet = true;
85 m_sageMakerModel = std::forward<SageMakerModelT>(value);
86 }
87 template <typename SageMakerModelT = OptimizationSageMakerModel>
89 SetSageMakerModel(std::forward<SageMakerModelT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_kmsKeyId;
95
96 Aws::String m_s3OutputLocation;
97
98 OptimizationSageMakerModel m_sageMakerModel;
99 bool m_kmsKeyIdHasBeenSet = false;
100 bool m_s3OutputLocationHasBeenSet = false;
101 bool m_sageMakerModelHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace SageMaker
106} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
OptimizationJobOutputConfig & WithS3OutputLocation(S3OutputLocationT &&value)
AWS_SAGEMAKER_API OptimizationJobOutputConfig()=default
AWS_SAGEMAKER_API OptimizationJobOutputConfig(Aws::Utils::Json::JsonView jsonValue)
const OptimizationSageMakerModel & GetSageMakerModel() const
OptimizationJobOutputConfig & WithKmsKeyId(KmsKeyIdT &&value)
AWS_SAGEMAKER_API OptimizationJobOutputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
OptimizationJobOutputConfig & WithSageMakerModel(SageMakerModelT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue