AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AsyncInferenceOutputConfig.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/AsyncInferenceNotificationConfig.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 AsyncInferenceOutputConfig() = default;
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
49 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
50 template<typename KmsKeyIdT = Aws::String>
51 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
52 template<typename KmsKeyIdT = Aws::String>
53 AsyncInferenceOutputConfig& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
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) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = std::forward<S3OutputPathT>(value); }
64 template<typename S3OutputPathT = Aws::String>
65 AsyncInferenceOutputConfig& WithS3OutputPath(S3OutputPathT&& value) { SetS3OutputPath(std::forward<S3OutputPathT>(value)); return *this;}
67
69
73 inline const AsyncInferenceNotificationConfig& GetNotificationConfig() const { return m_notificationConfig; }
74 inline bool NotificationConfigHasBeenSet() const { return m_notificationConfigHasBeenSet; }
75 template<typename NotificationConfigT = AsyncInferenceNotificationConfig>
76 void SetNotificationConfig(NotificationConfigT&& value) { m_notificationConfigHasBeenSet = true; m_notificationConfig = std::forward<NotificationConfigT>(value); }
77 template<typename NotificationConfigT = AsyncInferenceNotificationConfig>
78 AsyncInferenceOutputConfig& WithNotificationConfig(NotificationConfigT&& value) { SetNotificationConfig(std::forward<NotificationConfigT>(value)); return *this;}
80
82
85 inline const Aws::String& GetS3FailurePath() const { return m_s3FailurePath; }
86 inline bool S3FailurePathHasBeenSet() const { return m_s3FailurePathHasBeenSet; }
87 template<typename S3FailurePathT = Aws::String>
88 void SetS3FailurePath(S3FailurePathT&& value) { m_s3FailurePathHasBeenSet = true; m_s3FailurePath = std::forward<S3FailurePathT>(value); }
89 template<typename S3FailurePathT = Aws::String>
90 AsyncInferenceOutputConfig& WithS3FailurePath(S3FailurePathT&& value) { SetS3FailurePath(std::forward<S3FailurePathT>(value)); return *this;}
92 private:
93
94 Aws::String m_kmsKeyId;
95 bool m_kmsKeyIdHasBeenSet = false;
96
97 Aws::String m_s3OutputPath;
98 bool m_s3OutputPathHasBeenSet = false;
99
100 AsyncInferenceNotificationConfig m_notificationConfig;
101 bool m_notificationConfigHasBeenSet = false;
102
103 Aws::String m_s3FailurePath;
104 bool m_s3FailurePathHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace SageMaker
109} // 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