AWS SDK for C++  1.9.154
AWS SDK for C++
AsyncInferenceNotificationConfig.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline const Aws::String& GetSuccessTopic() const{ return m_successTopic; }
46 
51  inline bool SuccessTopicHasBeenSet() const { return m_successTopicHasBeenSet; }
52 
57  inline void SetSuccessTopic(const Aws::String& value) { m_successTopicHasBeenSet = true; m_successTopic = value; }
58 
63  inline void SetSuccessTopic(Aws::String&& value) { m_successTopicHasBeenSet = true; m_successTopic = std::move(value); }
64 
69  inline void SetSuccessTopic(const char* value) { m_successTopicHasBeenSet = true; m_successTopic.assign(value); }
70 
75  inline AsyncInferenceNotificationConfig& WithSuccessTopic(const Aws::String& value) { SetSuccessTopic(value); return *this;}
76 
81  inline AsyncInferenceNotificationConfig& WithSuccessTopic(Aws::String&& value) { SetSuccessTopic(std::move(value)); return *this;}
82 
87  inline AsyncInferenceNotificationConfig& WithSuccessTopic(const char* value) { SetSuccessTopic(value); return *this;}
88 
89 
94  inline const Aws::String& GetErrorTopic() const{ return m_errorTopic; }
95 
100  inline bool ErrorTopicHasBeenSet() const { return m_errorTopicHasBeenSet; }
101 
106  inline void SetErrorTopic(const Aws::String& value) { m_errorTopicHasBeenSet = true; m_errorTopic = value; }
107 
112  inline void SetErrorTopic(Aws::String&& value) { m_errorTopicHasBeenSet = true; m_errorTopic = std::move(value); }
113 
118  inline void SetErrorTopic(const char* value) { m_errorTopicHasBeenSet = true; m_errorTopic.assign(value); }
119 
124  inline AsyncInferenceNotificationConfig& WithErrorTopic(const Aws::String& value) { SetErrorTopic(value); return *this;}
125 
130  inline AsyncInferenceNotificationConfig& WithErrorTopic(Aws::String&& value) { SetErrorTopic(std::move(value)); return *this;}
131 
136  inline AsyncInferenceNotificationConfig& WithErrorTopic(const char* value) { SetErrorTopic(value); return *this;}
137 
138  private:
139 
140  Aws::String m_successTopic;
141  bool m_successTopicHasBeenSet;
142 
143  Aws::String m_errorTopic;
144  bool m_errorTopicHasBeenSet;
145  };
146 
147 } // namespace Model
148 } // namespace SageMaker
149 } // namespace Aws
Aws::SageMaker::Model::AsyncInferenceNotificationConfig::SetErrorTopic
void SetErrorTopic(const char *value)
Definition: AsyncInferenceNotificationConfig.h:118
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::AsyncInferenceNotificationConfig::SetErrorTopic
void SetErrorTopic(Aws::String &&value)
Definition: AsyncInferenceNotificationConfig.h:112
Aws::SageMaker::Model::AsyncInferenceNotificationConfig::WithSuccessTopic
AsyncInferenceNotificationConfig & WithSuccessTopic(const char *value)
Definition: AsyncInferenceNotificationConfig.h:87
Aws::SageMaker::Model::AsyncInferenceNotificationConfig::WithErrorTopic
AsyncInferenceNotificationConfig & WithErrorTopic(const Aws::String &value)
Definition: AsyncInferenceNotificationConfig.h:124
Aws::SageMaker::Model::AsyncInferenceNotificationConfig
Definition: AsyncInferenceNotificationConfig.h:33
Aws::SageMaker::Model::AsyncInferenceNotificationConfig::WithErrorTopic
AsyncInferenceNotificationConfig & WithErrorTopic(Aws::String &&value)
Definition: AsyncInferenceNotificationConfig.h:130
Aws::SageMaker::Model::AsyncInferenceNotificationConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::AsyncInferenceNotificationConfig::WithSuccessTopic
AsyncInferenceNotificationConfig & WithSuccessTopic(const Aws::String &value)
Definition: AsyncInferenceNotificationConfig.h:75
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::AsyncInferenceNotificationConfig::GetSuccessTopic
const Aws::String & GetSuccessTopic() const
Definition: AsyncInferenceNotificationConfig.h:45
Aws::SageMaker::Model::AsyncInferenceNotificationConfig::WithSuccessTopic
AsyncInferenceNotificationConfig & WithSuccessTopic(Aws::String &&value)
Definition: AsyncInferenceNotificationConfig.h:81
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::AsyncInferenceNotificationConfig::GetErrorTopic
const Aws::String & GetErrorTopic() const
Definition: AsyncInferenceNotificationConfig.h:94
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::AsyncInferenceNotificationConfig::SetSuccessTopic
void SetSuccessTopic(Aws::String &&value)
Definition: AsyncInferenceNotificationConfig.h:63
Aws::SageMaker::Model::AsyncInferenceNotificationConfig::SetSuccessTopic
void SetSuccessTopic(const Aws::String &value)
Definition: AsyncInferenceNotificationConfig.h:57
Aws::SageMaker::Model::AsyncInferenceNotificationConfig::WithErrorTopic
AsyncInferenceNotificationConfig & WithErrorTopic(const char *value)
Definition: AsyncInferenceNotificationConfig.h:136
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::AsyncInferenceNotificationConfig::SetSuccessTopic
void SetSuccessTopic(const char *value)
Definition: AsyncInferenceNotificationConfig.h:69
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::AsyncInferenceNotificationConfig::AsyncInferenceNotificationConfig
AsyncInferenceNotificationConfig()
Aws::SageMaker::Model::AsyncInferenceNotificationConfig::SuccessTopicHasBeenSet
bool SuccessTopicHasBeenSet() const
Definition: AsyncInferenceNotificationConfig.h:51
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::AsyncInferenceNotificationConfig::AsyncInferenceNotificationConfig
AsyncInferenceNotificationConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::AsyncInferenceNotificationConfig::SetErrorTopic
void SetErrorTopic(const Aws::String &value)
Definition: AsyncInferenceNotificationConfig.h:106
Aws::SageMaker::Model::AsyncInferenceNotificationConfig::ErrorTopicHasBeenSet
bool ErrorTopicHasBeenSet() const
Definition: AsyncInferenceNotificationConfig.h:100
Aws::SageMaker::Model::AsyncInferenceNotificationConfig::operator=
AsyncInferenceNotificationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)