AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
RDSMetadata.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/machinelearning/MachineLearning_EXPORTS.h>
9#include <aws/machinelearning/model/RDSDatabase.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MachineLearning {
21namespace Model {
22
30 public:
31 AWS_MACHINELEARNING_API RDSMetadata() = default;
32 AWS_MACHINELEARNING_API RDSMetadata(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MACHINELEARNING_API RDSMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const RDSDatabase& GetDatabase() const { return m_database; }
41 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
42 template <typename DatabaseT = RDSDatabase>
43 void SetDatabase(DatabaseT&& value) {
44 m_databaseHasBeenSet = true;
45 m_database = std::forward<DatabaseT>(value);
46 }
47 template <typename DatabaseT = RDSDatabase>
48 RDSMetadata& WithDatabase(DatabaseT&& value) {
49 SetDatabase(std::forward<DatabaseT>(value));
50 return *this;
51 }
53
55
56 inline const Aws::String& GetDatabaseUserName() const { return m_databaseUserName; }
57 inline bool DatabaseUserNameHasBeenSet() const { return m_databaseUserNameHasBeenSet; }
58 template <typename DatabaseUserNameT = Aws::String>
59 void SetDatabaseUserName(DatabaseUserNameT&& value) {
60 m_databaseUserNameHasBeenSet = true;
61 m_databaseUserName = std::forward<DatabaseUserNameT>(value);
62 }
63 template <typename DatabaseUserNameT = Aws::String>
64 RDSMetadata& WithDatabaseUserName(DatabaseUserNameT&& value) {
65 SetDatabaseUserName(std::forward<DatabaseUserNameT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetSelectSqlQuery() const { return m_selectSqlQuery; }
76 inline bool SelectSqlQueryHasBeenSet() const { return m_selectSqlQueryHasBeenSet; }
77 template <typename SelectSqlQueryT = Aws::String>
78 void SetSelectSqlQuery(SelectSqlQueryT&& value) {
79 m_selectSqlQueryHasBeenSet = true;
80 m_selectSqlQuery = std::forward<SelectSqlQueryT>(value);
81 }
82 template <typename SelectSqlQueryT = Aws::String>
83 RDSMetadata& WithSelectSqlQuery(SelectSqlQueryT&& value) {
84 SetSelectSqlQuery(std::forward<SelectSqlQueryT>(value));
85 return *this;
86 }
88
90
97 inline const Aws::String& GetResourceRole() const { return m_resourceRole; }
98 inline bool ResourceRoleHasBeenSet() const { return m_resourceRoleHasBeenSet; }
99 template <typename ResourceRoleT = Aws::String>
100 void SetResourceRole(ResourceRoleT&& value) {
101 m_resourceRoleHasBeenSet = true;
102 m_resourceRole = std::forward<ResourceRoleT>(value);
103 }
104 template <typename ResourceRoleT = Aws::String>
105 RDSMetadata& WithResourceRole(ResourceRoleT&& value) {
106 SetResourceRole(std::forward<ResourceRoleT>(value));
107 return *this;
108 }
110
112
119 inline const Aws::String& GetServiceRole() const { return m_serviceRole; }
120 inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
121 template <typename ServiceRoleT = Aws::String>
122 void SetServiceRole(ServiceRoleT&& value) {
123 m_serviceRoleHasBeenSet = true;
124 m_serviceRole = std::forward<ServiceRoleT>(value);
125 }
126 template <typename ServiceRoleT = Aws::String>
127 RDSMetadata& WithServiceRole(ServiceRoleT&& value) {
128 SetServiceRole(std::forward<ServiceRoleT>(value));
129 return *this;
130 }
132
134
139 inline const Aws::String& GetDataPipelineId() const { return m_dataPipelineId; }
140 inline bool DataPipelineIdHasBeenSet() const { return m_dataPipelineIdHasBeenSet; }
141 template <typename DataPipelineIdT = Aws::String>
142 void SetDataPipelineId(DataPipelineIdT&& value) {
143 m_dataPipelineIdHasBeenSet = true;
144 m_dataPipelineId = std::forward<DataPipelineIdT>(value);
145 }
146 template <typename DataPipelineIdT = Aws::String>
147 RDSMetadata& WithDataPipelineId(DataPipelineIdT&& value) {
148 SetDataPipelineId(std::forward<DataPipelineIdT>(value));
149 return *this;
150 }
152 private:
153 RDSDatabase m_database;
154
155 Aws::String m_databaseUserName;
156
157 Aws::String m_selectSqlQuery;
158
159 Aws::String m_resourceRole;
160
161 Aws::String m_serviceRole;
162
163 Aws::String m_dataPipelineId;
164 bool m_databaseHasBeenSet = false;
165 bool m_databaseUserNameHasBeenSet = false;
166 bool m_selectSqlQueryHasBeenSet = false;
167 bool m_resourceRoleHasBeenSet = false;
168 bool m_serviceRoleHasBeenSet = false;
169 bool m_dataPipelineIdHasBeenSet = false;
170};
171
172} // namespace Model
173} // namespace MachineLearning
174} // namespace Aws
RDSMetadata & WithResourceRole(ResourceRoleT &&value)
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACHINELEARNING_API RDSMetadata()=default
RDSMetadata & WithDatabaseUserName(DatabaseUserNameT &&value)
Definition RDSMetadata.h:64
RDSMetadata & WithServiceRole(ServiceRoleT &&value)
RDSMetadata & WithDataPipelineId(DataPipelineIdT &&value)
RDSMetadata & WithSelectSqlQuery(SelectSqlQueryT &&value)
Definition RDSMetadata.h:83
const Aws::String & GetResourceRole() const
Definition RDSMetadata.h:97
void SetServiceRole(ServiceRoleT &&value)
void SetDatabase(DatabaseT &&value)
Definition RDSMetadata.h:43
const Aws::String & GetDatabaseUserName() const
Definition RDSMetadata.h:56
RDSMetadata & WithDatabase(DatabaseT &&value)
Definition RDSMetadata.h:48
void SetDatabaseUserName(DatabaseUserNameT &&value)
Definition RDSMetadata.h:59
const Aws::String & GetServiceRole() const
const Aws::String & GetSelectSqlQuery() const
Definition RDSMetadata.h:75
const Aws::String & GetDataPipelineId() const
const RDSDatabase & GetDatabase() const
Definition RDSMetadata.h:40
void SetSelectSqlQuery(SelectSqlQueryT &&value)
Definition RDSMetadata.h:78
void SetDataPipelineId(DataPipelineIdT &&value)
AWS_MACHINELEARNING_API RDSMetadata(Aws::Utils::Json::JsonView jsonValue)
void SetResourceRole(ResourceRoleT &&value)
AWS_MACHINELEARNING_API RDSMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue