AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
RedshiftQueryEngineStorageConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/RedshiftQueryEngineAwsDataCatalogStorageConfiguration.h>
9#include <aws/bedrock-agent/model/RedshiftQueryEngineRedshiftStorageConfiguration.h>
10#include <aws/bedrock-agent/model/RedshiftQueryEngineStorageType.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
39 {
40 public:
41 AWS_BEDROCKAGENT_API RedshiftQueryEngineStorageConfiguration() = default;
44 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const RedshiftQueryEngineAwsDataCatalogStorageConfiguration& GetAwsDataCatalogConfiguration() const { return m_awsDataCatalogConfiguration; }
52 inline bool AwsDataCatalogConfigurationHasBeenSet() const { return m_awsDataCatalogConfigurationHasBeenSet; }
53 template<typename AwsDataCatalogConfigurationT = RedshiftQueryEngineAwsDataCatalogStorageConfiguration>
54 void SetAwsDataCatalogConfiguration(AwsDataCatalogConfigurationT&& value) { m_awsDataCatalogConfigurationHasBeenSet = true; m_awsDataCatalogConfiguration = std::forward<AwsDataCatalogConfigurationT>(value); }
55 template<typename AwsDataCatalogConfigurationT = RedshiftQueryEngineAwsDataCatalogStorageConfiguration>
56 RedshiftQueryEngineStorageConfiguration& WithAwsDataCatalogConfiguration(AwsDataCatalogConfigurationT&& value) { SetAwsDataCatalogConfiguration(std::forward<AwsDataCatalogConfigurationT>(value)); return *this;}
58
60
63 inline const RedshiftQueryEngineRedshiftStorageConfiguration& GetRedshiftConfiguration() const { return m_redshiftConfiguration; }
64 inline bool RedshiftConfigurationHasBeenSet() const { return m_redshiftConfigurationHasBeenSet; }
65 template<typename RedshiftConfigurationT = RedshiftQueryEngineRedshiftStorageConfiguration>
66 void SetRedshiftConfiguration(RedshiftConfigurationT&& value) { m_redshiftConfigurationHasBeenSet = true; m_redshiftConfiguration = std::forward<RedshiftConfigurationT>(value); }
67 template<typename RedshiftConfigurationT = RedshiftQueryEngineRedshiftStorageConfiguration>
68 RedshiftQueryEngineStorageConfiguration& WithRedshiftConfiguration(RedshiftConfigurationT&& value) { SetRedshiftConfiguration(std::forward<RedshiftConfigurationT>(value)); return *this;}
70
72
75 inline RedshiftQueryEngineStorageType GetType() const { return m_type; }
76 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
77 inline void SetType(RedshiftQueryEngineStorageType value) { m_typeHasBeenSet = true; m_type = value; }
80 private:
81
83 bool m_awsDataCatalogConfigurationHasBeenSet = false;
84
86 bool m_redshiftConfigurationHasBeenSet = false;
87
89 bool m_typeHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace BedrockAgent
94} // namespace Aws
const RedshiftQueryEngineRedshiftStorageConfiguration & GetRedshiftConfiguration() const
const RedshiftQueryEngineAwsDataCatalogStorageConfiguration & GetAwsDataCatalogConfiguration() const
RedshiftQueryEngineStorageConfiguration & WithAwsDataCatalogConfiguration(AwsDataCatalogConfigurationT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftQueryEngineStorageConfiguration & WithType(RedshiftQueryEngineStorageType value)
AWS_BEDROCKAGENT_API RedshiftQueryEngineStorageConfiguration(Aws::Utils::Json::JsonView jsonValue)
RedshiftQueryEngineStorageConfiguration & WithRedshiftConfiguration(RedshiftConfigurationT &&value)
AWS_BEDROCKAGENT_API RedshiftQueryEngineStorageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue