AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AsyncInferenceOutputConfig.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/AsyncInferenceNotificationConfig.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 AsyncInferenceOutputConfig() = 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
60 inline const Aws::String& GetS3OutputPath() const { return m_s3OutputPath; }
61 inline bool S3OutputPathHasBeenSet() const { return m_s3OutputPathHasBeenSet; }
62 template <typename S3OutputPathT = Aws::String>
63 void SetS3OutputPath(S3OutputPathT&& value) {
64 m_s3OutputPathHasBeenSet = true;
65 m_s3OutputPath = std::forward<S3OutputPathT>(value);
66 }
67 template <typename S3OutputPathT = Aws::String>
69 SetS3OutputPath(std::forward<S3OutputPathT>(value));
70 return *this;
71 }
73
75
79 inline const AsyncInferenceNotificationConfig& GetNotificationConfig() const { return m_notificationConfig; }
80 inline bool NotificationConfigHasBeenSet() const { return m_notificationConfigHasBeenSet; }
81 template <typename NotificationConfigT = AsyncInferenceNotificationConfig>
82 void SetNotificationConfig(NotificationConfigT&& value) {
83 m_notificationConfigHasBeenSet = true;
84 m_notificationConfig = std::forward<NotificationConfigT>(value);
85 }
86 template <typename NotificationConfigT = AsyncInferenceNotificationConfig>
87 AsyncInferenceOutputConfig& WithNotificationConfig(NotificationConfigT&& value) {
88 SetNotificationConfig(std::forward<NotificationConfigT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetS3FailurePath() const { return m_s3FailurePath; }
98 inline bool S3FailurePathHasBeenSet() const { return m_s3FailurePathHasBeenSet; }
99 template <typename S3FailurePathT = Aws::String>
100 void SetS3FailurePath(S3FailurePathT&& value) {
101 m_s3FailurePathHasBeenSet = true;
102 m_s3FailurePath = std::forward<S3FailurePathT>(value);
103 }
104 template <typename S3FailurePathT = Aws::String>
106 SetS3FailurePath(std::forward<S3FailurePathT>(value));
107 return *this;
108 }
110 private:
111 Aws::String m_kmsKeyId;
112
113 Aws::String m_s3OutputPath;
114
115 AsyncInferenceNotificationConfig m_notificationConfig;
116
117 Aws::String m_s3FailurePath;
118 bool m_kmsKeyIdHasBeenSet = false;
119 bool m_s3OutputPathHasBeenSet = false;
120 bool m_notificationConfigHasBeenSet = false;
121 bool m_s3FailurePathHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace SageMaker
126} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API AsyncInferenceOutputConfig(Aws::Utils::Json::JsonView jsonValue)
const AsyncInferenceNotificationConfig & GetNotificationConfig() const
AWS_SAGEMAKER_API AsyncInferenceOutputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API AsyncInferenceOutputConfig()=default
AsyncInferenceOutputConfig & WithS3OutputPath(S3OutputPathT &&value)
AsyncInferenceOutputConfig & WithS3FailurePath(S3FailurePathT &&value)
AsyncInferenceOutputConfig & WithNotificationConfig(NotificationConfigT &&value)
AsyncInferenceOutputConfig & WithKmsKeyId(KmsKeyIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue