AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
OutputDataConfig.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/OutputCompressionType.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 OutputDataConfig() = default;
32 AWS_SAGEMAKER_API OutputDataConfig(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
65 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
66 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
67 template <typename KmsKeyIdT = Aws::String>
68 void SetKmsKeyId(KmsKeyIdT&& value) {
69 m_kmsKeyIdHasBeenSet = true;
70 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
71 }
72 template <typename KmsKeyIdT = Aws::String>
73 OutputDataConfig& WithKmsKeyId(KmsKeyIdT&& value) {
74 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
75 return *this;
76 }
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) {
88 m_s3OutputPathHasBeenSet = true;
89 m_s3OutputPath = std::forward<S3OutputPathT>(value);
90 }
91 template <typename S3OutputPathT = Aws::String>
92 OutputDataConfig& WithS3OutputPath(S3OutputPathT&& value) {
93 SetS3OutputPath(std::forward<S3OutputPathT>(value));
94 return *this;
95 }
97
99
103 inline OutputCompressionType GetCompressionType() const { return m_compressionType; }
104 inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; }
106 m_compressionTypeHasBeenSet = true;
107 m_compressionType = value;
108 }
110 SetCompressionType(value);
111 return *this;
112 }
114 private:
115 Aws::String m_kmsKeyId;
116
117 Aws::String m_s3OutputPath;
118
120 bool m_kmsKeyIdHasBeenSet = false;
121 bool m_s3OutputPathHasBeenSet = false;
122 bool m_compressionTypeHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace SageMaker
127} // 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