AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
RdsConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent/model/RdsFieldMapping.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 BedrockAgent
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_BEDROCKAGENT_API RdsConfiguration() = default;
39 AWS_BEDROCKAGENT_API RdsConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKAGENT_API RdsConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetCredentialsSecretArn() const { return m_credentialsSecretArn; }
50 inline bool CredentialsSecretArnHasBeenSet() const { return m_credentialsSecretArnHasBeenSet; }
51 template<typename CredentialsSecretArnT = Aws::String>
52 void SetCredentialsSecretArn(CredentialsSecretArnT&& value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn = std::forward<CredentialsSecretArnT>(value); }
53 template<typename CredentialsSecretArnT = Aws::String>
54 RdsConfiguration& WithCredentialsSecretArn(CredentialsSecretArnT&& value) { SetCredentialsSecretArn(std::forward<CredentialsSecretArnT>(value)); return *this;}
56
58
61 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
62 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
63 template<typename DatabaseNameT = Aws::String>
64 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
65 template<typename DatabaseNameT = Aws::String>
66 RdsConfiguration& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
68
70
74 inline const RdsFieldMapping& GetFieldMapping() const { return m_fieldMapping; }
75 inline bool FieldMappingHasBeenSet() const { return m_fieldMappingHasBeenSet; }
76 template<typename FieldMappingT = RdsFieldMapping>
77 void SetFieldMapping(FieldMappingT&& value) { m_fieldMappingHasBeenSet = true; m_fieldMapping = std::forward<FieldMappingT>(value); }
78 template<typename FieldMappingT = RdsFieldMapping>
79 RdsConfiguration& WithFieldMapping(FieldMappingT&& value) { SetFieldMapping(std::forward<FieldMappingT>(value)); return *this;}
81
83
86 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
87 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
88 template<typename ResourceArnT = Aws::String>
89 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::forward<ResourceArnT>(value); }
90 template<typename ResourceArnT = Aws::String>
91 RdsConfiguration& WithResourceArn(ResourceArnT&& value) { SetResourceArn(std::forward<ResourceArnT>(value)); return *this;}
93
95
98 inline const Aws::String& GetTableName() const { return m_tableName; }
99 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
100 template<typename TableNameT = Aws::String>
101 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
102 template<typename TableNameT = Aws::String>
103 RdsConfiguration& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
105 private:
106
107 Aws::String m_credentialsSecretArn;
108 bool m_credentialsSecretArnHasBeenSet = false;
109
110 Aws::String m_databaseName;
111 bool m_databaseNameHasBeenSet = false;
112
113 RdsFieldMapping m_fieldMapping;
114 bool m_fieldMappingHasBeenSet = false;
115
116 Aws::String m_resourceArn;
117 bool m_resourceArnHasBeenSet = false;
118
119 Aws::String m_tableName;
120 bool m_tableNameHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace BedrockAgent
125} // namespace Aws
void SetDatabaseName(DatabaseNameT &&value)
RdsConfiguration & WithResourceArn(ResourceArnT &&value)
AWS_BEDROCKAGENT_API RdsConfiguration()=default
RdsConfiguration & WithTableName(TableNameT &&value)
void SetFieldMapping(FieldMappingT &&value)
const RdsFieldMapping & GetFieldMapping() const
RdsConfiguration & WithDatabaseName(DatabaseNameT &&value)
RdsConfiguration & WithFieldMapping(FieldMappingT &&value)
const Aws::String & GetDatabaseName() const
RdsConfiguration & WithCredentialsSecretArn(CredentialsSecretArnT &&value)
AWS_BEDROCKAGENT_API RdsConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCredentialsSecretArn() const
AWS_BEDROCKAGENT_API RdsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCredentialsSecretArn(CredentialsSecretArnT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetResourceArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue