AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LambdaStepMetadata.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 LambdaStepMetadata();
37 AWS_SAGEMAKER_API LambdaStepMetadata(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline LambdaStepMetadata& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline LambdaStepMetadata& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline LambdaStepMetadata& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::Vector<OutputParameter>& GetOutputParameters() const{ return m_outputParameters; }
62 inline bool OutputParametersHasBeenSet() const { return m_outputParametersHasBeenSet; }
63 inline void SetOutputParameters(const Aws::Vector<OutputParameter>& value) { m_outputParametersHasBeenSet = true; m_outputParameters = value; }
64 inline void SetOutputParameters(Aws::Vector<OutputParameter>&& value) { m_outputParametersHasBeenSet = true; m_outputParameters = std::move(value); }
67 inline LambdaStepMetadata& AddOutputParameters(const OutputParameter& value) { m_outputParametersHasBeenSet = true; m_outputParameters.push_back(value); return *this; }
68 inline LambdaStepMetadata& AddOutputParameters(OutputParameter&& value) { m_outputParametersHasBeenSet = true; m_outputParameters.push_back(std::move(value)); return *this; }
70 private:
71
72 Aws::String m_arn;
73 bool m_arnHasBeenSet = false;
74
75 Aws::Vector<OutputParameter> m_outputParameters;
76 bool m_outputParametersHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace SageMaker
81} // namespace Aws
void SetArn(const Aws::String &value)
const Aws::Vector< OutputParameter > & GetOutputParameters() const
void SetOutputParameters(const Aws::Vector< OutputParameter > &value)
LambdaStepMetadata & AddOutputParameters(OutputParameter &&value)
AWS_SAGEMAKER_API LambdaStepMetadata(Aws::Utils::Json::JsonView jsonValue)
LambdaStepMetadata & WithOutputParameters(Aws::Vector< OutputParameter > &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOutputParameters(Aws::Vector< OutputParameter > &&value)
LambdaStepMetadata & WithOutputParameters(const Aws::Vector< OutputParameter > &value)
LambdaStepMetadata & WithArn(const char *value)
LambdaStepMetadata & WithArn(const Aws::String &value)
LambdaStepMetadata & WithArn(Aws::String &&value)
LambdaStepMetadata & AddOutputParameters(const OutputParameter &value)
AWS_SAGEMAKER_API LambdaStepMetadata & operator=(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