AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgent {
21namespace Model {
22
31 public:
32 AWS_BEDROCKAGENT_API Transformation() = default;
35 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const TransformationFunction& GetTransformationFunction() const { return m_transformationFunction; }
42 inline bool TransformationFunctionHasBeenSet() const { return m_transformationFunctionHasBeenSet; }
43 template <typename TransformationFunctionT = TransformationFunction>
45 m_transformationFunctionHasBeenSet = true;
46 m_transformationFunction = std::forward<TransformationFunctionT>(value);
47 }
48 template <typename TransformationFunctionT = TransformationFunction>
50 SetTransformationFunction(std::forward<TransformationFunctionT>(value));
51 return *this;
52 }
54
56
59 inline StepType GetStepToApply() const { return m_stepToApply; }
60 inline bool StepToApplyHasBeenSet() const { return m_stepToApplyHasBeenSet; }
61 inline void SetStepToApply(StepType value) {
62 m_stepToApplyHasBeenSet = true;
63 m_stepToApply = value;
64 }
66 SetStepToApply(value);
67 return *this;
68 }
70 private:
71 TransformationFunction m_transformationFunction;
72
73 StepType m_stepToApply{StepType::NOT_SET};
74 bool m_transformationFunctionHasBeenSet = false;
75 bool m_stepToApplyHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace BedrockAgent
80} // 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)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue