AWS SDK for C++  1.9.159
AWS SDK for C++
CallbackStepMetadata.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetCallbackToken() const{ return m_callbackToken; }
46 
50  inline bool CallbackTokenHasBeenSet() const { return m_callbackTokenHasBeenSet; }
51 
55  inline void SetCallbackToken(const Aws::String& value) { m_callbackTokenHasBeenSet = true; m_callbackToken = value; }
56 
60  inline void SetCallbackToken(Aws::String&& value) { m_callbackTokenHasBeenSet = true; m_callbackToken = std::move(value); }
61 
65  inline void SetCallbackToken(const char* value) { m_callbackTokenHasBeenSet = true; m_callbackToken.assign(value); }
66 
70  inline CallbackStepMetadata& WithCallbackToken(const Aws::String& value) { SetCallbackToken(value); return *this;}
71 
75  inline CallbackStepMetadata& WithCallbackToken(Aws::String&& value) { SetCallbackToken(std::move(value)); return *this;}
76 
80  inline CallbackStepMetadata& WithCallbackToken(const char* value) { SetCallbackToken(value); return *this;}
81 
82 
87  inline const Aws::String& GetSqsQueueUrl() const{ return m_sqsQueueUrl; }
88 
93  inline bool SqsQueueUrlHasBeenSet() const { return m_sqsQueueUrlHasBeenSet; }
94 
99  inline void SetSqsQueueUrl(const Aws::String& value) { m_sqsQueueUrlHasBeenSet = true; m_sqsQueueUrl = value; }
100 
105  inline void SetSqsQueueUrl(Aws::String&& value) { m_sqsQueueUrlHasBeenSet = true; m_sqsQueueUrl = std::move(value); }
106 
111  inline void SetSqsQueueUrl(const char* value) { m_sqsQueueUrlHasBeenSet = true; m_sqsQueueUrl.assign(value); }
112 
117  inline CallbackStepMetadata& WithSqsQueueUrl(const Aws::String& value) { SetSqsQueueUrl(value); return *this;}
118 
123  inline CallbackStepMetadata& WithSqsQueueUrl(Aws::String&& value) { SetSqsQueueUrl(std::move(value)); return *this;}
124 
129  inline CallbackStepMetadata& WithSqsQueueUrl(const char* value) { SetSqsQueueUrl(value); return *this;}
130 
131 
135  inline const Aws::Vector<OutputParameter>& GetOutputParameters() const{ return m_outputParameters; }
136 
140  inline bool OutputParametersHasBeenSet() const { return m_outputParametersHasBeenSet; }
141 
145  inline void SetOutputParameters(const Aws::Vector<OutputParameter>& value) { m_outputParametersHasBeenSet = true; m_outputParameters = value; }
146 
150  inline void SetOutputParameters(Aws::Vector<OutputParameter>&& value) { m_outputParametersHasBeenSet = true; m_outputParameters = std::move(value); }
151 
155  inline CallbackStepMetadata& WithOutputParameters(const Aws::Vector<OutputParameter>& value) { SetOutputParameters(value); return *this;}
156 
160  inline CallbackStepMetadata& WithOutputParameters(Aws::Vector<OutputParameter>&& value) { SetOutputParameters(std::move(value)); return *this;}
161 
165  inline CallbackStepMetadata& AddOutputParameters(const OutputParameter& value) { m_outputParametersHasBeenSet = true; m_outputParameters.push_back(value); return *this; }
166 
170  inline CallbackStepMetadata& AddOutputParameters(OutputParameter&& value) { m_outputParametersHasBeenSet = true; m_outputParameters.push_back(std::move(value)); return *this; }
171 
172  private:
173 
174  Aws::String m_callbackToken;
175  bool m_callbackTokenHasBeenSet;
176 
177  Aws::String m_sqsQueueUrl;
178  bool m_sqsQueueUrlHasBeenSet;
179 
180  Aws::Vector<OutputParameter> m_outputParameters;
181  bool m_outputParametersHasBeenSet;
182  };
183 
184 } // namespace Model
185 } // namespace SageMaker
186 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::CallbackStepMetadata::WithOutputParameters
CallbackStepMetadata & WithOutputParameters(Aws::Vector< OutputParameter > &&value)
Definition: CallbackStepMetadata.h:160
Aws::SageMaker::Model::CallbackStepMetadata::SetSqsQueueUrl
void SetSqsQueueUrl(const Aws::String &value)
Definition: CallbackStepMetadata.h:99
Aws::SageMaker::Model::CallbackStepMetadata::GetSqsQueueUrl
const Aws::String & GetSqsQueueUrl() const
Definition: CallbackStepMetadata.h:87
Aws::SageMaker::Model::CallbackStepMetadata::SqsQueueUrlHasBeenSet
bool SqsQueueUrlHasBeenSet() const
Definition: CallbackStepMetadata.h:93
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::CallbackStepMetadata::WithOutputParameters
CallbackStepMetadata & WithOutputParameters(const Aws::Vector< OutputParameter > &value)
Definition: CallbackStepMetadata.h:155
Aws::SageMaker::Model::CallbackStepMetadata::SetCallbackToken
void SetCallbackToken(const Aws::String &value)
Definition: CallbackStepMetadata.h:55
AWSVector.h
Aws::SageMaker::Model::CallbackStepMetadata::SetCallbackToken
void SetCallbackToken(Aws::String &&value)
Definition: CallbackStepMetadata.h:60
Aws::SageMaker::Model::CallbackStepMetadata::GetOutputParameters
const Aws::Vector< OutputParameter > & GetOutputParameters() const
Definition: CallbackStepMetadata.h:135
Aws::SageMaker::Model::CallbackStepMetadata
Definition: CallbackStepMetadata.h:34
Aws::SageMaker::Model::CallbackStepMetadata::OutputParametersHasBeenSet
bool OutputParametersHasBeenSet() const
Definition: CallbackStepMetadata.h:140
Aws::SageMaker::Model::CallbackStepMetadata::SetOutputParameters
void SetOutputParameters(Aws::Vector< OutputParameter > &&value)
Definition: CallbackStepMetadata.h:150
Aws::SageMaker::Model::CallbackStepMetadata::WithCallbackToken
CallbackStepMetadata & WithCallbackToken(Aws::String &&value)
Definition: CallbackStepMetadata.h:75
Aws::SageMaker::Model::CallbackStepMetadata::CallbackStepMetadata
CallbackStepMetadata(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::CallbackStepMetadata::CallbackTokenHasBeenSet
bool CallbackTokenHasBeenSet() const
Definition: CallbackStepMetadata.h:50
Aws::SageMaker::Model::CallbackStepMetadata::WithSqsQueueUrl
CallbackStepMetadata & WithSqsQueueUrl(const Aws::String &value)
Definition: CallbackStepMetadata.h:117
Aws::SageMaker::Model::OutputParameter
Definition: OutputParameter.h:32
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CallbackStepMetadata::SetOutputParameters
void SetOutputParameters(const Aws::Vector< OutputParameter > &value)
Definition: CallbackStepMetadata.h:145
Aws::SageMaker::Model::CallbackStepMetadata::WithSqsQueueUrl
CallbackStepMetadata & WithSqsQueueUrl(const char *value)
Definition: CallbackStepMetadata.h:129
Aws::SageMaker::Model::CallbackStepMetadata::AddOutputParameters
CallbackStepMetadata & AddOutputParameters(const OutputParameter &value)
Definition: CallbackStepMetadata.h:165
Aws::SageMaker::Model::CallbackStepMetadata::WithCallbackToken
CallbackStepMetadata & WithCallbackToken(const Aws::String &value)
Definition: CallbackStepMetadata.h:70
Aws::SageMaker::Model::CallbackStepMetadata::WithCallbackToken
CallbackStepMetadata & WithCallbackToken(const char *value)
Definition: CallbackStepMetadata.h:80
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SageMaker::Model::CallbackStepMetadata::SetCallbackToken
void SetCallbackToken(const char *value)
Definition: CallbackStepMetadata.h:65
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::CallbackStepMetadata::SetSqsQueueUrl
void SetSqsQueueUrl(Aws::String &&value)
Definition: CallbackStepMetadata.h:105
OutputParameter.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::CallbackStepMetadata::operator=
CallbackStepMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::CallbackStepMetadata::SetSqsQueueUrl
void SetSqsQueueUrl(const char *value)
Definition: CallbackStepMetadata.h:111
Aws::SageMaker::Model::CallbackStepMetadata::CallbackStepMetadata
CallbackStepMetadata()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CallbackStepMetadata::AddOutputParameters
CallbackStepMetadata & AddOutputParameters(OutputParameter &&value)
Definition: CallbackStepMetadata.h:170
Aws::SageMaker::Model::CallbackStepMetadata::WithSqsQueueUrl
CallbackStepMetadata & WithSqsQueueUrl(Aws::String &&value)
Definition: CallbackStepMetadata.h:123
Aws::SageMaker::Model::CallbackStepMetadata::GetCallbackToken
const Aws::String & GetCallbackToken() const
Definition: CallbackStepMetadata.h:45
Aws::SageMaker::Model::CallbackStepMetadata::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const