AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CallbackStepMetadata.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/OutputParameter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SAGEMAKER_API CallbackStepMetadata();
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetCallbackToken() const{ return m_callbackToken; }
47 inline bool CallbackTokenHasBeenSet() const { return m_callbackTokenHasBeenSet; }
48 inline void SetCallbackToken(const Aws::String& value) { m_callbackTokenHasBeenSet = true; m_callbackToken = value; }
49 inline void SetCallbackToken(Aws::String&& value) { m_callbackTokenHasBeenSet = true; m_callbackToken = std::move(value); }
50 inline void SetCallbackToken(const char* value) { m_callbackTokenHasBeenSet = true; m_callbackToken.assign(value); }
51 inline CallbackStepMetadata& WithCallbackToken(const Aws::String& value) { SetCallbackToken(value); return *this;}
52 inline CallbackStepMetadata& WithCallbackToken(Aws::String&& value) { SetCallbackToken(std::move(value)); return *this;}
53 inline CallbackStepMetadata& WithCallbackToken(const char* value) { SetCallbackToken(value); return *this;}
55
57
61 inline const Aws::String& GetSqsQueueUrl() const{ return m_sqsQueueUrl; }
62 inline bool SqsQueueUrlHasBeenSet() const { return m_sqsQueueUrlHasBeenSet; }
63 inline void SetSqsQueueUrl(const Aws::String& value) { m_sqsQueueUrlHasBeenSet = true; m_sqsQueueUrl = value; }
64 inline void SetSqsQueueUrl(Aws::String&& value) { m_sqsQueueUrlHasBeenSet = true; m_sqsQueueUrl = std::move(value); }
65 inline void SetSqsQueueUrl(const char* value) { m_sqsQueueUrlHasBeenSet = true; m_sqsQueueUrl.assign(value); }
66 inline CallbackStepMetadata& WithSqsQueueUrl(const Aws::String& value) { SetSqsQueueUrl(value); return *this;}
67 inline CallbackStepMetadata& WithSqsQueueUrl(Aws::String&& value) { SetSqsQueueUrl(std::move(value)); return *this;}
68 inline CallbackStepMetadata& WithSqsQueueUrl(const char* value) { SetSqsQueueUrl(value); return *this;}
70
72
75 inline const Aws::Vector<OutputParameter>& GetOutputParameters() const{ return m_outputParameters; }
76 inline bool OutputParametersHasBeenSet() const { return m_outputParametersHasBeenSet; }
77 inline void SetOutputParameters(const Aws::Vector<OutputParameter>& value) { m_outputParametersHasBeenSet = true; m_outputParameters = value; }
78 inline void SetOutputParameters(Aws::Vector<OutputParameter>&& value) { m_outputParametersHasBeenSet = true; m_outputParameters = std::move(value); }
81 inline CallbackStepMetadata& AddOutputParameters(const OutputParameter& value) { m_outputParametersHasBeenSet = true; m_outputParameters.push_back(value); return *this; }
82 inline CallbackStepMetadata& AddOutputParameters(OutputParameter&& value) { m_outputParametersHasBeenSet = true; m_outputParameters.push_back(std::move(value)); return *this; }
84 private:
85
86 Aws::String m_callbackToken;
87 bool m_callbackTokenHasBeenSet = false;
88
89 Aws::String m_sqsQueueUrl;
90 bool m_sqsQueueUrlHasBeenSet = false;
91
92 Aws::Vector<OutputParameter> m_outputParameters;
93 bool m_outputParametersHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace SageMaker
98} // namespace Aws
CallbackStepMetadata & WithOutputParameters(Aws::Vector< OutputParameter > &&value)
CallbackStepMetadata & AddOutputParameters(const OutputParameter &value)
CallbackStepMetadata & WithSqsQueueUrl(Aws::String &&value)
AWS_SAGEMAKER_API CallbackStepMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOutputParameters(Aws::Vector< OutputParameter > &&value)
CallbackStepMetadata & WithCallbackToken(const Aws::String &value)
CallbackStepMetadata & WithSqsQueueUrl(const char *value)
const Aws::Vector< OutputParameter > & GetOutputParameters() const
void SetSqsQueueUrl(const Aws::String &value)
void SetOutputParameters(const Aws::Vector< OutputParameter > &value)
AWS_SAGEMAKER_API CallbackStepMetadata(Aws::Utils::Json::JsonView jsonValue)
void SetCallbackToken(const Aws::String &value)
CallbackStepMetadata & WithSqsQueueUrl(const Aws::String &value)
CallbackStepMetadata & AddOutputParameters(OutputParameter &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
CallbackStepMetadata & WithCallbackToken(const char *value)
CallbackStepMetadata & WithCallbackToken(Aws::String &&value)
CallbackStepMetadata & WithOutputParameters(const Aws::Vector< OutputParameter > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue