AWS SDK for C++  1.9.109
AWS SDK for C++
ModifyDBClusterEndpointRequest.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 "ModifyDBClusterEndpoint"; }
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& GetDBClusterEndpointIdentifier() const{ return m_dBClusterEndpointIdentifier; }
45 
50  inline bool DBClusterEndpointIdentifierHasBeenSet() const { return m_dBClusterEndpointIdentifierHasBeenSet; }
51 
56  inline void SetDBClusterEndpointIdentifier(const Aws::String& value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier = value; }
57 
62  inline void SetDBClusterEndpointIdentifier(Aws::String&& value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier = std::move(value); }
63 
68  inline void SetDBClusterEndpointIdentifier(const char* value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier.assign(value); }
69 
74  inline ModifyDBClusterEndpointRequest& WithDBClusterEndpointIdentifier(const Aws::String& value) { SetDBClusterEndpointIdentifier(value); return *this;}
75 
80  inline ModifyDBClusterEndpointRequest& WithDBClusterEndpointIdentifier(Aws::String&& value) { SetDBClusterEndpointIdentifier(std::move(value)); return *this;}
81 
86  inline ModifyDBClusterEndpointRequest& WithDBClusterEndpointIdentifier(const char* value) { SetDBClusterEndpointIdentifier(value); return *this;}
87 
88 
93  inline const Aws::String& GetEndpointType() const{ return m_endpointType; }
94 
99  inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
100 
105  inline void SetEndpointType(const Aws::String& value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; }
106 
111  inline void SetEndpointType(Aws::String&& value) { m_endpointTypeHasBeenSet = true; m_endpointType = std::move(value); }
112 
117  inline void SetEndpointType(const char* value) { m_endpointTypeHasBeenSet = true; m_endpointType.assign(value); }
118 
123  inline ModifyDBClusterEndpointRequest& WithEndpointType(const Aws::String& value) { SetEndpointType(value); return *this;}
124 
129  inline ModifyDBClusterEndpointRequest& WithEndpointType(Aws::String&& value) { SetEndpointType(std::move(value)); return *this;}
130 
135  inline ModifyDBClusterEndpointRequest& WithEndpointType(const char* value) { SetEndpointType(value); return *this;}
136 
137 
142  inline const Aws::Vector<Aws::String>& GetStaticMembers() const{ return m_staticMembers; }
143 
148  inline bool StaticMembersHasBeenSet() const { return m_staticMembersHasBeenSet; }
149 
154  inline void SetStaticMembers(const Aws::Vector<Aws::String>& value) { m_staticMembersHasBeenSet = true; m_staticMembers = value; }
155 
160  inline void SetStaticMembers(Aws::Vector<Aws::String>&& value) { m_staticMembersHasBeenSet = true; m_staticMembers = std::move(value); }
161 
166  inline ModifyDBClusterEndpointRequest& WithStaticMembers(const Aws::Vector<Aws::String>& value) { SetStaticMembers(value); return *this;}
167 
172  inline ModifyDBClusterEndpointRequest& WithStaticMembers(Aws::Vector<Aws::String>&& value) { SetStaticMembers(std::move(value)); return *this;}
173 
178  inline ModifyDBClusterEndpointRequest& AddStaticMembers(const Aws::String& value) { m_staticMembersHasBeenSet = true; m_staticMembers.push_back(value); return *this; }
179 
184  inline ModifyDBClusterEndpointRequest& AddStaticMembers(Aws::String&& value) { m_staticMembersHasBeenSet = true; m_staticMembers.push_back(std::move(value)); return *this; }
185 
190  inline ModifyDBClusterEndpointRequest& AddStaticMembers(const char* value) { m_staticMembersHasBeenSet = true; m_staticMembers.push_back(value); return *this; }
191 
192 
198  inline const Aws::Vector<Aws::String>& GetExcludedMembers() const{ return m_excludedMembers; }
199 
205  inline bool ExcludedMembersHasBeenSet() const { return m_excludedMembersHasBeenSet; }
206 
212  inline void SetExcludedMembers(const Aws::Vector<Aws::String>& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers = value; }
213 
219  inline void SetExcludedMembers(Aws::Vector<Aws::String>&& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers = std::move(value); }
220 
226  inline ModifyDBClusterEndpointRequest& WithExcludedMembers(const Aws::Vector<Aws::String>& value) { SetExcludedMembers(value); return *this;}
227 
233  inline ModifyDBClusterEndpointRequest& WithExcludedMembers(Aws::Vector<Aws::String>&& value) { SetExcludedMembers(std::move(value)); return *this;}
234 
240  inline ModifyDBClusterEndpointRequest& AddExcludedMembers(const Aws::String& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers.push_back(value); return *this; }
241 
247  inline ModifyDBClusterEndpointRequest& AddExcludedMembers(Aws::String&& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers.push_back(std::move(value)); return *this; }
248 
254  inline ModifyDBClusterEndpointRequest& AddExcludedMembers(const char* value) { m_excludedMembersHasBeenSet = true; m_excludedMembers.push_back(value); return *this; }
255 
256  private:
257 
258  Aws::String m_dBClusterEndpointIdentifier;
259  bool m_dBClusterEndpointIdentifierHasBeenSet;
260 
261  Aws::String m_endpointType;
262  bool m_endpointTypeHasBeenSet;
263 
264  Aws::Vector<Aws::String> m_staticMembers;
265  bool m_staticMembersHasBeenSet;
266 
267  Aws::Vector<Aws::String> m_excludedMembers;
268  bool m_excludedMembersHasBeenSet;
269  };
270 
271 } // namespace Model
272 } // namespace RDS
273 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::ModifyDBClusterEndpointRequest::AddStaticMembers
ModifyDBClusterEndpointRequest & AddStaticMembers(const char *value)
Definition: ModifyDBClusterEndpointRequest.h:190
Aws::RDS::Model::ModifyDBClusterEndpointRequest::EndpointTypeHasBeenSet
bool EndpointTypeHasBeenSet() const
Definition: ModifyDBClusterEndpointRequest.h:99
Aws::RDS::Model::ModifyDBClusterEndpointRequest::AddStaticMembers
ModifyDBClusterEndpointRequest & AddStaticMembers(const Aws::String &value)
Definition: ModifyDBClusterEndpointRequest.h:178
Aws::RDS::Model::ModifyDBClusterEndpointRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::ModifyDBClusterEndpointRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::ModifyDBClusterEndpointRequest::WithDBClusterEndpointIdentifier
ModifyDBClusterEndpointRequest & WithDBClusterEndpointIdentifier(Aws::String &&value)
Definition: ModifyDBClusterEndpointRequest.h:80
Aws::RDS::Model::ModifyDBClusterEndpointRequest::AddStaticMembers
ModifyDBClusterEndpointRequest & AddStaticMembers(Aws::String &&value)
Definition: ModifyDBClusterEndpointRequest.h:184
Aws::RDS::Model::ModifyDBClusterEndpointRequest::GetExcludedMembers
const Aws::Vector< Aws::String > & GetExcludedMembers() const
Definition: ModifyDBClusterEndpointRequest.h:198
Aws::RDS::Model::ModifyDBClusterEndpointRequest::SetEndpointType
void SetEndpointType(const char *value)
Definition: ModifyDBClusterEndpointRequest.h:117
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::ModifyDBClusterEndpointRequest::DBClusterEndpointIdentifierHasBeenSet
bool DBClusterEndpointIdentifierHasBeenSet() const
Definition: ModifyDBClusterEndpointRequest.h:50
Aws::RDS::Model::ModifyDBClusterEndpointRequest::SetDBClusterEndpointIdentifier
void SetDBClusterEndpointIdentifier(const char *value)
Definition: ModifyDBClusterEndpointRequest.h:68
Aws::RDS::Model::ModifyDBClusterEndpointRequest::ModifyDBClusterEndpointRequest
ModifyDBClusterEndpointRequest()
Aws::RDS::Model::ModifyDBClusterEndpointRequest::GetStaticMembers
const Aws::Vector< Aws::String > & GetStaticMembers() const
Definition: ModifyDBClusterEndpointRequest.h:142
Aws::RDS::Model::ModifyDBClusterEndpointRequest::WithStaticMembers
ModifyDBClusterEndpointRequest & WithStaticMembers(const Aws::Vector< Aws::String > &value)
Definition: ModifyDBClusterEndpointRequest.h:166
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::ModifyDBClusterEndpointRequest::AddExcludedMembers
ModifyDBClusterEndpointRequest & AddExcludedMembers(Aws::String &&value)
Definition: ModifyDBClusterEndpointRequest.h:247
Aws::RDS::Model::ModifyDBClusterEndpointRequest::SetEndpointType
void SetEndpointType(const Aws::String &value)
Definition: ModifyDBClusterEndpointRequest.h:105
AWSVector.h
Aws::RDS::Model::ModifyDBClusterEndpointRequest::AddExcludedMembers
ModifyDBClusterEndpointRequest & AddExcludedMembers(const char *value)
Definition: ModifyDBClusterEndpointRequest.h:254
Aws::RDS::Model::ModifyDBClusterEndpointRequest::WithEndpointType
ModifyDBClusterEndpointRequest & WithEndpointType(const Aws::String &value)
Definition: ModifyDBClusterEndpointRequest.h:123
Aws::RDS::Model::ModifyDBClusterEndpointRequest::GetEndpointType
const Aws::String & GetEndpointType() const
Definition: ModifyDBClusterEndpointRequest.h:93
Aws::RDS::Model::ModifyDBClusterEndpointRequest::WithStaticMembers
ModifyDBClusterEndpointRequest & WithStaticMembers(Aws::Vector< Aws::String > &&value)
Definition: ModifyDBClusterEndpointRequest.h:172
RDS_EXPORTS.h
Aws::RDS::Model::ModifyDBClusterEndpointRequest::SetExcludedMembers
void SetExcludedMembers(const Aws::Vector< Aws::String > &value)
Definition: ModifyDBClusterEndpointRequest.h:212
Aws::RDS::Model::ModifyDBClusterEndpointRequest::SetStaticMembers
void SetStaticMembers(const Aws::Vector< Aws::String > &value)
Definition: ModifyDBClusterEndpointRequest.h:154
Aws::RDS::Model::ModifyDBClusterEndpointRequest::SetDBClusterEndpointIdentifier
void SetDBClusterEndpointIdentifier(Aws::String &&value)
Definition: ModifyDBClusterEndpointRequest.h:62
AWSString.h
Aws::RDS::Model::ModifyDBClusterEndpointRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ModifyDBClusterEndpointRequest.h:31
Aws::RDS::Model::ModifyDBClusterEndpointRequest::WithExcludedMembers
ModifyDBClusterEndpointRequest & WithExcludedMembers(const Aws::Vector< Aws::String > &value)
Definition: ModifyDBClusterEndpointRequest.h:226
Aws::RDS::Model::ModifyDBClusterEndpointRequest::WithEndpointType
ModifyDBClusterEndpointRequest & WithEndpointType(Aws::String &&value)
Definition: ModifyDBClusterEndpointRequest.h:129
Aws::RDS::Model::ModifyDBClusterEndpointRequest::SetDBClusterEndpointIdentifier
void SetDBClusterEndpointIdentifier(const Aws::String &value)
Definition: ModifyDBClusterEndpointRequest.h:56
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::ModifyDBClusterEndpointRequest::WithDBClusterEndpointIdentifier
ModifyDBClusterEndpointRequest & WithDBClusterEndpointIdentifier(const char *value)
Definition: ModifyDBClusterEndpointRequest.h:86
Aws::RDS::Model::ModifyDBClusterEndpointRequest::GetDBClusterEndpointIdentifier
const Aws::String & GetDBClusterEndpointIdentifier() const
Definition: ModifyDBClusterEndpointRequest.h:44
Aws::RDS::Model::ModifyDBClusterEndpointRequest::StaticMembersHasBeenSet
bool StaticMembersHasBeenSet() const
Definition: ModifyDBClusterEndpointRequest.h:148
Aws::RDS::Model::ModifyDBClusterEndpointRequest::AddExcludedMembers
ModifyDBClusterEndpointRequest & AddExcludedMembers(const Aws::String &value)
Definition: ModifyDBClusterEndpointRequest.h:240
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::ModifyDBClusterEndpointRequest::SetStaticMembers
void SetStaticMembers(Aws::Vector< Aws::String > &&value)
Definition: ModifyDBClusterEndpointRequest.h:160
Aws::RDS::Model::ModifyDBClusterEndpointRequest::WithDBClusterEndpointIdentifier
ModifyDBClusterEndpointRequest & WithDBClusterEndpointIdentifier(const Aws::String &value)
Definition: ModifyDBClusterEndpointRequest.h:74
Aws::RDS::Model::ModifyDBClusterEndpointRequest::SetEndpointType
void SetEndpointType(Aws::String &&value)
Definition: ModifyDBClusterEndpointRequest.h:111
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::ModifyDBClusterEndpointRequest::WithExcludedMembers
ModifyDBClusterEndpointRequest & WithExcludedMembers(Aws::Vector< Aws::String > &&value)
Definition: ModifyDBClusterEndpointRequest.h:233
RDSRequest.h
Aws::RDS::Model::ModifyDBClusterEndpointRequest::WithEndpointType
ModifyDBClusterEndpointRequest & WithEndpointType(const char *value)
Definition: ModifyDBClusterEndpointRequest.h:135
Aws::RDS::Model::ModifyDBClusterEndpointRequest::SetExcludedMembers
void SetExcludedMembers(Aws::Vector< Aws::String > &&value)
Definition: ModifyDBClusterEndpointRequest.h:219
Aws::RDS::Model::ModifyDBClusterEndpointRequest::ExcludedMembersHasBeenSet
bool ExcludedMembersHasBeenSet() const
Definition: ModifyDBClusterEndpointRequest.h:205
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::ModifyDBClusterEndpointRequest
Definition: ModifyDBClusterEndpointRequest.h:23