AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
51 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
52 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
53 inline AsyncInferenceOutputConfig& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
54 inline AsyncInferenceOutputConfig& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
55 inline AsyncInferenceOutputConfig& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
57
59
62 inline const Aws::String& GetS3OutputPath() const{ return m_s3OutputPath; }
63 inline bool S3OutputPathHasBeenSet() const { return m_s3OutputPathHasBeenSet; }
64 inline void SetS3OutputPath(const Aws::String& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = value; }
65 inline void SetS3OutputPath(Aws::String&& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = std::move(value); }
66 inline void SetS3OutputPath(const char* value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath.assign(value); }
67 inline AsyncInferenceOutputConfig& WithS3OutputPath(const Aws::String& value) { SetS3OutputPath(value); return *this;}
68 inline AsyncInferenceOutputConfig& WithS3OutputPath(Aws::String&& value) { SetS3OutputPath(std::move(value)); return *this;}
69 inline AsyncInferenceOutputConfig& WithS3OutputPath(const char* value) { SetS3OutputPath(value); return *this;}
71
73
77 inline const AsyncInferenceNotificationConfig& GetNotificationConfig() const{ return m_notificationConfig; }
78 inline bool NotificationConfigHasBeenSet() const { return m_notificationConfigHasBeenSet; }
79 inline void SetNotificationConfig(const AsyncInferenceNotificationConfig& value) { m_notificationConfigHasBeenSet = true; m_notificationConfig = value; }
80 inline void SetNotificationConfig(AsyncInferenceNotificationConfig&& value) { m_notificationConfigHasBeenSet = true; m_notificationConfig = std::move(value); }
84
86
89 inline const Aws::String& GetS3FailurePath() const{ return m_s3FailurePath; }
90 inline bool S3FailurePathHasBeenSet() const { return m_s3FailurePathHasBeenSet; }
91 inline void SetS3FailurePath(const Aws::String& value) { m_s3FailurePathHasBeenSet = true; m_s3FailurePath = value; }
92 inline void SetS3FailurePath(Aws::String&& value) { m_s3FailurePathHasBeenSet = true; m_s3FailurePath = std::move(value); }
93 inline void SetS3FailurePath(const char* value) { m_s3FailurePathHasBeenSet = true; m_s3FailurePath.assign(value); }
94 inline AsyncInferenceOutputConfig& WithS3FailurePath(const Aws::String& value) { SetS3FailurePath(value); return *this;}
95 inline AsyncInferenceOutputConfig& WithS3FailurePath(Aws::String&& value) { SetS3FailurePath(std::move(value)); return *this;}
96 inline AsyncInferenceOutputConfig& WithS3FailurePath(const char* value) { SetS3FailurePath(value); return *this;}
98 private:
99
100 Aws::String m_kmsKeyId;
101 bool m_kmsKeyIdHasBeenSet = false;
102
103 Aws::String m_s3OutputPath;
104 bool m_s3OutputPathHasBeenSet = false;
105
106 AsyncInferenceNotificationConfig m_notificationConfig;
107 bool m_notificationConfigHasBeenSet = false;
108
109 Aws::String m_s3FailurePath;
110 bool m_s3FailurePathHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace SageMaker
115} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNotificationConfig(AsyncInferenceNotificationConfig &&value)
AsyncInferenceOutputConfig & WithKmsKeyId(const char *value)
AWS_SAGEMAKER_API AsyncInferenceOutputConfig(Aws::Utils::Json::JsonView jsonValue)
AsyncInferenceOutputConfig & WithKmsKeyId(const Aws::String &value)
const AsyncInferenceNotificationConfig & GetNotificationConfig() const
AWS_SAGEMAKER_API AsyncInferenceOutputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AsyncInferenceOutputConfig & WithNotificationConfig(const AsyncInferenceNotificationConfig &value)
AsyncInferenceOutputConfig & WithS3FailurePath(const Aws::String &value)
AsyncInferenceOutputConfig & WithNotificationConfig(AsyncInferenceNotificationConfig &&value)
AsyncInferenceOutputConfig & WithS3FailurePath(const char *value)
void SetNotificationConfig(const AsyncInferenceNotificationConfig &value)
AsyncInferenceOutputConfig & WithKmsKeyId(Aws::String &&value)
AsyncInferenceOutputConfig & WithS3OutputPath(const Aws::String &value)
AsyncInferenceOutputConfig & WithS3FailurePath(Aws::String &&value)
AsyncInferenceOutputConfig & WithS3OutputPath(Aws::String &&value)
AsyncInferenceOutputConfig & WithS3OutputPath(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue