AWS SDK for C++  1.9.15
AWS SDK for C++
RegisterDBProxyTargetsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace RDS
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "RegisterDBProxyTargets"; }
32 
33  Aws::String SerializePayload() const override;
34 
35  protected:
36  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37 
38  public:
39 
44  inline const Aws::String& GetDBProxyName() const{ return m_dBProxyName; }
45 
50  inline bool DBProxyNameHasBeenSet() const { return m_dBProxyNameHasBeenSet; }
51 
56  inline void SetDBProxyName(const Aws::String& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = value; }
57 
62  inline void SetDBProxyName(Aws::String&& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = std::move(value); }
63 
68  inline void SetDBProxyName(const char* value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName.assign(value); }
69 
74  inline RegisterDBProxyTargetsRequest& WithDBProxyName(const Aws::String& value) { SetDBProxyName(value); return *this;}
75 
80  inline RegisterDBProxyTargetsRequest& WithDBProxyName(Aws::String&& value) { SetDBProxyName(std::move(value)); return *this;}
81 
86  inline RegisterDBProxyTargetsRequest& WithDBProxyName(const char* value) { SetDBProxyName(value); return *this;}
87 
88 
92  inline const Aws::String& GetTargetGroupName() const{ return m_targetGroupName; }
93 
97  inline bool TargetGroupNameHasBeenSet() const { return m_targetGroupNameHasBeenSet; }
98 
102  inline void SetTargetGroupName(const Aws::String& value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName = value; }
103 
107  inline void SetTargetGroupName(Aws::String&& value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName = std::move(value); }
108 
112  inline void SetTargetGroupName(const char* value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName.assign(value); }
113 
117  inline RegisterDBProxyTargetsRequest& WithTargetGroupName(const Aws::String& value) { SetTargetGroupName(value); return *this;}
118 
122  inline RegisterDBProxyTargetsRequest& WithTargetGroupName(Aws::String&& value) { SetTargetGroupName(std::move(value)); return *this;}
123 
127  inline RegisterDBProxyTargetsRequest& WithTargetGroupName(const char* value) { SetTargetGroupName(value); return *this;}
128 
129 
133  inline const Aws::Vector<Aws::String>& GetDBInstanceIdentifiers() const{ return m_dBInstanceIdentifiers; }
134 
138  inline bool DBInstanceIdentifiersHasBeenSet() const { return m_dBInstanceIdentifiersHasBeenSet; }
139 
143  inline void SetDBInstanceIdentifiers(const Aws::Vector<Aws::String>& value) { m_dBInstanceIdentifiersHasBeenSet = true; m_dBInstanceIdentifiers = value; }
144 
148  inline void SetDBInstanceIdentifiers(Aws::Vector<Aws::String>&& value) { m_dBInstanceIdentifiersHasBeenSet = true; m_dBInstanceIdentifiers = std::move(value); }
149 
153  inline RegisterDBProxyTargetsRequest& WithDBInstanceIdentifiers(const Aws::Vector<Aws::String>& value) { SetDBInstanceIdentifiers(value); return *this;}
154 
158  inline RegisterDBProxyTargetsRequest& WithDBInstanceIdentifiers(Aws::Vector<Aws::String>&& value) { SetDBInstanceIdentifiers(std::move(value)); return *this;}
159 
163  inline RegisterDBProxyTargetsRequest& AddDBInstanceIdentifiers(const Aws::String& value) { m_dBInstanceIdentifiersHasBeenSet = true; m_dBInstanceIdentifiers.push_back(value); return *this; }
164 
168  inline RegisterDBProxyTargetsRequest& AddDBInstanceIdentifiers(Aws::String&& value) { m_dBInstanceIdentifiersHasBeenSet = true; m_dBInstanceIdentifiers.push_back(std::move(value)); return *this; }
169 
173  inline RegisterDBProxyTargetsRequest& AddDBInstanceIdentifiers(const char* value) { m_dBInstanceIdentifiersHasBeenSet = true; m_dBInstanceIdentifiers.push_back(value); return *this; }
174 
175 
179  inline const Aws::Vector<Aws::String>& GetDBClusterIdentifiers() const{ return m_dBClusterIdentifiers; }
180 
184  inline bool DBClusterIdentifiersHasBeenSet() const { return m_dBClusterIdentifiersHasBeenSet; }
185 
189  inline void SetDBClusterIdentifiers(const Aws::Vector<Aws::String>& value) { m_dBClusterIdentifiersHasBeenSet = true; m_dBClusterIdentifiers = value; }
190 
194  inline void SetDBClusterIdentifiers(Aws::Vector<Aws::String>&& value) { m_dBClusterIdentifiersHasBeenSet = true; m_dBClusterIdentifiers = std::move(value); }
195 
199  inline RegisterDBProxyTargetsRequest& WithDBClusterIdentifiers(const Aws::Vector<Aws::String>& value) { SetDBClusterIdentifiers(value); return *this;}
200 
204  inline RegisterDBProxyTargetsRequest& WithDBClusterIdentifiers(Aws::Vector<Aws::String>&& value) { SetDBClusterIdentifiers(std::move(value)); return *this;}
205 
209  inline RegisterDBProxyTargetsRequest& AddDBClusterIdentifiers(const Aws::String& value) { m_dBClusterIdentifiersHasBeenSet = true; m_dBClusterIdentifiers.push_back(value); return *this; }
210 
214  inline RegisterDBProxyTargetsRequest& AddDBClusterIdentifiers(Aws::String&& value) { m_dBClusterIdentifiersHasBeenSet = true; m_dBClusterIdentifiers.push_back(std::move(value)); return *this; }
215 
219  inline RegisterDBProxyTargetsRequest& AddDBClusterIdentifiers(const char* value) { m_dBClusterIdentifiersHasBeenSet = true; m_dBClusterIdentifiers.push_back(value); return *this; }
220 
221  private:
222 
223  Aws::String m_dBProxyName;
224  bool m_dBProxyNameHasBeenSet;
225 
226  Aws::String m_targetGroupName;
227  bool m_targetGroupNameHasBeenSet;
228 
229  Aws::Vector<Aws::String> m_dBInstanceIdentifiers;
230  bool m_dBInstanceIdentifiersHasBeenSet;
231 
232  Aws::Vector<Aws::String> m_dBClusterIdentifiers;
233  bool m_dBClusterIdentifiersHasBeenSet;
234  };
235 
236 } // namespace Model
237 } // namespace RDS
238 } // namespace Aws
Aws::RDS::Model::RegisterDBProxyTargetsRequest::SetTargetGroupName
void SetTargetGroupName(const char *value)
Definition: RegisterDBProxyTargetsRequest.h:112
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::RegisterDBProxyTargetsRequest::WithTargetGroupName
RegisterDBProxyTargetsRequest & WithTargetGroupName(const Aws::String &value)
Definition: RegisterDBProxyTargetsRequest.h:117
Aws::RDS::Model::RegisterDBProxyTargetsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::RegisterDBProxyTargetsRequest::TargetGroupNameHasBeenSet
bool TargetGroupNameHasBeenSet() const
Definition: RegisterDBProxyTargetsRequest.h:97
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::RegisterDBProxyTargetsRequest::GetTargetGroupName
const Aws::String & GetTargetGroupName() const
Definition: RegisterDBProxyTargetsRequest.h:92
Aws::RDS::Model::RegisterDBProxyTargetsRequest::GetDBClusterIdentifiers
const Aws::Vector< Aws::String > & GetDBClusterIdentifiers() const
Definition: RegisterDBProxyTargetsRequest.h:179
Aws::RDS::Model::RegisterDBProxyTargetsRequest
Definition: RegisterDBProxyTargetsRequest.h:23
Aws::RDS::Model::RegisterDBProxyTargetsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RegisterDBProxyTargetsRequest.h:31
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::RegisterDBProxyTargetsRequest::SetDBProxyName
void SetDBProxyName(const Aws::String &value)
Definition: RegisterDBProxyTargetsRequest.h:56
Aws::RDS::Model::RegisterDBProxyTargetsRequest::WithTargetGroupName
RegisterDBProxyTargetsRequest & WithTargetGroupName(const char *value)
Definition: RegisterDBProxyTargetsRequest.h:127
Aws::RDS::Model::RegisterDBProxyTargetsRequest::WithDBProxyName
RegisterDBProxyTargetsRequest & WithDBProxyName(const Aws::String &value)
Definition: RegisterDBProxyTargetsRequest.h:74
AWSVector.h
Aws::RDS::Model::RegisterDBProxyTargetsRequest::AddDBClusterIdentifiers
RegisterDBProxyTargetsRequest & AddDBClusterIdentifiers(Aws::String &&value)
Definition: RegisterDBProxyTargetsRequest.h:214
Aws::RDS::Model::RegisterDBProxyTargetsRequest::SetDBInstanceIdentifiers
void SetDBInstanceIdentifiers(Aws::Vector< Aws::String > &&value)
Definition: RegisterDBProxyTargetsRequest.h:148
Aws::RDS::Model::RegisterDBProxyTargetsRequest::SetTargetGroupName
void SetTargetGroupName(Aws::String &&value)
Definition: RegisterDBProxyTargetsRequest.h:107
RDS_EXPORTS.h
Aws::RDS::Model::RegisterDBProxyTargetsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::RegisterDBProxyTargetsRequest::GetDBProxyName
const Aws::String & GetDBProxyName() const
Definition: RegisterDBProxyTargetsRequest.h:44
Aws::RDS::Model::RegisterDBProxyTargetsRequest::SetDBProxyName
void SetDBProxyName(Aws::String &&value)
Definition: RegisterDBProxyTargetsRequest.h:62
Aws::RDS::Model::RegisterDBProxyTargetsRequest::SetDBInstanceIdentifiers
void SetDBInstanceIdentifiers(const Aws::Vector< Aws::String > &value)
Definition: RegisterDBProxyTargetsRequest.h:143
AWSString.h
Aws::RDS::Model::RegisterDBProxyTargetsRequest::DBProxyNameHasBeenSet
bool DBProxyNameHasBeenSet() const
Definition: RegisterDBProxyTargetsRequest.h:50
Aws::RDS::Model::RegisterDBProxyTargetsRequest::RegisterDBProxyTargetsRequest
RegisterDBProxyTargetsRequest()
Aws::RDS::Model::RegisterDBProxyTargetsRequest::WithDBInstanceIdentifiers
RegisterDBProxyTargetsRequest & WithDBInstanceIdentifiers(Aws::Vector< Aws::String > &&value)
Definition: RegisterDBProxyTargetsRequest.h:158
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::RegisterDBProxyTargetsRequest::SetDBClusterIdentifiers
void SetDBClusterIdentifiers(const Aws::Vector< Aws::String > &value)
Definition: RegisterDBProxyTargetsRequest.h:189
Aws::RDS::Model::RegisterDBProxyTargetsRequest::WithTargetGroupName
RegisterDBProxyTargetsRequest & WithTargetGroupName(Aws::String &&value)
Definition: RegisterDBProxyTargetsRequest.h:122
Aws::RDS::Model::RegisterDBProxyTargetsRequest::WithDBInstanceIdentifiers
RegisterDBProxyTargetsRequest & WithDBInstanceIdentifiers(const Aws::Vector< Aws::String > &value)
Definition: RegisterDBProxyTargetsRequest.h:153
Aws::RDS::Model::RegisterDBProxyTargetsRequest::WithDBClusterIdentifiers
RegisterDBProxyTargetsRequest & WithDBClusterIdentifiers(Aws::Vector< Aws::String > &&value)
Definition: RegisterDBProxyTargetsRequest.h:204
Aws::RDS::Model::RegisterDBProxyTargetsRequest::SetDBProxyName
void SetDBProxyName(const char *value)
Definition: RegisterDBProxyTargetsRequest.h:68
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::RegisterDBProxyTargetsRequest::AddDBInstanceIdentifiers
RegisterDBProxyTargetsRequest & AddDBInstanceIdentifiers(const char *value)
Definition: RegisterDBProxyTargetsRequest.h:173
Aws::RDS::Model::RegisterDBProxyTargetsRequest::SetDBClusterIdentifiers
void SetDBClusterIdentifiers(Aws::Vector< Aws::String > &&value)
Definition: RegisterDBProxyTargetsRequest.h:194
Aws::RDS::Model::RegisterDBProxyTargetsRequest::DBClusterIdentifiersHasBeenSet
bool DBClusterIdentifiersHasBeenSet() const
Definition: RegisterDBProxyTargetsRequest.h:184
Aws::RDS::Model::RegisterDBProxyTargetsRequest::WithDBProxyName
RegisterDBProxyTargetsRequest & WithDBProxyName(Aws::String &&value)
Definition: RegisterDBProxyTargetsRequest.h:80
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::RegisterDBProxyTargetsRequest::AddDBInstanceIdentifiers
RegisterDBProxyTargetsRequest & AddDBInstanceIdentifiers(Aws::String &&value)
Definition: RegisterDBProxyTargetsRequest.h:168
Aws::RDS::Model::RegisterDBProxyTargetsRequest::AddDBInstanceIdentifiers
RegisterDBProxyTargetsRequest & AddDBInstanceIdentifiers(const Aws::String &value)
Definition: RegisterDBProxyTargetsRequest.h:163
RDSRequest.h
Aws::RDS::Model::RegisterDBProxyTargetsRequest::SetTargetGroupName
void SetTargetGroupName(const Aws::String &value)
Definition: RegisterDBProxyTargetsRequest.h:102
Aws::RDS::Model::RegisterDBProxyTargetsRequest::GetDBInstanceIdentifiers
const Aws::Vector< Aws::String > & GetDBInstanceIdentifiers() const
Definition: RegisterDBProxyTargetsRequest.h:133
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::RegisterDBProxyTargetsRequest::WithDBProxyName
RegisterDBProxyTargetsRequest & WithDBProxyName(const char *value)
Definition: RegisterDBProxyTargetsRequest.h:86
Aws::RDS::Model::RegisterDBProxyTargetsRequest::WithDBClusterIdentifiers
RegisterDBProxyTargetsRequest & WithDBClusterIdentifiers(const Aws::Vector< Aws::String > &value)
Definition: RegisterDBProxyTargetsRequest.h:199
Aws::RDS::Model::RegisterDBProxyTargetsRequest::AddDBClusterIdentifiers
RegisterDBProxyTargetsRequest & AddDBClusterIdentifiers(const Aws::String &value)
Definition: RegisterDBProxyTargetsRequest.h:209
Aws::RDS::Model::RegisterDBProxyTargetsRequest::AddDBClusterIdentifiers
RegisterDBProxyTargetsRequest & AddDBClusterIdentifiers(const char *value)
Definition: RegisterDBProxyTargetsRequest.h:219
Aws::RDS::Model::RegisterDBProxyTargetsRequest::DBInstanceIdentifiersHasBeenSet
bool DBInstanceIdentifiersHasBeenSet() const
Definition: RegisterDBProxyTargetsRequest.h:138