AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
RdsHttpEndpointConfig.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppSync {
20namespace Model {
21
29 public:
30 AWS_APPSYNC_API RdsHttpEndpointConfig() = default;
33 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetAwsRegion() const { return m_awsRegion; }
40 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
41 template <typename AwsRegionT = Aws::String>
42 void SetAwsRegion(AwsRegionT&& value) {
43 m_awsRegionHasBeenSet = true;
44 m_awsRegion = std::forward<AwsRegionT>(value);
45 }
46 template <typename AwsRegionT = Aws::String>
47 RdsHttpEndpointConfig& WithAwsRegion(AwsRegionT&& value) {
48 SetAwsRegion(std::forward<AwsRegionT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDbClusterIdentifier() const { return m_dbClusterIdentifier; }
58 inline bool DbClusterIdentifierHasBeenSet() const { return m_dbClusterIdentifierHasBeenSet; }
59 template <typename DbClusterIdentifierT = Aws::String>
60 void SetDbClusterIdentifier(DbClusterIdentifierT&& value) {
61 m_dbClusterIdentifierHasBeenSet = true;
62 m_dbClusterIdentifier = std::forward<DbClusterIdentifierT>(value);
63 }
64 template <typename DbClusterIdentifierT = Aws::String>
65 RdsHttpEndpointConfig& WithDbClusterIdentifier(DbClusterIdentifierT&& value) {
66 SetDbClusterIdentifier(std::forward<DbClusterIdentifierT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
76 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
77 template <typename DatabaseNameT = Aws::String>
78 void SetDatabaseName(DatabaseNameT&& value) {
79 m_databaseNameHasBeenSet = true;
80 m_databaseName = std::forward<DatabaseNameT>(value);
81 }
82 template <typename DatabaseNameT = Aws::String>
83 RdsHttpEndpointConfig& WithDatabaseName(DatabaseNameT&& value) {
84 SetDatabaseName(std::forward<DatabaseNameT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetSchema() const { return m_schema; }
94 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
95 template <typename SchemaT = Aws::String>
96 void SetSchema(SchemaT&& value) {
97 m_schemaHasBeenSet = true;
98 m_schema = std::forward<SchemaT>(value);
99 }
100 template <typename SchemaT = Aws::String>
102 SetSchema(std::forward<SchemaT>(value));
103 return *this;
104 }
106
108
112 inline const Aws::String& GetAwsSecretStoreArn() const { return m_awsSecretStoreArn; }
113 inline bool AwsSecretStoreArnHasBeenSet() const { return m_awsSecretStoreArnHasBeenSet; }
114 template <typename AwsSecretStoreArnT = Aws::String>
115 void SetAwsSecretStoreArn(AwsSecretStoreArnT&& value) {
116 m_awsSecretStoreArnHasBeenSet = true;
117 m_awsSecretStoreArn = std::forward<AwsSecretStoreArnT>(value);
118 }
119 template <typename AwsSecretStoreArnT = Aws::String>
120 RdsHttpEndpointConfig& WithAwsSecretStoreArn(AwsSecretStoreArnT&& value) {
121 SetAwsSecretStoreArn(std::forward<AwsSecretStoreArnT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_awsRegion;
127
128 Aws::String m_dbClusterIdentifier;
129
130 Aws::String m_databaseName;
131
132 Aws::String m_schema;
133
134 Aws::String m_awsSecretStoreArn;
135 bool m_awsRegionHasBeenSet = false;
136 bool m_dbClusterIdentifierHasBeenSet = false;
137 bool m_databaseNameHasBeenSet = false;
138 bool m_schemaHasBeenSet = false;
139 bool m_awsSecretStoreArnHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace AppSync
144} // namespace Aws
void SetDbClusterIdentifier(DbClusterIdentifierT &&value)
AWS_APPSYNC_API RdsHttpEndpointConfig()=default
RdsHttpEndpointConfig & WithSchema(SchemaT &&value)
void SetAwsSecretStoreArn(AwsSecretStoreArnT &&value)
RdsHttpEndpointConfig & WithAwsRegion(AwsRegionT &&value)
AWS_APPSYNC_API RdsHttpEndpointConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
RdsHttpEndpointConfig & WithDbClusterIdentifier(DbClusterIdentifierT &&value)
RdsHttpEndpointConfig & WithAwsSecretStoreArn(AwsSecretStoreArnT &&value)
AWS_APPSYNC_API RdsHttpEndpointConfig(Aws::Utils::Json::JsonView jsonValue)
RdsHttpEndpointConfig & WithDatabaseName(DatabaseNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue