AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename CallbackTokenT = Aws::String>
49 void SetCallbackToken(CallbackTokenT&& value) { m_callbackTokenHasBeenSet = true; m_callbackToken = std::forward<CallbackTokenT>(value); }
50 template<typename CallbackTokenT = Aws::String>
51 CallbackStepMetadata& WithCallbackToken(CallbackTokenT&& value) { SetCallbackToken(std::forward<CallbackTokenT>(value)); return *this;}
53
55
59 inline const Aws::String& GetSqsQueueUrl() const { return m_sqsQueueUrl; }
60 inline bool SqsQueueUrlHasBeenSet() const { return m_sqsQueueUrlHasBeenSet; }
61 template<typename SqsQueueUrlT = Aws::String>
62 void SetSqsQueueUrl(SqsQueueUrlT&& value) { m_sqsQueueUrlHasBeenSet = true; m_sqsQueueUrl = std::forward<SqsQueueUrlT>(value); }
63 template<typename SqsQueueUrlT = Aws::String>
64 CallbackStepMetadata& WithSqsQueueUrl(SqsQueueUrlT&& value) { SetSqsQueueUrl(std::forward<SqsQueueUrlT>(value)); return *this;}
66
68
71 inline const Aws::Vector<OutputParameter>& GetOutputParameters() const { return m_outputParameters; }
72 inline bool OutputParametersHasBeenSet() const { return m_outputParametersHasBeenSet; }
73 template<typename OutputParametersT = Aws::Vector<OutputParameter>>
74 void SetOutputParameters(OutputParametersT&& value) { m_outputParametersHasBeenSet = true; m_outputParameters = std::forward<OutputParametersT>(value); }
75 template<typename OutputParametersT = Aws::Vector<OutputParameter>>
76 CallbackStepMetadata& WithOutputParameters(OutputParametersT&& value) { SetOutputParameters(std::forward<OutputParametersT>(value)); return *this;}
77 template<typename OutputParametersT = OutputParameter>
78 CallbackStepMetadata& AddOutputParameters(OutputParametersT&& value) { m_outputParametersHasBeenSet = true; m_outputParameters.emplace_back(std::forward<OutputParametersT>(value)); return *this; }
80 private:
81
82 Aws::String m_callbackToken;
83 bool m_callbackTokenHasBeenSet = false;
84
85 Aws::String m_sqsQueueUrl;
86 bool m_sqsQueueUrlHasBeenSet = false;
87
88 Aws::Vector<OutputParameter> m_outputParameters;
89 bool m_outputParametersHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace SageMaker
94} // namespace Aws
CallbackStepMetadata & WithOutputParameters(OutputParametersT &&value)
AWS_SAGEMAKER_API CallbackStepMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
CallbackStepMetadata & AddOutputParameters(OutputParametersT &&value)
CallbackStepMetadata & WithCallbackToken(CallbackTokenT &&value)
void SetOutputParameters(OutputParametersT &&value)
CallbackStepMetadata & WithSqsQueueUrl(SqsQueueUrlT &&value)
const Aws::Vector< OutputParameter > & GetOutputParameters() const
AWS_SAGEMAKER_API CallbackStepMetadata(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API CallbackStepMetadata()=default
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue