AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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/core/utils/memory/stl/AWSVector.h>
10#include <aws/bedrock-agent/model/Transformation.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 BedrockAgent
24{
25namespace Model
26{
27
42 {
43 public:
44 AWS_BEDROCKAGENT_API CustomTransformationConfiguration() = default;
47 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const IntermediateStorage& GetIntermediateStorage() const { return m_intermediateStorage; }
55 inline bool IntermediateStorageHasBeenSet() const { return m_intermediateStorageHasBeenSet; }
56 template<typename IntermediateStorageT = IntermediateStorage>
57 void SetIntermediateStorage(IntermediateStorageT&& value) { m_intermediateStorageHasBeenSet = true; m_intermediateStorage = std::forward<IntermediateStorageT>(value); }
58 template<typename IntermediateStorageT = IntermediateStorage>
59 CustomTransformationConfiguration& WithIntermediateStorage(IntermediateStorageT&& value) { SetIntermediateStorage(std::forward<IntermediateStorageT>(value)); return *this;}
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>>
69 void SetTransformations(TransformationsT&& value) { m_transformationsHasBeenSet = true; m_transformations = std::forward<TransformationsT>(value); }
70 template<typename TransformationsT = Aws::Vector<Transformation>>
71 CustomTransformationConfiguration& WithTransformations(TransformationsT&& value) { SetTransformations(std::forward<TransformationsT>(value)); return *this;}
72 template<typename TransformationsT = Transformation>
73 CustomTransformationConfiguration& AddTransformations(TransformationsT&& value) { m_transformationsHasBeenSet = true; m_transformations.emplace_back(std::forward<TransformationsT>(value)); return *this; }
75 private:
76
77 IntermediateStorage m_intermediateStorage;
78 bool m_intermediateStorageHasBeenSet = false;
79
80 Aws::Vector<Transformation> m_transformations;
81 bool m_transformationsHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace BedrockAgent
86} // 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::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue