AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CustomTransformationConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/IntermediateStorage.h>
9#include <aws/bedrock-agent/model/Transformation.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgent {
22namespace Model {
23
38 public:
39 AWS_BEDROCKAGENT_API CustomTransformationConfiguration() = default;
42 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
48 inline const IntermediateStorage& GetIntermediateStorage() const { return m_intermediateStorage; }
49 inline bool IntermediateStorageHasBeenSet() const { return m_intermediateStorageHasBeenSet; }
50 template <typename IntermediateStorageT = IntermediateStorage>
52 m_intermediateStorageHasBeenSet = true;
53 m_intermediateStorage = std::forward<IntermediateStorageT>(value);
54 }
55 template <typename IntermediateStorageT = IntermediateStorage>
57 SetIntermediateStorage(std::forward<IntermediateStorageT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::Vector<Transformation>& GetTransformations() const { return m_transformations; }
67 inline bool TransformationsHasBeenSet() const { return m_transformationsHasBeenSet; }
68 template <typename TransformationsT = Aws::Vector<Transformation>>
70 m_transformationsHasBeenSet = true;
71 m_transformations = std::forward<TransformationsT>(value);
72 }
73 template <typename TransformationsT = Aws::Vector<Transformation>>
75 SetTransformations(std::forward<TransformationsT>(value));
76 return *this;
77 }
78 template <typename TransformationsT = Transformation>
80 m_transformationsHasBeenSet = true;
81 m_transformations.emplace_back(std::forward<TransformationsT>(value));
82 return *this;
83 }
85 private:
86 IntermediateStorage m_intermediateStorage;
87
88 Aws::Vector<Transformation> m_transformations;
89 bool m_intermediateStorageHasBeenSet = false;
90 bool m_transformationsHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace BedrockAgent
95} // namespace Aws
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
CustomTransformationConfiguration & AddTransformations(TransformationsT &&value)
AWS_BEDROCKAGENT_API CustomTransformationConfiguration()=default
AWS_BEDROCKAGENT_API CustomTransformationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API CustomTransformationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomTransformationConfiguration & WithTransformations(TransformationsT &&value)
CustomTransformationConfiguration & WithIntermediateStorage(IntermediateStorageT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue