AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDBClusterEndpointRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace RDS
17{
18namespace 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_RDS_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
46 inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
47 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
48 inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
49 inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
50 inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
53 inline CreateDBClusterEndpointRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
55
57
61 inline const Aws::String& GetDBClusterEndpointIdentifier() const{ return m_dBClusterEndpointIdentifier; }
62 inline bool DBClusterEndpointIdentifierHasBeenSet() const { return m_dBClusterEndpointIdentifierHasBeenSet; }
63 inline void SetDBClusterEndpointIdentifier(const Aws::String& value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier = value; }
64 inline void SetDBClusterEndpointIdentifier(Aws::String&& value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier = std::move(value); }
65 inline void SetDBClusterEndpointIdentifier(const char* value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier.assign(value); }
70
72
76 inline const Aws::String& GetEndpointType() const{ return m_endpointType; }
77 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
78 inline void SetEndpointType(const Aws::String& value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; }
79 inline void SetEndpointType(Aws::String&& value) { m_endpointTypeHasBeenSet = true; m_endpointType = std::move(value); }
80 inline void SetEndpointType(const char* value) { m_endpointTypeHasBeenSet = true; m_endpointType.assign(value); }
81 inline CreateDBClusterEndpointRequest& WithEndpointType(const Aws::String& value) { SetEndpointType(value); return *this;}
82 inline CreateDBClusterEndpointRequest& WithEndpointType(Aws::String&& value) { SetEndpointType(std::move(value)); return *this;}
83 inline CreateDBClusterEndpointRequest& WithEndpointType(const char* value) { SetEndpointType(value); return *this;}
85
87
91 inline const Aws::Vector<Aws::String>& GetStaticMembers() const{ return m_staticMembers; }
92 inline bool StaticMembersHasBeenSet() const { return m_staticMembersHasBeenSet; }
93 inline void SetStaticMembers(const Aws::Vector<Aws::String>& value) { m_staticMembersHasBeenSet = true; m_staticMembers = value; }
94 inline void SetStaticMembers(Aws::Vector<Aws::String>&& value) { m_staticMembersHasBeenSet = true; m_staticMembers = std::move(value); }
97 inline CreateDBClusterEndpointRequest& AddStaticMembers(const Aws::String& value) { m_staticMembersHasBeenSet = true; m_staticMembers.push_back(value); return *this; }
98 inline CreateDBClusterEndpointRequest& AddStaticMembers(Aws::String&& value) { m_staticMembersHasBeenSet = true; m_staticMembers.push_back(std::move(value)); return *this; }
99 inline CreateDBClusterEndpointRequest& AddStaticMembers(const char* value) { m_staticMembersHasBeenSet = true; m_staticMembers.push_back(value); return *this; }
101
103
108 inline const Aws::Vector<Aws::String>& GetExcludedMembers() const{ return m_excludedMembers; }
109 inline bool ExcludedMembersHasBeenSet() const { return m_excludedMembersHasBeenSet; }
110 inline void SetExcludedMembers(const Aws::Vector<Aws::String>& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers = value; }
111 inline void SetExcludedMembers(Aws::Vector<Aws::String>&& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers = std::move(value); }
114 inline CreateDBClusterEndpointRequest& AddExcludedMembers(const Aws::String& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers.push_back(value); return *this; }
115 inline CreateDBClusterEndpointRequest& AddExcludedMembers(Aws::String&& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers.push_back(std::move(value)); return *this; }
116 inline CreateDBClusterEndpointRequest& AddExcludedMembers(const char* value) { m_excludedMembersHasBeenSet = true; m_excludedMembers.push_back(value); return *this; }
118
120
123 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
124 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
125 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
126 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
127 inline CreateDBClusterEndpointRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
128 inline CreateDBClusterEndpointRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
129 inline CreateDBClusterEndpointRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
130 inline CreateDBClusterEndpointRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
132 private:
133
134 Aws::String m_dBClusterIdentifier;
135 bool m_dBClusterIdentifierHasBeenSet = false;
136
137 Aws::String m_dBClusterEndpointIdentifier;
138 bool m_dBClusterEndpointIdentifierHasBeenSet = false;
139
140 Aws::String m_endpointType;
141 bool m_endpointTypeHasBeenSet = false;
142
143 Aws::Vector<Aws::String> m_staticMembers;
144 bool m_staticMembersHasBeenSet = false;
145
146 Aws::Vector<Aws::String> m_excludedMembers;
147 bool m_excludedMembersHasBeenSet = false;
148
149 Aws::Vector<Tag> m_tags;
150 bool m_tagsHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace RDS
155} // namespace Aws
CreateDBClusterEndpointRequest & AddTags(const Tag &value)
CreateDBClusterEndpointRequest & WithTags(Aws::Vector< Tag > &&value)
void SetExcludedMembers(const Aws::Vector< Aws::String > &value)
CreateDBClusterEndpointRequest & AddExcludedMembers(const char *value)
virtual const char * GetServiceRequestName() const override
CreateDBClusterEndpointRequest & AddTags(Tag &&value)
CreateDBClusterEndpointRequest & AddStaticMembers(const Aws::String &value)
AWS_RDS_API Aws::String SerializePayload() const override
void SetStaticMembers(Aws::Vector< Aws::String > &&value)
void SetStaticMembers(const Aws::Vector< Aws::String > &value)
CreateDBClusterEndpointRequest & WithDBClusterIdentifier(const char *value)
CreateDBClusterEndpointRequest & WithTags(const Aws::Vector< Tag > &value)
CreateDBClusterEndpointRequest & WithDBClusterEndpointIdentifier(const Aws::String &value)
CreateDBClusterEndpointRequest & AddExcludedMembers(const Aws::String &value)
CreateDBClusterEndpointRequest & WithDBClusterEndpointIdentifier(Aws::String &&value)
CreateDBClusterEndpointRequest & WithExcludedMembers(Aws::Vector< Aws::String > &&value)
void SetExcludedMembers(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetStaticMembers() const
CreateDBClusterEndpointRequest & WithStaticMembers(const Aws::Vector< Aws::String > &value)
CreateDBClusterEndpointRequest & WithEndpointType(const Aws::String &value)
CreateDBClusterEndpointRequest & AddExcludedMembers(Aws::String &&value)
const Aws::Vector< Aws::String > & GetExcludedMembers() const
CreateDBClusterEndpointRequest & WithExcludedMembers(const Aws::Vector< Aws::String > &value)
CreateDBClusterEndpointRequest & WithEndpointType(Aws::String &&value)
CreateDBClusterEndpointRequest & AddStaticMembers(const char *value)
CreateDBClusterEndpointRequest & WithDBClusterIdentifier(const Aws::String &value)
CreateDBClusterEndpointRequest & WithStaticMembers(Aws::Vector< Aws::String > &&value)
CreateDBClusterEndpointRequest & WithDBClusterIdentifier(Aws::String &&value)
CreateDBClusterEndpointRequest & WithEndpointType(const char *value)
CreateDBClusterEndpointRequest & WithDBClusterEndpointIdentifier(const char *value)
CreateDBClusterEndpointRequest & AddStaticMembers(Aws::String &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector