AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
OptimizationJobOutputConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SAGEMAKER_API OptimizationJobOutputConfig() = default;
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
48 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
49 template<typename KmsKeyIdT = Aws::String>
50 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
51 template<typename KmsKeyIdT = Aws::String>
52 OptimizationJobOutputConfig& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
54
56
60 inline const Aws::String& GetS3OutputLocation() const { return m_s3OutputLocation; }
61 inline bool S3OutputLocationHasBeenSet() const { return m_s3OutputLocationHasBeenSet; }
62 template<typename S3OutputLocationT = Aws::String>
63 void SetS3OutputLocation(S3OutputLocationT&& value) { m_s3OutputLocationHasBeenSet = true; m_s3OutputLocation = std::forward<S3OutputLocationT>(value); }
64 template<typename S3OutputLocationT = Aws::String>
65 OptimizationJobOutputConfig& WithS3OutputLocation(S3OutputLocationT&& value) { SetS3OutputLocation(std::forward<S3OutputLocationT>(value)); return *this;}
67 private:
68
69 Aws::String m_kmsKeyId;
70 bool m_kmsKeyIdHasBeenSet = false;
71
72 Aws::String m_s3OutputLocation;
73 bool m_s3OutputLocationHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SageMaker
78} // 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)
OptimizationJobOutputConfig & WithKmsKeyId(KmsKeyIdT &&value)
AWS_SAGEMAKER_API OptimizationJobOutputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue