AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataProviderDescriptor.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_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 DatabaseMigrationService
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_DATABASEMIGRATIONSERVICE_API DataProviderDescriptor();
35 AWS_DATABASEMIGRATIONSERVICE_API DataProviderDescriptor(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DATABASEMIGRATIONSERVICE_API DataProviderDescriptor& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Aws::String& GetSecretsManagerSecretId() const{ return m_secretsManagerSecretId; }
46 inline bool SecretsManagerSecretIdHasBeenSet() const { return m_secretsManagerSecretIdHasBeenSet; }
47 inline void SetSecretsManagerSecretId(const Aws::String& value) { m_secretsManagerSecretIdHasBeenSet = true; m_secretsManagerSecretId = value; }
48 inline void SetSecretsManagerSecretId(Aws::String&& value) { m_secretsManagerSecretIdHasBeenSet = true; m_secretsManagerSecretId = std::move(value); }
49 inline void SetSecretsManagerSecretId(const char* value) { m_secretsManagerSecretIdHasBeenSet = true; m_secretsManagerSecretId.assign(value); }
52 inline DataProviderDescriptor& WithSecretsManagerSecretId(const char* value) { SetSecretsManagerSecretId(value); return *this;}
54
56
59 inline const Aws::String& GetSecretsManagerAccessRoleArn() const{ return m_secretsManagerAccessRoleArn; }
60 inline bool SecretsManagerAccessRoleArnHasBeenSet() const { return m_secretsManagerAccessRoleArnHasBeenSet; }
61 inline void SetSecretsManagerAccessRoleArn(const Aws::String& value) { m_secretsManagerAccessRoleArnHasBeenSet = true; m_secretsManagerAccessRoleArn = value; }
62 inline void SetSecretsManagerAccessRoleArn(Aws::String&& value) { m_secretsManagerAccessRoleArnHasBeenSet = true; m_secretsManagerAccessRoleArn = std::move(value); }
63 inline void SetSecretsManagerAccessRoleArn(const char* value) { m_secretsManagerAccessRoleArnHasBeenSet = true; m_secretsManagerAccessRoleArn.assign(value); }
68
70
73 inline const Aws::String& GetDataProviderName() const{ return m_dataProviderName; }
74 inline bool DataProviderNameHasBeenSet() const { return m_dataProviderNameHasBeenSet; }
75 inline void SetDataProviderName(const Aws::String& value) { m_dataProviderNameHasBeenSet = true; m_dataProviderName = value; }
76 inline void SetDataProviderName(Aws::String&& value) { m_dataProviderNameHasBeenSet = true; m_dataProviderName = std::move(value); }
77 inline void SetDataProviderName(const char* value) { m_dataProviderNameHasBeenSet = true; m_dataProviderName.assign(value); }
78 inline DataProviderDescriptor& WithDataProviderName(const Aws::String& value) { SetDataProviderName(value); return *this;}
79 inline DataProviderDescriptor& WithDataProviderName(Aws::String&& value) { SetDataProviderName(std::move(value)); return *this;}
80 inline DataProviderDescriptor& WithDataProviderName(const char* value) { SetDataProviderName(value); return *this;}
82
84
87 inline const Aws::String& GetDataProviderArn() const{ return m_dataProviderArn; }
88 inline bool DataProviderArnHasBeenSet() const { return m_dataProviderArnHasBeenSet; }
89 inline void SetDataProviderArn(const Aws::String& value) { m_dataProviderArnHasBeenSet = true; m_dataProviderArn = value; }
90 inline void SetDataProviderArn(Aws::String&& value) { m_dataProviderArnHasBeenSet = true; m_dataProviderArn = std::move(value); }
91 inline void SetDataProviderArn(const char* value) { m_dataProviderArnHasBeenSet = true; m_dataProviderArn.assign(value); }
92 inline DataProviderDescriptor& WithDataProviderArn(const Aws::String& value) { SetDataProviderArn(value); return *this;}
93 inline DataProviderDescriptor& WithDataProviderArn(Aws::String&& value) { SetDataProviderArn(std::move(value)); return *this;}
94 inline DataProviderDescriptor& WithDataProviderArn(const char* value) { SetDataProviderArn(value); return *this;}
96 private:
97
98 Aws::String m_secretsManagerSecretId;
99 bool m_secretsManagerSecretIdHasBeenSet = false;
100
101 Aws::String m_secretsManagerAccessRoleArn;
102 bool m_secretsManagerAccessRoleArnHasBeenSet = false;
103
104 Aws::String m_dataProviderName;
105 bool m_dataProviderNameHasBeenSet = false;
106
107 Aws::String m_dataProviderArn;
108 bool m_dataProviderArnHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace DatabaseMigrationService
113} // namespace Aws
DataProviderDescriptor & WithDataProviderArn(const Aws::String &value)
DataProviderDescriptor & WithSecretsManagerSecretId(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API DataProviderDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
DataProviderDescriptor & WithDataProviderArn(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API DataProviderDescriptor(Aws::Utils::Json::JsonView jsonValue)
DataProviderDescriptor & WithSecretsManagerSecretId(const Aws::String &value)
DataProviderDescriptor & WithDataProviderArn(Aws::String &&value)
DataProviderDescriptor & WithSecretsManagerAccessRoleArn(const char *value)
DataProviderDescriptor & WithDataProviderName(const char *value)
DataProviderDescriptor & WithSecretsManagerSecretId(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API DataProviderDescriptor()
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DataProviderDescriptor & WithDataProviderName(Aws::String &&value)
DataProviderDescriptor & WithDataProviderName(const Aws::String &value)
DataProviderDescriptor & WithSecretsManagerAccessRoleArn(Aws::String &&value)
DataProviderDescriptor & WithSecretsManagerAccessRoleArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue