AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RDSMetadata.h
1
6#pragma once
7#include <aws/machinelearning/MachineLearning_EXPORTS.h>
8#include <aws/machinelearning/model/RDSDatabase.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MachineLearning
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MACHINELEARNING_API RDSMetadata();
37 AWS_MACHINELEARNING_API RDSMetadata(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MACHINELEARNING_API RDSMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const RDSDatabase& GetDatabase() const{ return m_database; }
47 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
48 inline void SetDatabase(const RDSDatabase& value) { m_databaseHasBeenSet = true; m_database = value; }
49 inline void SetDatabase(RDSDatabase&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
50 inline RDSMetadata& WithDatabase(const RDSDatabase& value) { SetDatabase(value); return *this;}
51 inline RDSMetadata& WithDatabase(RDSDatabase&& value) { SetDatabase(std::move(value)); return *this;}
53
55
56 inline const Aws::String& GetDatabaseUserName() const{ return m_databaseUserName; }
57 inline bool DatabaseUserNameHasBeenSet() const { return m_databaseUserNameHasBeenSet; }
58 inline void SetDatabaseUserName(const Aws::String& value) { m_databaseUserNameHasBeenSet = true; m_databaseUserName = value; }
59 inline void SetDatabaseUserName(Aws::String&& value) { m_databaseUserNameHasBeenSet = true; m_databaseUserName = std::move(value); }
60 inline void SetDatabaseUserName(const char* value) { m_databaseUserNameHasBeenSet = true; m_databaseUserName.assign(value); }
61 inline RDSMetadata& WithDatabaseUserName(const Aws::String& value) { SetDatabaseUserName(value); return *this;}
62 inline RDSMetadata& WithDatabaseUserName(Aws::String&& value) { SetDatabaseUserName(std::move(value)); return *this;}
63 inline RDSMetadata& WithDatabaseUserName(const char* value) { SetDatabaseUserName(value); return *this;}
65
67
71 inline const Aws::String& GetSelectSqlQuery() const{ return m_selectSqlQuery; }
72 inline bool SelectSqlQueryHasBeenSet() const { return m_selectSqlQueryHasBeenSet; }
73 inline void SetSelectSqlQuery(const Aws::String& value) { m_selectSqlQueryHasBeenSet = true; m_selectSqlQuery = value; }
74 inline void SetSelectSqlQuery(Aws::String&& value) { m_selectSqlQueryHasBeenSet = true; m_selectSqlQuery = std::move(value); }
75 inline void SetSelectSqlQuery(const char* value) { m_selectSqlQueryHasBeenSet = true; m_selectSqlQuery.assign(value); }
76 inline RDSMetadata& WithSelectSqlQuery(const Aws::String& value) { SetSelectSqlQuery(value); return *this;}
77 inline RDSMetadata& WithSelectSqlQuery(Aws::String&& value) { SetSelectSqlQuery(std::move(value)); return *this;}
78 inline RDSMetadata& WithSelectSqlQuery(const char* value) { SetSelectSqlQuery(value); return *this;}
80
82
89 inline const Aws::String& GetResourceRole() const{ return m_resourceRole; }
90 inline bool ResourceRoleHasBeenSet() const { return m_resourceRoleHasBeenSet; }
91 inline void SetResourceRole(const Aws::String& value) { m_resourceRoleHasBeenSet = true; m_resourceRole = value; }
92 inline void SetResourceRole(Aws::String&& value) { m_resourceRoleHasBeenSet = true; m_resourceRole = std::move(value); }
93 inline void SetResourceRole(const char* value) { m_resourceRoleHasBeenSet = true; m_resourceRole.assign(value); }
94 inline RDSMetadata& WithResourceRole(const Aws::String& value) { SetResourceRole(value); return *this;}
95 inline RDSMetadata& WithResourceRole(Aws::String&& value) { SetResourceRole(std::move(value)); return *this;}
96 inline RDSMetadata& WithResourceRole(const char* value) { SetResourceRole(value); return *this;}
98
100
107 inline const Aws::String& GetServiceRole() const{ return m_serviceRole; }
108 inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
109 inline void SetServiceRole(const Aws::String& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = value; }
110 inline void SetServiceRole(Aws::String&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::move(value); }
111 inline void SetServiceRole(const char* value) { m_serviceRoleHasBeenSet = true; m_serviceRole.assign(value); }
112 inline RDSMetadata& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;}
113 inline RDSMetadata& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;}
114 inline RDSMetadata& WithServiceRole(const char* value) { SetServiceRole(value); return *this;}
116
118
123 inline const Aws::String& GetDataPipelineId() const{ return m_dataPipelineId; }
124 inline bool DataPipelineIdHasBeenSet() const { return m_dataPipelineIdHasBeenSet; }
125 inline void SetDataPipelineId(const Aws::String& value) { m_dataPipelineIdHasBeenSet = true; m_dataPipelineId = value; }
126 inline void SetDataPipelineId(Aws::String&& value) { m_dataPipelineIdHasBeenSet = true; m_dataPipelineId = std::move(value); }
127 inline void SetDataPipelineId(const char* value) { m_dataPipelineIdHasBeenSet = true; m_dataPipelineId.assign(value); }
128 inline RDSMetadata& WithDataPipelineId(const Aws::String& value) { SetDataPipelineId(value); return *this;}
129 inline RDSMetadata& WithDataPipelineId(Aws::String&& value) { SetDataPipelineId(std::move(value)); return *this;}
130 inline RDSMetadata& WithDataPipelineId(const char* value) { SetDataPipelineId(value); return *this;}
132 private:
133
134 RDSDatabase m_database;
135 bool m_databaseHasBeenSet = false;
136
137 Aws::String m_databaseUserName;
138 bool m_databaseUserNameHasBeenSet = false;
139
140 Aws::String m_selectSqlQuery;
141 bool m_selectSqlQueryHasBeenSet = false;
142
143 Aws::String m_resourceRole;
144 bool m_resourceRoleHasBeenSet = false;
145
146 Aws::String m_serviceRole;
147 bool m_serviceRoleHasBeenSet = false;
148
149 Aws::String m_dataPipelineId;
150 bool m_dataPipelineIdHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace MachineLearning
155} // namespace Aws
void SetServiceRole(const Aws::String &value)
void SetServiceRole(const char *value)
void SetDatabase(RDSDatabase &&value)
Definition RDSMetadata.h:49
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
RDSMetadata & WithServiceRole(const Aws::String &value)
void SetResourceRole(const char *value)
Definition RDSMetadata.h:93
void SetDatabaseUserName(Aws::String &&value)
Definition RDSMetadata.h:59
RDSMetadata & WithResourceRole(const Aws::String &value)
Definition RDSMetadata.h:94
void SetDatabase(const RDSDatabase &value)
Definition RDSMetadata.h:48
RDSMetadata & WithDataPipelineId(Aws::String &&value)
RDSMetadata & WithDatabaseUserName(const char *value)
Definition RDSMetadata.h:63
void SetSelectSqlQuery(const char *value)
Definition RDSMetadata.h:75
void SetSelectSqlQuery(Aws::String &&value)
Definition RDSMetadata.h:74
RDSMetadata & WithDatabaseUserName(const Aws::String &value)
Definition RDSMetadata.h:61
RDSMetadata & WithDatabase(const RDSDatabase &value)
Definition RDSMetadata.h:50
void SetResourceRole(const Aws::String &value)
Definition RDSMetadata.h:91
AWS_MACHINELEARNING_API RDSMetadata()
const Aws::String & GetResourceRole() const
Definition RDSMetadata.h:89
const Aws::String & GetDatabaseUserName() const
Definition RDSMetadata.h:56
void SetDatabaseUserName(const Aws::String &value)
Definition RDSMetadata.h:58
void SetServiceRole(Aws::String &&value)
RDSMetadata & WithDataPipelineId(const char *value)
void SetDataPipelineId(Aws::String &&value)
void SetDatabaseUserName(const char *value)
Definition RDSMetadata.h:60
const Aws::String & GetServiceRole() const
void SetResourceRole(Aws::String &&value)
Definition RDSMetadata.h:92
RDSMetadata & WithDatabaseUserName(Aws::String &&value)
Definition RDSMetadata.h:62
RDSMetadata & WithSelectSqlQuery(const char *value)
Definition RDSMetadata.h:78
RDSMetadata & WithDatabase(RDSDatabase &&value)
Definition RDSMetadata.h:51
RDSMetadata & WithServiceRole(const char *value)
const Aws::String & GetSelectSqlQuery() const
Definition RDSMetadata.h:71
RDSMetadata & WithSelectSqlQuery(const Aws::String &value)
Definition RDSMetadata.h:76
RDSMetadata & WithServiceRole(Aws::String &&value)
const Aws::String & GetDataPipelineId() const
RDSMetadata & WithSelectSqlQuery(Aws::String &&value)
Definition RDSMetadata.h:77
void SetSelectSqlQuery(const Aws::String &value)
Definition RDSMetadata.h:73
const RDSDatabase & GetDatabase() const
Definition RDSMetadata.h:46
RDSMetadata & WithDataPipelineId(const Aws::String &value)
RDSMetadata & WithResourceRole(const char *value)
Definition RDSMetadata.h:96
RDSMetadata & WithResourceRole(Aws::String &&value)
Definition RDSMetadata.h:95
void SetDataPipelineId(const char *value)
void SetDataPipelineId(const Aws::String &value)
AWS_MACHINELEARNING_API RDSMetadata(Aws::Utils::Json::JsonView jsonValue)
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