AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppSync
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_APPSYNC_API RdsHttpEndpointConfig() = default;
38 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAwsRegion() const { return m_awsRegion; }
46 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
47 template<typename AwsRegionT = Aws::String>
48 void SetAwsRegion(AwsRegionT&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::forward<AwsRegionT>(value); }
49 template<typename AwsRegionT = Aws::String>
50 RdsHttpEndpointConfig& WithAwsRegion(AwsRegionT&& value) { SetAwsRegion(std::forward<AwsRegionT>(value)); return *this;}
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) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier = std::forward<DbClusterIdentifierT>(value); }
61 template<typename DbClusterIdentifierT = Aws::String>
62 RdsHttpEndpointConfig& WithDbClusterIdentifier(DbClusterIdentifierT&& value) { SetDbClusterIdentifier(std::forward<DbClusterIdentifierT>(value)); return *this;}
64
66
69 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
70 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
71 template<typename DatabaseNameT = Aws::String>
72 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
73 template<typename DatabaseNameT = Aws::String>
74 RdsHttpEndpointConfig& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
76
78
81 inline const Aws::String& GetSchema() const { return m_schema; }
82 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
83 template<typename SchemaT = Aws::String>
84 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet = true; m_schema = std::forward<SchemaT>(value); }
85 template<typename SchemaT = Aws::String>
86 RdsHttpEndpointConfig& WithSchema(SchemaT&& value) { SetSchema(std::forward<SchemaT>(value)); return *this;}
88
90
94 inline const Aws::String& GetAwsSecretStoreArn() const { return m_awsSecretStoreArn; }
95 inline bool AwsSecretStoreArnHasBeenSet() const { return m_awsSecretStoreArnHasBeenSet; }
96 template<typename AwsSecretStoreArnT = Aws::String>
97 void SetAwsSecretStoreArn(AwsSecretStoreArnT&& value) { m_awsSecretStoreArnHasBeenSet = true; m_awsSecretStoreArn = std::forward<AwsSecretStoreArnT>(value); }
98 template<typename AwsSecretStoreArnT = Aws::String>
99 RdsHttpEndpointConfig& WithAwsSecretStoreArn(AwsSecretStoreArnT&& value) { SetAwsSecretStoreArn(std::forward<AwsSecretStoreArnT>(value)); return *this;}
101 private:
102
103 Aws::String m_awsRegion;
104 bool m_awsRegionHasBeenSet = false;
105
106 Aws::String m_dbClusterIdentifier;
107 bool m_dbClusterIdentifierHasBeenSet = false;
108
109 Aws::String m_databaseName;
110 bool m_databaseNameHasBeenSet = false;
111
112 Aws::String m_schema;
113 bool m_schemaHasBeenSet = false;
114
115 Aws::String m_awsSecretStoreArn;
116 bool m_awsSecretStoreArnHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace AppSync
121} // 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