AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
RedshiftQueryEngineConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/RedshiftProvisionedConfiguration.h>
9#include <aws/bedrock-agent/model/RedshiftQueryEngineType.h>
10#include <aws/bedrock-agent/model/RedshiftServerlessConfiguration.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
35 public:
36 AWS_BEDROCKAGENT_API RedshiftQueryEngineConfiguration() = default;
39 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline RedshiftQueryEngineType GetType() const { return m_type; }
46 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
47 inline void SetType(RedshiftQueryEngineType value) {
48 m_typeHasBeenSet = true;
49 m_type = value;
50 }
52 SetType(value);
53 return *this;
54 }
56
58
61 inline const RedshiftServerlessConfiguration& GetServerlessConfiguration() const { return m_serverlessConfiguration; }
62 inline bool ServerlessConfigurationHasBeenSet() const { return m_serverlessConfigurationHasBeenSet; }
63 template <typename ServerlessConfigurationT = RedshiftServerlessConfiguration>
65 m_serverlessConfigurationHasBeenSet = true;
66 m_serverlessConfiguration = std::forward<ServerlessConfigurationT>(value);
67 }
68 template <typename ServerlessConfigurationT = RedshiftServerlessConfiguration>
70 SetServerlessConfiguration(std::forward<ServerlessConfigurationT>(value));
71 return *this;
72 }
74
76
79 inline const RedshiftProvisionedConfiguration& GetProvisionedConfiguration() const { return m_provisionedConfiguration; }
80 inline bool ProvisionedConfigurationHasBeenSet() const { return m_provisionedConfigurationHasBeenSet; }
81 template <typename ProvisionedConfigurationT = RedshiftProvisionedConfiguration>
83 m_provisionedConfigurationHasBeenSet = true;
84 m_provisionedConfiguration = std::forward<ProvisionedConfigurationT>(value);
85 }
86 template <typename ProvisionedConfigurationT = RedshiftProvisionedConfiguration>
88 SetProvisionedConfiguration(std::forward<ProvisionedConfigurationT>(value));
89 return *this;
90 }
92 private:
94
95 RedshiftServerlessConfiguration m_serverlessConfiguration;
96
97 RedshiftProvisionedConfiguration m_provisionedConfiguration;
98 bool m_typeHasBeenSet = false;
99 bool m_serverlessConfigurationHasBeenSet = false;
100 bool m_provisionedConfigurationHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace BedrockAgent
105} // namespace Aws
const RedshiftServerlessConfiguration & GetServerlessConfiguration() const
RedshiftQueryEngineConfiguration & WithServerlessConfiguration(ServerlessConfigurationT &&value)
AWS_BEDROCKAGENT_API RedshiftQueryEngineConfiguration()=default
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftQueryEngineConfiguration & WithProvisionedConfiguration(ProvisionedConfigurationT &&value)
AWS_BEDROCKAGENT_API RedshiftQueryEngineConfiguration(Aws::Utils::Json::JsonView jsonValue)
const RedshiftProvisionedConfiguration & GetProvisionedConfiguration() const
AWS_BEDROCKAGENT_API RedshiftQueryEngineConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RedshiftQueryEngineConfiguration & WithType(RedshiftQueryEngineType value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue