AWS SDK for C++

AWS SDK for C++ Version 1.11.633

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
48 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
49 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
50 template<typename ResourceArnT = Aws::String>
51 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::forward<ResourceArnT>(value); }
52 template<typename ResourceArnT = Aws::String>
53 RdsConfiguration& WithResourceArn(ResourceArnT&& value) { SetResourceArn(std::forward<ResourceArnT>(value)); return *this;}
55
57
61 inline const Aws::String& GetCredentialsSecretArn() const { return m_credentialsSecretArn; }
62 inline bool CredentialsSecretArnHasBeenSet() const { return m_credentialsSecretArnHasBeenSet; }
63 template<typename CredentialsSecretArnT = Aws::String>
64 void SetCredentialsSecretArn(CredentialsSecretArnT&& value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn = std::forward<CredentialsSecretArnT>(value); }
65 template<typename CredentialsSecretArnT = Aws::String>
66 RdsConfiguration& WithCredentialsSecretArn(CredentialsSecretArnT&& value) { SetCredentialsSecretArn(std::forward<CredentialsSecretArnT>(value)); return *this;}
68
70
73 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
74 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
75 template<typename DatabaseNameT = Aws::String>
76 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
77 template<typename DatabaseNameT = Aws::String>
78 RdsConfiguration& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
80
82
85 inline const Aws::String& GetTableName() const { return m_tableName; }
86 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
87 template<typename TableNameT = Aws::String>
88 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
89 template<typename TableNameT = Aws::String>
90 RdsConfiguration& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
92
94
98 inline const RdsFieldMapping& GetFieldMapping() const { return m_fieldMapping; }
99 inline bool FieldMappingHasBeenSet() const { return m_fieldMappingHasBeenSet; }
100 template<typename FieldMappingT = RdsFieldMapping>
101 void SetFieldMapping(FieldMappingT&& value) { m_fieldMappingHasBeenSet = true; m_fieldMapping = std::forward<FieldMappingT>(value); }
102 template<typename FieldMappingT = RdsFieldMapping>
103 RdsConfiguration& WithFieldMapping(FieldMappingT&& value) { SetFieldMapping(std::forward<FieldMappingT>(value)); return *this;}
105 private:
106
107 Aws::String m_resourceArn;
108 bool m_resourceArnHasBeenSet = false;
109
110 Aws::String m_credentialsSecretArn;
111 bool m_credentialsSecretArnHasBeenSet = false;
112
113 Aws::String m_databaseName;
114 bool m_databaseNameHasBeenSet = false;
115
116 Aws::String m_tableName;
117 bool m_tableNameHasBeenSet = false;
118
119 RdsFieldMapping m_fieldMapping;
120 bool m_fieldMappingHasBeenSet = 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