AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Transformation.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/StepType.h>
9#include <aws/bedrock-agent/model/TransformationFunction.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgent
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_BEDROCKAGENT_API Transformation();
38 AWS_BEDROCKAGENT_API Transformation(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENT_API Transformation& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const StepType& GetStepToApply() const{ return m_stepToApply; }
48 inline bool StepToApplyHasBeenSet() const { return m_stepToApplyHasBeenSet; }
49 inline void SetStepToApply(const StepType& value) { m_stepToApplyHasBeenSet = true; m_stepToApply = value; }
50 inline void SetStepToApply(StepType&& value) { m_stepToApplyHasBeenSet = true; m_stepToApply = std::move(value); }
51 inline Transformation& WithStepToApply(const StepType& value) { SetStepToApply(value); return *this;}
52 inline Transformation& WithStepToApply(StepType&& value) { SetStepToApply(std::move(value)); return *this;}
54
56
59 inline const TransformationFunction& GetTransformationFunction() const{ return m_transformationFunction; }
60 inline bool TransformationFunctionHasBeenSet() const { return m_transformationFunctionHasBeenSet; }
61 inline void SetTransformationFunction(const TransformationFunction& value) { m_transformationFunctionHasBeenSet = true; m_transformationFunction = value; }
62 inline void SetTransformationFunction(TransformationFunction&& value) { m_transformationFunctionHasBeenSet = true; m_transformationFunction = std::move(value); }
66 private:
67
68 StepType m_stepToApply;
69 bool m_stepToApplyHasBeenSet = false;
70
71 TransformationFunction m_transformationFunction;
72 bool m_transformationFunctionHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace BedrockAgent
77} // namespace Aws
Transformation & WithTransformationFunction(const TransformationFunction &value)
Transformation & WithStepToApply(StepType &&value)
AWS_BEDROCKAGENT_API Transformation(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const TransformationFunction & GetTransformationFunction() const
void SetTransformationFunction(const TransformationFunction &value)
void SetStepToApply(const StepType &value)
Transformation & WithTransformationFunction(TransformationFunction &&value)
AWS_BEDROCKAGENT_API Transformation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTransformationFunction(TransformationFunction &&value)
const StepType & GetStepToApply() const
Transformation & WithStepToApply(const StepType &value)
Aws::Utils::Json::JsonValue JsonValue