AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RdsDataApiConfig.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 RdsDataApiConfig();
36 AWS_APPSYNC_API RdsDataApiConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
46 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
47 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
48 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
49 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
50 inline RdsDataApiConfig& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
51 inline RdsDataApiConfig& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
52 inline RdsDataApiConfig& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
54
56
63 inline const Aws::String& GetSecretArn() const{ return m_secretArn; }
64 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
65 inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; }
66 inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); }
67 inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); }
68 inline RdsDataApiConfig& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;}
69 inline RdsDataApiConfig& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}
70 inline RdsDataApiConfig& WithSecretArn(const char* value) { SetSecretArn(value); return *this;}
72
74
77 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
78 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
79 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
80 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
81 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
82 inline RdsDataApiConfig& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
83 inline RdsDataApiConfig& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
84 inline RdsDataApiConfig& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
86 private:
87
88 Aws::String m_resourceArn;
89 bool m_resourceArnHasBeenSet = false;
90
91 Aws::String m_secretArn;
92 bool m_secretArnHasBeenSet = false;
93
94 Aws::String m_databaseName;
95 bool m_databaseNameHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace AppSync
100} // namespace Aws
AWS_APPSYNC_API RdsDataApiConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDatabaseName(const char *value)
void SetResourceArn(Aws::String &&value)
RdsDataApiConfig & WithResourceArn(Aws::String &&value)
RdsDataApiConfig & WithDatabaseName(const char *value)
RdsDataApiConfig & WithResourceArn(const char *value)
RdsDataApiConfig & WithDatabaseName(Aws::String &&value)
void SetDatabaseName(Aws::String &&value)
void SetSecretArn(const Aws::String &value)
AWS_APPSYNC_API RdsDataApiConfig(Aws::Utils::Json::JsonView jsonValue)
RdsDataApiConfig & WithSecretArn(const Aws::String &value)
const Aws::String & GetSecretArn() const
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
RdsDataApiConfig & WithDatabaseName(const Aws::String &value)
RdsDataApiConfig & WithResourceArn(const Aws::String &value)
RdsDataApiConfig & WithSecretArn(const char *value)
const Aws::String & GetDatabaseName() const
void SetResourceArn(const Aws::String &value)
void SetDatabaseName(const Aws::String &value)
void SetSecretArn(Aws::String &&value)
const Aws::String & GetResourceArn() const
RdsDataApiConfig & WithSecretArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue