AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 StepType GetStepToApply() const { return m_stepToApply; }
48 inline bool StepToApplyHasBeenSet() const { return m_stepToApplyHasBeenSet; }
49 inline void SetStepToApply(StepType value) { m_stepToApplyHasBeenSet = true; m_stepToApply = value; }
50 inline Transformation& WithStepToApply(StepType value) { SetStepToApply(value); return *this;}
52
54
57 inline const TransformationFunction& GetTransformationFunction() const { return m_transformationFunction; }
58 inline bool TransformationFunctionHasBeenSet() const { return m_transformationFunctionHasBeenSet; }
59 template<typename TransformationFunctionT = TransformationFunction>
60 void SetTransformationFunction(TransformationFunctionT&& value) { m_transformationFunctionHasBeenSet = true; m_transformationFunction = std::forward<TransformationFunctionT>(value); }
61 template<typename TransformationFunctionT = TransformationFunction>
62 Transformation& WithTransformationFunction(TransformationFunctionT&& value) { SetTransformationFunction(std::forward<TransformationFunctionT>(value)); return *this;}
64 private:
65
66 StepType m_stepToApply{StepType::NOT_SET};
67 bool m_stepToApplyHasBeenSet = false;
68
69 TransformationFunction m_transformationFunction;
70 bool m_transformationFunctionHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace BedrockAgent
75} // namespace Aws
AWS_BEDROCKAGENT_API Transformation(Aws::Utils::Json::JsonView jsonValue)
void SetTransformationFunction(TransformationFunctionT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const TransformationFunction & GetTransformationFunction() const
AWS_BEDROCKAGENT_API Transformation()=default
AWS_BEDROCKAGENT_API Transformation & operator=(Aws::Utils::Json::JsonView jsonValue)
Transformation & WithTransformationFunction(TransformationFunctionT &&value)
Transformation & WithStepToApply(StepType value)
Aws::Utils::Json::JsonValue JsonValue