AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetIntermediateStorage(const IntermediateStorage& value) { m_intermediateStorageHasBeenSet = true; m_intermediateStorage = value; }
57 inline void SetIntermediateStorage(IntermediateStorage&& value) { m_intermediateStorageHasBeenSet = true; m_intermediateStorage = std::move(value); }
61
63
66 inline const Aws::Vector<Transformation>& GetTransformations() const{ return m_transformations; }
67 inline bool TransformationsHasBeenSet() const { return m_transformationsHasBeenSet; }
68 inline void SetTransformations(const Aws::Vector<Transformation>& value) { m_transformationsHasBeenSet = true; m_transformations = value; }
69 inline void SetTransformations(Aws::Vector<Transformation>&& value) { m_transformationsHasBeenSet = true; m_transformations = std::move(value); }
72 inline CustomTransformationConfiguration& AddTransformations(const Transformation& value) { m_transformationsHasBeenSet = true; m_transformations.push_back(value); return *this; }
73 inline CustomTransformationConfiguration& AddTransformations(Transformation&& value) { m_transformationsHasBeenSet = true; m_transformations.push_back(std::move(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 & WithTransformations(const Aws::Vector< Transformation > &value)
CustomTransformationConfiguration & WithTransformations(Aws::Vector< Transformation > &&value)
AWS_BEDROCKAGENT_API CustomTransformationConfiguration(Aws::Utils::Json::JsonView jsonValue)
CustomTransformationConfiguration & AddTransformations(const Transformation &value)
CustomTransformationConfiguration & WithIntermediateStorage(const IntermediateStorage &value)
CustomTransformationConfiguration & WithIntermediateStorage(IntermediateStorage &&value)
CustomTransformationConfiguration & AddTransformations(Transformation &&value)
void SetTransformations(const Aws::Vector< Transformation > &value)
AWS_BEDROCKAGENT_API CustomTransformationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue