AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
OutputDataConfig.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/OutputCompressionType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API OutputDataConfig() = default;
37 AWS_SAGEMAKER_API OutputDataConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
71 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
72 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
73 template<typename KmsKeyIdT = Aws::String>
74 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
75 template<typename KmsKeyIdT = Aws::String>
76 OutputDataConfig& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
78
80
84 inline const Aws::String& GetS3OutputPath() const { return m_s3OutputPath; }
85 inline bool S3OutputPathHasBeenSet() const { return m_s3OutputPathHasBeenSet; }
86 template<typename S3OutputPathT = Aws::String>
87 void SetS3OutputPath(S3OutputPathT&& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = std::forward<S3OutputPathT>(value); }
88 template<typename S3OutputPathT = Aws::String>
89 OutputDataConfig& WithS3OutputPath(S3OutputPathT&& value) { SetS3OutputPath(std::forward<S3OutputPathT>(value)); return *this;}
91
93
97 inline OutputCompressionType GetCompressionType() const { return m_compressionType; }
98 inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; }
99 inline void SetCompressionType(OutputCompressionType value) { m_compressionTypeHasBeenSet = true; m_compressionType = value; }
102 private:
103
104 Aws::String m_kmsKeyId;
105 bool m_kmsKeyIdHasBeenSet = false;
106
107 Aws::String m_s3OutputPath;
108 bool m_s3OutputPathHasBeenSet = false;
109
111 bool m_compressionTypeHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace SageMaker
116} // namespace Aws
OutputCompressionType GetCompressionType() const
OutputDataConfig & WithKmsKeyId(KmsKeyIdT &&value)
OutputDataConfig & WithS3OutputPath(S3OutputPathT &&value)
AWS_SAGEMAKER_API OutputDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API OutputDataConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API OutputDataConfig()=default
void SetCompressionType(OutputCompressionType value)
void SetS3OutputPath(S3OutputPathT &&value)
OutputDataConfig & WithCompressionType(OutputCompressionType value)
const Aws::String & GetKmsKeyId() const
const Aws::String & GetS3OutputPath() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue