AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TransformationConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/QueryTransformationMode.h>
9#include <aws/bedrock-agent-runtime/model/TextToSqlConfiguration.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 BedrockAgentRuntime
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BEDROCKAGENTRUNTIME_API TransformationConfiguration() = default;
37 AWS_BEDROCKAGENTRUNTIME_API TransformationConfiguration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENTRUNTIME_API TransformationConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline QueryTransformationMode GetMode() const { return m_mode; }
47 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
48 inline void SetMode(QueryTransformationMode value) { m_modeHasBeenSet = true; m_mode = value; }
51
53
56 inline const TextToSqlConfiguration& GetTextToSqlConfiguration() const { return m_textToSqlConfiguration; }
57 inline bool TextToSqlConfigurationHasBeenSet() const { return m_textToSqlConfigurationHasBeenSet; }
58 template<typename TextToSqlConfigurationT = TextToSqlConfiguration>
59 void SetTextToSqlConfiguration(TextToSqlConfigurationT&& value) { m_textToSqlConfigurationHasBeenSet = true; m_textToSqlConfiguration = std::forward<TextToSqlConfigurationT>(value); }
60 template<typename TextToSqlConfigurationT = TextToSqlConfiguration>
61 TransformationConfiguration& WithTextToSqlConfiguration(TextToSqlConfigurationT&& value) { SetTextToSqlConfiguration(std::forward<TextToSqlConfigurationT>(value)); return *this;}
63 private:
64
66 bool m_modeHasBeenSet = false;
67
68 TextToSqlConfiguration m_textToSqlConfiguration;
69 bool m_textToSqlConfigurationHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace BedrockAgentRuntime
74} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API TransformationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
TransformationConfiguration & WithTextToSqlConfiguration(TextToSqlConfigurationT &&value)
AWS_BEDROCKAGENTRUNTIME_API TransformationConfiguration()=default
AWS_BEDROCKAGENTRUNTIME_API TransformationConfiguration(Aws::Utils::Json::JsonView jsonValue)
TransformationConfiguration & WithMode(QueryTransformationMode value)
Aws::Utils::Json::JsonValue JsonValue