AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AsyncInferenceNotificationConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/AsyncNotificationTopicTypes.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
31 public:
32 AWS_SAGEMAKER_API AsyncInferenceNotificationConfig() = default;
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetSuccessTopic() const { return m_successTopic; }
43 inline bool SuccessTopicHasBeenSet() const { return m_successTopicHasBeenSet; }
44 template <typename SuccessTopicT = Aws::String>
45 void SetSuccessTopic(SuccessTopicT&& value) {
46 m_successTopicHasBeenSet = true;
47 m_successTopic = std::forward<SuccessTopicT>(value);
48 }
49 template <typename SuccessTopicT = Aws::String>
51 SetSuccessTopic(std::forward<SuccessTopicT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetErrorTopic() const { return m_errorTopic; }
62 inline bool ErrorTopicHasBeenSet() const { return m_errorTopicHasBeenSet; }
63 template <typename ErrorTopicT = Aws::String>
64 void SetErrorTopic(ErrorTopicT&& value) {
65 m_errorTopicHasBeenSet = true;
66 m_errorTopic = std::forward<ErrorTopicT>(value);
67 }
68 template <typename ErrorTopicT = Aws::String>
70 SetErrorTopic(std::forward<ErrorTopicT>(value));
71 return *this;
72 }
74
76
81 inline const Aws::Vector<AsyncNotificationTopicTypes>& GetIncludeInferenceResponseIn() const { return m_includeInferenceResponseIn; }
82 inline bool IncludeInferenceResponseInHasBeenSet() const { return m_includeInferenceResponseInHasBeenSet; }
83 template <typename IncludeInferenceResponseInT = Aws::Vector<AsyncNotificationTopicTypes>>
84 void SetIncludeInferenceResponseIn(IncludeInferenceResponseInT&& value) {
85 m_includeInferenceResponseInHasBeenSet = true;
86 m_includeInferenceResponseIn = std::forward<IncludeInferenceResponseInT>(value);
87 }
88 template <typename IncludeInferenceResponseInT = Aws::Vector<AsyncNotificationTopicTypes>>
90 SetIncludeInferenceResponseIn(std::forward<IncludeInferenceResponseInT>(value));
91 return *this;
92 }
94 m_includeInferenceResponseInHasBeenSet = true;
95 m_includeInferenceResponseIn.push_back(value);
96 return *this;
97 }
99 private:
100 Aws::String m_successTopic;
101
102 Aws::String m_errorTopic;
103
104 Aws::Vector<AsyncNotificationTopicTypes> m_includeInferenceResponseIn;
105 bool m_successTopicHasBeenSet = false;
106 bool m_errorTopicHasBeenSet = false;
107 bool m_includeInferenceResponseInHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace SageMaker
112} // namespace Aws
AsyncInferenceNotificationConfig & AddIncludeInferenceResponseIn(AsyncNotificationTopicTypes value)
AWS_SAGEMAKER_API AsyncInferenceNotificationConfig()=default
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API AsyncInferenceNotificationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AsyncNotificationTopicTypes > & GetIncludeInferenceResponseIn() const
AsyncInferenceNotificationConfig & WithSuccessTopic(SuccessTopicT &&value)
AsyncInferenceNotificationConfig & WithIncludeInferenceResponseIn(IncludeInferenceResponseInT &&value)
void SetIncludeInferenceResponseIn(IncludeInferenceResponseInT &&value)
AsyncInferenceNotificationConfig & WithErrorTopic(ErrorTopicT &&value)
AWS_SAGEMAKER_API AsyncInferenceNotificationConfig(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue