AWS SDK for C++  1.9.108
AWS SDK for C++
CreateDBClusterEndpointRequest.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 <aws/rds/model/Tag.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace RDS
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "CreateDBClusterEndpoint"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
45  inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
46 
51  inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
52 
57  inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
58 
63  inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
64 
69  inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
70 
75  inline CreateDBClusterEndpointRequest& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;}
76 
81  inline CreateDBClusterEndpointRequest& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;}
82 
87  inline CreateDBClusterEndpointRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
88 
89 
94  inline const Aws::String& GetDBClusterEndpointIdentifier() const{ return m_dBClusterEndpointIdentifier; }
95 
100  inline bool DBClusterEndpointIdentifierHasBeenSet() const { return m_dBClusterEndpointIdentifierHasBeenSet; }
101 
106  inline void SetDBClusterEndpointIdentifier(const Aws::String& value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier = value; }
107 
112  inline void SetDBClusterEndpointIdentifier(Aws::String&& value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier = std::move(value); }
113 
118  inline void SetDBClusterEndpointIdentifier(const char* value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier.assign(value); }
119 
124  inline CreateDBClusterEndpointRequest& WithDBClusterEndpointIdentifier(const Aws::String& value) { SetDBClusterEndpointIdentifier(value); return *this;}
125 
130  inline CreateDBClusterEndpointRequest& WithDBClusterEndpointIdentifier(Aws::String&& value) { SetDBClusterEndpointIdentifier(std::move(value)); return *this;}
131 
136  inline CreateDBClusterEndpointRequest& WithDBClusterEndpointIdentifier(const char* value) { SetDBClusterEndpointIdentifier(value); return *this;}
137 
138 
143  inline const Aws::String& GetEndpointType() const{ return m_endpointType; }
144 
149  inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
150 
155  inline void SetEndpointType(const Aws::String& value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; }
156 
161  inline void SetEndpointType(Aws::String&& value) { m_endpointTypeHasBeenSet = true; m_endpointType = std::move(value); }
162 
167  inline void SetEndpointType(const char* value) { m_endpointTypeHasBeenSet = true; m_endpointType.assign(value); }
168 
173  inline CreateDBClusterEndpointRequest& WithEndpointType(const Aws::String& value) { SetEndpointType(value); return *this;}
174 
179  inline CreateDBClusterEndpointRequest& WithEndpointType(Aws::String&& value) { SetEndpointType(std::move(value)); return *this;}
180 
185  inline CreateDBClusterEndpointRequest& WithEndpointType(const char* value) { SetEndpointType(value); return *this;}
186 
187 
192  inline const Aws::Vector<Aws::String>& GetStaticMembers() const{ return m_staticMembers; }
193 
198  inline bool StaticMembersHasBeenSet() const { return m_staticMembersHasBeenSet; }
199 
204  inline void SetStaticMembers(const Aws::Vector<Aws::String>& value) { m_staticMembersHasBeenSet = true; m_staticMembers = value; }
205 
210  inline void SetStaticMembers(Aws::Vector<Aws::String>&& value) { m_staticMembersHasBeenSet = true; m_staticMembers = std::move(value); }
211 
216  inline CreateDBClusterEndpointRequest& WithStaticMembers(const Aws::Vector<Aws::String>& value) { SetStaticMembers(value); return *this;}
217 
222  inline CreateDBClusterEndpointRequest& WithStaticMembers(Aws::Vector<Aws::String>&& value) { SetStaticMembers(std::move(value)); return *this;}
223 
228  inline CreateDBClusterEndpointRequest& AddStaticMembers(const Aws::String& value) { m_staticMembersHasBeenSet = true; m_staticMembers.push_back(value); return *this; }
229 
234  inline CreateDBClusterEndpointRequest& AddStaticMembers(Aws::String&& value) { m_staticMembersHasBeenSet = true; m_staticMembers.push_back(std::move(value)); return *this; }
235 
240  inline CreateDBClusterEndpointRequest& AddStaticMembers(const char* value) { m_staticMembersHasBeenSet = true; m_staticMembers.push_back(value); return *this; }
241 
242 
248  inline const Aws::Vector<Aws::String>& GetExcludedMembers() const{ return m_excludedMembers; }
249 
255  inline bool ExcludedMembersHasBeenSet() const { return m_excludedMembersHasBeenSet; }
256 
262  inline void SetExcludedMembers(const Aws::Vector<Aws::String>& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers = value; }
263 
269  inline void SetExcludedMembers(Aws::Vector<Aws::String>&& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers = std::move(value); }
270 
276  inline CreateDBClusterEndpointRequest& WithExcludedMembers(const Aws::Vector<Aws::String>& value) { SetExcludedMembers(value); return *this;}
277 
283  inline CreateDBClusterEndpointRequest& WithExcludedMembers(Aws::Vector<Aws::String>&& value) { SetExcludedMembers(std::move(value)); return *this;}
284 
290  inline CreateDBClusterEndpointRequest& AddExcludedMembers(const Aws::String& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers.push_back(value); return *this; }
291 
297  inline CreateDBClusterEndpointRequest& AddExcludedMembers(Aws::String&& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers.push_back(std::move(value)); return *this; }
298 
304  inline CreateDBClusterEndpointRequest& AddExcludedMembers(const char* value) { m_excludedMembersHasBeenSet = true; m_excludedMembers.push_back(value); return *this; }
305 
306 
310  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
311 
315  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
316 
320  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
321 
325  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
326 
330  inline CreateDBClusterEndpointRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
331 
335  inline CreateDBClusterEndpointRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
336 
340  inline CreateDBClusterEndpointRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
341 
345  inline CreateDBClusterEndpointRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
346 
347  private:
348 
349  Aws::String m_dBClusterIdentifier;
350  bool m_dBClusterIdentifierHasBeenSet;
351 
352  Aws::String m_dBClusterEndpointIdentifier;
353  bool m_dBClusterEndpointIdentifierHasBeenSet;
354 
355  Aws::String m_endpointType;
356  bool m_endpointTypeHasBeenSet;
357 
358  Aws::Vector<Aws::String> m_staticMembers;
359  bool m_staticMembersHasBeenSet;
360 
361  Aws::Vector<Aws::String> m_excludedMembers;
362  bool m_excludedMembersHasBeenSet;
363 
364  Aws::Vector<Tag> m_tags;
365  bool m_tagsHasBeenSet;
366  };
367 
368 } // namespace Model
369 } // namespace RDS
370 } // namespace Aws
Aws::RDS::Model::Tag
Definition: Tag.h:33
Aws::RDS::Model::CreateDBClusterEndpointRequest::AddStaticMembers
CreateDBClusterEndpointRequest & AddStaticMembers(Aws::String &&value)
Definition: CreateDBClusterEndpointRequest.h:234
Aws::RDS::Model::CreateDBClusterEndpointRequest::GetEndpointType
const Aws::String & GetEndpointType() const
Definition: CreateDBClusterEndpointRequest.h:143
Aws::RDS::Model::CreateDBClusterEndpointRequest::GetStaticMembers
const Aws::Vector< Aws::String > & GetStaticMembers() const
Definition: CreateDBClusterEndpointRequest.h:192
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::CreateDBClusterEndpointRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::CreateDBClusterEndpointRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateDBClusterEndpointRequest.h:325
Aws::RDS::Model::CreateDBClusterEndpointRequest::WithDBClusterEndpointIdentifier
CreateDBClusterEndpointRequest & WithDBClusterEndpointIdentifier(Aws::String &&value)
Definition: CreateDBClusterEndpointRequest.h:130
Aws::RDS::Model::CreateDBClusterEndpointRequest::AddTags
CreateDBClusterEndpointRequest & AddTags(const Tag &value)
Definition: CreateDBClusterEndpointRequest.h:340
Aws::RDS::Model::CreateDBClusterEndpointRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateDBClusterEndpointRequest.h:310
Aws::RDS::Model::CreateDBClusterEndpointRequest
Definition: CreateDBClusterEndpointRequest.h:24
Aws::RDS::Model::CreateDBClusterEndpointRequest::DBClusterIdentifierHasBeenSet
bool DBClusterIdentifierHasBeenSet() const
Definition: CreateDBClusterEndpointRequest.h:51
Aws::RDS::Model::CreateDBClusterEndpointRequest::SetExcludedMembers
void SetExcludedMembers(const Aws::Vector< Aws::String > &value)
Definition: CreateDBClusterEndpointRequest.h:262
Aws::RDS::Model::CreateDBClusterEndpointRequest::AddExcludedMembers
CreateDBClusterEndpointRequest & AddExcludedMembers(Aws::String &&value)
Definition: CreateDBClusterEndpointRequest.h:297
Aws::RDS::Model::CreateDBClusterEndpointRequest::GetExcludedMembers
const Aws::Vector< Aws::String > & GetExcludedMembers() const
Definition: CreateDBClusterEndpointRequest.h:248
Aws::RDS::Model::CreateDBClusterEndpointRequest::SetExcludedMembers
void SetExcludedMembers(Aws::Vector< Aws::String > &&value)
Definition: CreateDBClusterEndpointRequest.h:269
Aws::RDS::Model::CreateDBClusterEndpointRequest::WithDBClusterIdentifier
CreateDBClusterEndpointRequest & WithDBClusterIdentifier(const char *value)
Definition: CreateDBClusterEndpointRequest.h:87
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::CreateDBClusterEndpointRequest::AddStaticMembers
CreateDBClusterEndpointRequest & AddStaticMembers(const Aws::String &value)
Definition: CreateDBClusterEndpointRequest.h:228
Aws::RDS::Model::CreateDBClusterEndpointRequest::WithTags
CreateDBClusterEndpointRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateDBClusterEndpointRequest.h:335
Aws::RDS::Model::CreateDBClusterEndpointRequest::SetEndpointType
void SetEndpointType(Aws::String &&value)
Definition: CreateDBClusterEndpointRequest.h:161
Aws::RDS::Model::CreateDBClusterEndpointRequest::SetDBClusterEndpointIdentifier
void SetDBClusterEndpointIdentifier(const char *value)
Definition: CreateDBClusterEndpointRequest.h:118
Aws::RDS::Model::CreateDBClusterEndpointRequest::WithDBClusterEndpointIdentifier
CreateDBClusterEndpointRequest & WithDBClusterEndpointIdentifier(const Aws::String &value)
Definition: CreateDBClusterEndpointRequest.h:124
Aws::RDS::Model::CreateDBClusterEndpointRequest::WithEndpointType
CreateDBClusterEndpointRequest & WithEndpointType(const Aws::String &value)
Definition: CreateDBClusterEndpointRequest.h:173
Aws::RDS::Model::CreateDBClusterEndpointRequest::SetDBClusterEndpointIdentifier
void SetDBClusterEndpointIdentifier(Aws::String &&value)
Definition: CreateDBClusterEndpointRequest.h:112
Aws::RDS::Model::CreateDBClusterEndpointRequest::WithEndpointType
CreateDBClusterEndpointRequest & WithEndpointType(Aws::String &&value)
Definition: CreateDBClusterEndpointRequest.h:179
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::RDS::Model::CreateDBClusterEndpointRequest::SetEndpointType
void SetEndpointType(const Aws::String &value)
Definition: CreateDBClusterEndpointRequest.h:155
Aws::RDS::Model::CreateDBClusterEndpointRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateDBClusterEndpointRequest.h:320
Aws::RDS::Model::CreateDBClusterEndpointRequest::GetDBClusterIdentifier
const Aws::String & GetDBClusterIdentifier() const
Definition: CreateDBClusterEndpointRequest.h:45
Aws::RDS::Model::CreateDBClusterEndpointRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDBClusterEndpointRequest.h:32
RDS_EXPORTS.h
Aws::RDS::Model::CreateDBClusterEndpointRequest::WithTags
CreateDBClusterEndpointRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateDBClusterEndpointRequest.h:330
Aws::RDS::Model::CreateDBClusterEndpointRequest::AddStaticMembers
CreateDBClusterEndpointRequest & AddStaticMembers(const char *value)
Definition: CreateDBClusterEndpointRequest.h:240
Aws::RDS::Model::CreateDBClusterEndpointRequest::SetDBClusterIdentifier
void SetDBClusterIdentifier(const char *value)
Definition: CreateDBClusterEndpointRequest.h:69
Aws::RDS::Model::CreateDBClusterEndpointRequest::AddTags
CreateDBClusterEndpointRequest & AddTags(Tag &&value)
Definition: CreateDBClusterEndpointRequest.h:345
Aws::RDS::Model::CreateDBClusterEndpointRequest::SetEndpointType
void SetEndpointType(const char *value)
Definition: CreateDBClusterEndpointRequest.h:167
Aws::RDS::Model::CreateDBClusterEndpointRequest::AddExcludedMembers
CreateDBClusterEndpointRequest & AddExcludedMembers(const char *value)
Definition: CreateDBClusterEndpointRequest.h:304
Aws::RDS::Model::CreateDBClusterEndpointRequest::WithDBClusterEndpointIdentifier
CreateDBClusterEndpointRequest & WithDBClusterEndpointIdentifier(const char *value)
Definition: CreateDBClusterEndpointRequest.h:136
Aws::RDS::Model::CreateDBClusterEndpointRequest::WithDBClusterIdentifier
CreateDBClusterEndpointRequest & WithDBClusterIdentifier(Aws::String &&value)
Definition: CreateDBClusterEndpointRequest.h:81
Aws::RDS::Model::CreateDBClusterEndpointRequest::DBClusterEndpointIdentifierHasBeenSet
bool DBClusterEndpointIdentifierHasBeenSet() const
Definition: CreateDBClusterEndpointRequest.h:100
Aws::RDS::Model::CreateDBClusterEndpointRequest::WithEndpointType
CreateDBClusterEndpointRequest & WithEndpointType(const char *value)
Definition: CreateDBClusterEndpointRequest.h:185
Aws::RDS::Model::CreateDBClusterEndpointRequest::SetDBClusterIdentifier
void SetDBClusterIdentifier(Aws::String &&value)
Definition: CreateDBClusterEndpointRequest.h:63
AWSString.h
Aws::RDS::Model::CreateDBClusterEndpointRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateDBClusterEndpointRequest.h:315
Aws::RDS::Model::CreateDBClusterEndpointRequest::ExcludedMembersHasBeenSet
bool ExcludedMembersHasBeenSet() const
Definition: CreateDBClusterEndpointRequest.h:255
Aws::RDS::Model::CreateDBClusterEndpointRequest::SetStaticMembers
void SetStaticMembers(const Aws::Vector< Aws::String > &value)
Definition: CreateDBClusterEndpointRequest.h:204
Aws::RDS::Model::CreateDBClusterEndpointRequest::SetStaticMembers
void SetStaticMembers(Aws::Vector< Aws::String > &&value)
Definition: CreateDBClusterEndpointRequest.h:210
Aws::RDS::Model::CreateDBClusterEndpointRequest::WithExcludedMembers
CreateDBClusterEndpointRequest & WithExcludedMembers(Aws::Vector< Aws::String > &&value)
Definition: CreateDBClusterEndpointRequest.h:283
Aws::RDS::Model::CreateDBClusterEndpointRequest::StaticMembersHasBeenSet
bool StaticMembersHasBeenSet() const
Definition: CreateDBClusterEndpointRequest.h:198
Aws::RDS::Model::CreateDBClusterEndpointRequest::AddExcludedMembers
CreateDBClusterEndpointRequest & AddExcludedMembers(const Aws::String &value)
Definition: CreateDBClusterEndpointRequest.h:290
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::CreateDBClusterEndpointRequest::EndpointTypeHasBeenSet
bool EndpointTypeHasBeenSet() const
Definition: CreateDBClusterEndpointRequest.h:149
Aws::RDS::Model::CreateDBClusterEndpointRequest::WithStaticMembers
CreateDBClusterEndpointRequest & WithStaticMembers(const Aws::Vector< Aws::String > &value)
Definition: CreateDBClusterEndpointRequest.h:216
Aws::RDS::Model::CreateDBClusterEndpointRequest::GetDBClusterEndpointIdentifier
const Aws::String & GetDBClusterEndpointIdentifier() const
Definition: CreateDBClusterEndpointRequest.h:94
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::CreateDBClusterEndpointRequest::SetDBClusterIdentifier
void SetDBClusterIdentifier(const Aws::String &value)
Definition: CreateDBClusterEndpointRequest.h:57
Aws::RDS::Model::CreateDBClusterEndpointRequest::SetDBClusterEndpointIdentifier
void SetDBClusterEndpointIdentifier(const Aws::String &value)
Definition: CreateDBClusterEndpointRequest.h:106
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Tag.h
RDSRequest.h
Aws::RDS::Model::CreateDBClusterEndpointRequest::WithExcludedMembers
CreateDBClusterEndpointRequest & WithExcludedMembers(const Aws::Vector< Aws::String > &value)
Definition: CreateDBClusterEndpointRequest.h:276
Aws::RDS::Model::CreateDBClusterEndpointRequest::WithStaticMembers
CreateDBClusterEndpointRequest & WithStaticMembers(Aws::Vector< Aws::String > &&value)
Definition: CreateDBClusterEndpointRequest.h:222
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::CreateDBClusterEndpointRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::CreateDBClusterEndpointRequest::WithDBClusterIdentifier
CreateDBClusterEndpointRequest & WithDBClusterIdentifier(const Aws::String &value)
Definition: CreateDBClusterEndpointRequest.h:75
Aws::RDS::Model::CreateDBClusterEndpointRequest::CreateDBClusterEndpointRequest
CreateDBClusterEndpointRequest()