AWS SDK for C++  1.9.109
AWS SDK for C++
RDSMetadata.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace MachineLearning
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const RDSDatabase& GetDatabase() const{ return m_database; }
46 
50  inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
51 
55  inline void SetDatabase(const RDSDatabase& value) { m_databaseHasBeenSet = true; m_database = value; }
56 
60  inline void SetDatabase(RDSDatabase&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
61 
65  inline RDSMetadata& WithDatabase(const RDSDatabase& value) { SetDatabase(value); return *this;}
66 
70  inline RDSMetadata& WithDatabase(RDSDatabase&& value) { SetDatabase(std::move(value)); return *this;}
71 
72 
73 
74  inline const Aws::String& GetDatabaseUserName() const{ return m_databaseUserName; }
75 
76 
77  inline bool DatabaseUserNameHasBeenSet() const { return m_databaseUserNameHasBeenSet; }
78 
79 
80  inline void SetDatabaseUserName(const Aws::String& value) { m_databaseUserNameHasBeenSet = true; m_databaseUserName = value; }
81 
82 
83  inline void SetDatabaseUserName(Aws::String&& value) { m_databaseUserNameHasBeenSet = true; m_databaseUserName = std::move(value); }
84 
85 
86  inline void SetDatabaseUserName(const char* value) { m_databaseUserNameHasBeenSet = true; m_databaseUserName.assign(value); }
87 
88 
89  inline RDSMetadata& WithDatabaseUserName(const Aws::String& value) { SetDatabaseUserName(value); return *this;}
90 
91 
92  inline RDSMetadata& WithDatabaseUserName(Aws::String&& value) { SetDatabaseUserName(std::move(value)); return *this;}
93 
94 
95  inline RDSMetadata& WithDatabaseUserName(const char* value) { SetDatabaseUserName(value); return *this;}
96 
97 
102  inline const Aws::String& GetSelectSqlQuery() const{ return m_selectSqlQuery; }
103 
108  inline bool SelectSqlQueryHasBeenSet() const { return m_selectSqlQueryHasBeenSet; }
109 
114  inline void SetSelectSqlQuery(const Aws::String& value) { m_selectSqlQueryHasBeenSet = true; m_selectSqlQuery = value; }
115 
120  inline void SetSelectSqlQuery(Aws::String&& value) { m_selectSqlQueryHasBeenSet = true; m_selectSqlQuery = std::move(value); }
121 
126  inline void SetSelectSqlQuery(const char* value) { m_selectSqlQueryHasBeenSet = true; m_selectSqlQuery.assign(value); }
127 
132  inline RDSMetadata& WithSelectSqlQuery(const Aws::String& value) { SetSelectSqlQuery(value); return *this;}
133 
138  inline RDSMetadata& WithSelectSqlQuery(Aws::String&& value) { SetSelectSqlQuery(std::move(value)); return *this;}
139 
144  inline RDSMetadata& WithSelectSqlQuery(const char* value) { SetSelectSqlQuery(value); return *this;}
145 
146 
154  inline const Aws::String& GetResourceRole() const{ return m_resourceRole; }
155 
163  inline bool ResourceRoleHasBeenSet() const { return m_resourceRoleHasBeenSet; }
164 
172  inline void SetResourceRole(const Aws::String& value) { m_resourceRoleHasBeenSet = true; m_resourceRole = value; }
173 
181  inline void SetResourceRole(Aws::String&& value) { m_resourceRoleHasBeenSet = true; m_resourceRole = std::move(value); }
182 
190  inline void SetResourceRole(const char* value) { m_resourceRoleHasBeenSet = true; m_resourceRole.assign(value); }
191 
199  inline RDSMetadata& WithResourceRole(const Aws::String& value) { SetResourceRole(value); return *this;}
200 
208  inline RDSMetadata& WithResourceRole(Aws::String&& value) { SetResourceRole(std::move(value)); return *this;}
209 
217  inline RDSMetadata& WithResourceRole(const char* value) { SetResourceRole(value); return *this;}
218 
219 
227  inline const Aws::String& GetServiceRole() const{ return m_serviceRole; }
228 
236  inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
237 
245  inline void SetServiceRole(const Aws::String& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = value; }
246 
254  inline void SetServiceRole(Aws::String&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::move(value); }
255 
263  inline void SetServiceRole(const char* value) { m_serviceRoleHasBeenSet = true; m_serviceRole.assign(value); }
264 
272  inline RDSMetadata& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;}
273 
281  inline RDSMetadata& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;}
282 
290  inline RDSMetadata& WithServiceRole(const char* value) { SetServiceRole(value); return *this;}
291 
292 
298  inline const Aws::String& GetDataPipelineId() const{ return m_dataPipelineId; }
299 
305  inline bool DataPipelineIdHasBeenSet() const { return m_dataPipelineIdHasBeenSet; }
306 
312  inline void SetDataPipelineId(const Aws::String& value) { m_dataPipelineIdHasBeenSet = true; m_dataPipelineId = value; }
313 
319  inline void SetDataPipelineId(Aws::String&& value) { m_dataPipelineIdHasBeenSet = true; m_dataPipelineId = std::move(value); }
320 
326  inline void SetDataPipelineId(const char* value) { m_dataPipelineIdHasBeenSet = true; m_dataPipelineId.assign(value); }
327 
333  inline RDSMetadata& WithDataPipelineId(const Aws::String& value) { SetDataPipelineId(value); return *this;}
334 
340  inline RDSMetadata& WithDataPipelineId(Aws::String&& value) { SetDataPipelineId(std::move(value)); return *this;}
341 
347  inline RDSMetadata& WithDataPipelineId(const char* value) { SetDataPipelineId(value); return *this;}
348 
349  private:
350 
351  RDSDatabase m_database;
352  bool m_databaseHasBeenSet;
353 
354  Aws::String m_databaseUserName;
355  bool m_databaseUserNameHasBeenSet;
356 
357  Aws::String m_selectSqlQuery;
358  bool m_selectSqlQueryHasBeenSet;
359 
360  Aws::String m_resourceRole;
361  bool m_resourceRoleHasBeenSet;
362 
363  Aws::String m_serviceRole;
364  bool m_serviceRoleHasBeenSet;
365 
366  Aws::String m_dataPipelineId;
367  bool m_dataPipelineIdHasBeenSet;
368  };
369 
370 } // namespace Model
371 } // namespace MachineLearning
372 } // namespace Aws
Aws::MachineLearning::Model::RDSMetadata::SetSelectSqlQuery
void SetSelectSqlQuery(const char *value)
Definition: RDSMetadata.h:126
Aws::MachineLearning::Model::RDSMetadata::DatabaseUserNameHasBeenSet
bool DatabaseUserNameHasBeenSet() const
Definition: RDSMetadata.h:77
Aws::MachineLearning::Model::RDSMetadata::GetDatabase
const RDSDatabase & GetDatabase() const
Definition: RDSMetadata.h:45
Aws::MachineLearning::Model::RDSMetadata::GetServiceRole
const Aws::String & GetServiceRole() const
Definition: RDSMetadata.h:227
Aws::MachineLearning::Model::RDSMetadata::SelectSqlQueryHasBeenSet
bool SelectSqlQueryHasBeenSet() const
Definition: RDSMetadata.h:108
Aws::MachineLearning::Model::RDSMetadata::WithDataPipelineId
RDSMetadata & WithDataPipelineId(Aws::String &&value)
Definition: RDSMetadata.h:340
Aws::MachineLearning::Model::RDSMetadata::operator=
RDSMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MachineLearning::Model::RDSMetadata::SetServiceRole
void SetServiceRole(const char *value)
Definition: RDSMetadata.h:263
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::RDSMetadata::WithSelectSqlQuery
RDSMetadata & WithSelectSqlQuery(const char *value)
Definition: RDSMetadata.h:144
Aws::MachineLearning::Model::RDSMetadata::GetSelectSqlQuery
const Aws::String & GetSelectSqlQuery() const
Definition: RDSMetadata.h:102
Aws::MachineLearning::Model::RDSMetadata::SetResourceRole
void SetResourceRole(Aws::String &&value)
Definition: RDSMetadata.h:181
Aws::MachineLearning::Model::RDSMetadata::SetDatabaseUserName
void SetDatabaseUserName(const Aws::String &value)
Definition: RDSMetadata.h:80
Aws::MachineLearning::Model::RDSMetadata::GetDatabaseUserName
const Aws::String & GetDatabaseUserName() const
Definition: RDSMetadata.h:74
Aws::MachineLearning::Model::RDSMetadata
Definition: RDSMetadata.h:34
Aws::MachineLearning::Model::RDSMetadata::WithDataPipelineId
RDSMetadata & WithDataPipelineId(const Aws::String &value)
Definition: RDSMetadata.h:333
Aws::MachineLearning::Model::RDSMetadata::DataPipelineIdHasBeenSet
bool DataPipelineIdHasBeenSet() const
Definition: RDSMetadata.h:305
Aws::MachineLearning::Model::RDSMetadata::SetServiceRole
void SetServiceRole(const Aws::String &value)
Definition: RDSMetadata.h:245
Aws::MachineLearning::Model::RDSMetadata::GetResourceRole
const Aws::String & GetResourceRole() const
Definition: RDSMetadata.h:154
Aws::MachineLearning::Model::RDSMetadata::SetDatabaseUserName
void SetDatabaseUserName(const char *value)
Definition: RDSMetadata.h:86
Aws::MachineLearning::Model::RDSMetadata::ResourceRoleHasBeenSet
bool ResourceRoleHasBeenSet() const
Definition: RDSMetadata.h:163
Aws::MachineLearning::Model::RDSMetadata::WithResourceRole
RDSMetadata & WithResourceRole(const Aws::String &value)
Definition: RDSMetadata.h:199
Aws::MachineLearning::Model::RDSMetadata::SetServiceRole
void SetServiceRole(Aws::String &&value)
Definition: RDSMetadata.h:254
Aws::MachineLearning::Model::RDSMetadata::WithResourceRole
RDSMetadata & WithResourceRole(const char *value)
Definition: RDSMetadata.h:217
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::MachineLearning::Model::RDSMetadata::SetDatabase
void SetDatabase(const RDSDatabase &value)
Definition: RDSMetadata.h:55
RDSDatabase.h
Aws::MachineLearning::Model::RDSMetadata::SetResourceRole
void SetResourceRole(const char *value)
Definition: RDSMetadata.h:190
Aws::MachineLearning::Model::RDSMetadata::SetResourceRole
void SetResourceRole(const Aws::String &value)
Definition: RDSMetadata.h:172
Aws::MachineLearning::Model::RDSDatabase
Definition: RDSDatabase.h:32
Aws::MachineLearning::Model::RDSMetadata::SetDataPipelineId
void SetDataPipelineId(Aws::String &&value)
Definition: RDSMetadata.h:319
Aws::MachineLearning::Model::RDSMetadata::WithResourceRole
RDSMetadata & WithResourceRole(Aws::String &&value)
Definition: RDSMetadata.h:208
Aws::MachineLearning::Model::RDSMetadata::SetSelectSqlQuery
void SetSelectSqlQuery(Aws::String &&value)
Definition: RDSMetadata.h:120
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::MachineLearning::Model::RDSMetadata::SetDatabase
void SetDatabase(RDSDatabase &&value)
Definition: RDSMetadata.h:60
Aws::MachineLearning::Model::RDSMetadata::SetDatabaseUserName
void SetDatabaseUserName(Aws::String &&value)
Definition: RDSMetadata.h:83
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MachineLearning::Model::RDSMetadata::WithSelectSqlQuery
RDSMetadata & WithSelectSqlQuery(const Aws::String &value)
Definition: RDSMetadata.h:132
Aws::MachineLearning::Model::RDSMetadata::RDSMetadata
RDSMetadata()
Aws::MachineLearning::Model::RDSMetadata::SetDataPipelineId
void SetDataPipelineId(const Aws::String &value)
Definition: RDSMetadata.h:312
Aws::MachineLearning::Model::RDSMetadata::ServiceRoleHasBeenSet
bool ServiceRoleHasBeenSet() const
Definition: RDSMetadata.h:236
Aws::MachineLearning::Model::RDSMetadata::WithServiceRole
RDSMetadata & WithServiceRole(const Aws::String &value)
Definition: RDSMetadata.h:272
Aws::MachineLearning::Model::RDSMetadata::WithDataPipelineId
RDSMetadata & WithDataPipelineId(const char *value)
Definition: RDSMetadata.h:347
Aws::MachineLearning::Model::RDSMetadata::WithDatabase
RDSMetadata & WithDatabase(const RDSDatabase &value)
Definition: RDSMetadata.h:65
Aws::MachineLearning::Model::RDSMetadata::WithDatabaseUserName
RDSMetadata & WithDatabaseUserName(const char *value)
Definition: RDSMetadata.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::MachineLearning::Model::RDSMetadata::RDSMetadata
RDSMetadata(Aws::Utils::Json::JsonView jsonValue)
Aws::MachineLearning::Model::RDSMetadata::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MachineLearning::Model::RDSMetadata::WithDatabase
RDSMetadata & WithDatabase(RDSDatabase &&value)
Definition: RDSMetadata.h:70
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MachineLearning::Model::RDSMetadata::SetDataPipelineId
void SetDataPipelineId(const char *value)
Definition: RDSMetadata.h:326
Aws::MachineLearning::Model::RDSMetadata::WithSelectSqlQuery
RDSMetadata & WithSelectSqlQuery(Aws::String &&value)
Definition: RDSMetadata.h:138
Aws::MachineLearning::Model::RDSMetadata::WithDatabaseUserName
RDSMetadata & WithDatabaseUserName(const Aws::String &value)
Definition: RDSMetadata.h:89
Aws::MachineLearning::Model::RDSMetadata::WithDatabaseUserName
RDSMetadata & WithDatabaseUserName(Aws::String &&value)
Definition: RDSMetadata.h:92
Aws::MachineLearning::Model::RDSMetadata::WithServiceRole
RDSMetadata & WithServiceRole(Aws::String &&value)
Definition: RDSMetadata.h:281
Aws::MachineLearning::Model::RDSMetadata::SetSelectSqlQuery
void SetSelectSqlQuery(const Aws::String &value)
Definition: RDSMetadata.h:114
Aws::MachineLearning::Model::RDSMetadata::GetDataPipelineId
const Aws::String & GetDataPipelineId() const
Definition: RDSMetadata.h:298
Aws::MachineLearning::Model::RDSMetadata::DatabaseHasBeenSet
bool DatabaseHasBeenSet() const
Definition: RDSMetadata.h:50
Aws::MachineLearning::Model::RDSMetadata::WithServiceRole
RDSMetadata & WithServiceRole(const char *value)
Definition: RDSMetadata.h:290