AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
48 inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
49 inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
50 inline RdsHttpEndpointConfig& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
51 inline RdsHttpEndpointConfig& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
52 inline RdsHttpEndpointConfig& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
54
56
59 inline const Aws::String& GetDbClusterIdentifier() const{ return m_dbClusterIdentifier; }
60 inline bool DbClusterIdentifierHasBeenSet() const { return m_dbClusterIdentifierHasBeenSet; }
61 inline void SetDbClusterIdentifier(const Aws::String& value) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier = value; }
62 inline void SetDbClusterIdentifier(Aws::String&& value) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier = std::move(value); }
63 inline void SetDbClusterIdentifier(const char* value) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier.assign(value); }
65 inline RdsHttpEndpointConfig& WithDbClusterIdentifier(Aws::String&& value) { SetDbClusterIdentifier(std::move(value)); return *this;}
66 inline RdsHttpEndpointConfig& WithDbClusterIdentifier(const char* value) { SetDbClusterIdentifier(value); return *this;}
68
70
73 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
74 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
75 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
76 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
77 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
78 inline RdsHttpEndpointConfig& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
79 inline RdsHttpEndpointConfig& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
80 inline RdsHttpEndpointConfig& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
82
84
87 inline const Aws::String& GetSchema() const{ return m_schema; }
88 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
89 inline void SetSchema(const Aws::String& value) { m_schemaHasBeenSet = true; m_schema = value; }
90 inline void SetSchema(Aws::String&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); }
91 inline void SetSchema(const char* value) { m_schemaHasBeenSet = true; m_schema.assign(value); }
92 inline RdsHttpEndpointConfig& WithSchema(const Aws::String& value) { SetSchema(value); return *this;}
93 inline RdsHttpEndpointConfig& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;}
94 inline RdsHttpEndpointConfig& WithSchema(const char* value) { SetSchema(value); return *this;}
96
98
102 inline const Aws::String& GetAwsSecretStoreArn() const{ return m_awsSecretStoreArn; }
103 inline bool AwsSecretStoreArnHasBeenSet() const { return m_awsSecretStoreArnHasBeenSet; }
104 inline void SetAwsSecretStoreArn(const Aws::String& value) { m_awsSecretStoreArnHasBeenSet = true; m_awsSecretStoreArn = value; }
105 inline void SetAwsSecretStoreArn(Aws::String&& value) { m_awsSecretStoreArnHasBeenSet = true; m_awsSecretStoreArn = std::move(value); }
106 inline void SetAwsSecretStoreArn(const char* value) { m_awsSecretStoreArnHasBeenSet = true; m_awsSecretStoreArn.assign(value); }
108 inline RdsHttpEndpointConfig& WithAwsSecretStoreArn(Aws::String&& value) { SetAwsSecretStoreArn(std::move(value)); return *this;}
109 inline RdsHttpEndpointConfig& WithAwsSecretStoreArn(const char* value) { SetAwsSecretStoreArn(value); return *this;}
111 private:
112
113 Aws::String m_awsRegion;
114 bool m_awsRegionHasBeenSet = false;
115
116 Aws::String m_dbClusterIdentifier;
117 bool m_dbClusterIdentifierHasBeenSet = false;
118
119 Aws::String m_databaseName;
120 bool m_databaseNameHasBeenSet = false;
121
122 Aws::String m_schema;
123 bool m_schemaHasBeenSet = false;
124
125 Aws::String m_awsSecretStoreArn;
126 bool m_awsSecretStoreArnHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace AppSync
131} // namespace Aws
RdsHttpEndpointConfig & WithAwsSecretStoreArn(Aws::String &&value)
RdsHttpEndpointConfig & WithDbClusterIdentifier(const char *value)
RdsHttpEndpointConfig & WithDbClusterIdentifier(Aws::String &&value)
RdsHttpEndpointConfig & WithSchema(const char *value)
RdsHttpEndpointConfig & WithSchema(Aws::String &&value)
RdsHttpEndpointConfig & WithAwsSecretStoreArn(const char *value)
void SetAwsSecretStoreArn(const Aws::String &value)
AWS_APPSYNC_API RdsHttpEndpointConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
RdsHttpEndpointConfig & WithSchema(const Aws::String &value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
RdsHttpEndpointConfig & WithAwsSecretStoreArn(const Aws::String &value)
void SetDatabaseName(const Aws::String &value)
RdsHttpEndpointConfig & WithAwsRegion(const Aws::String &value)
RdsHttpEndpointConfig & WithAwsRegion(Aws::String &&value)
void SetDbClusterIdentifier(const Aws::String &value)
RdsHttpEndpointConfig & WithDatabaseName(Aws::String &&value)
RdsHttpEndpointConfig & WithDatabaseName(const Aws::String &value)
RdsHttpEndpointConfig & WithAwsRegion(const char *value)
AWS_APPSYNC_API RdsHttpEndpointConfig(Aws::Utils::Json::JsonView jsonValue)
RdsHttpEndpointConfig & WithDatabaseName(const char *value)
RdsHttpEndpointConfig & WithDbClusterIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue