AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyDBClusterEndpointRequest.h
1
6#pragma once
7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/neptune/NeptuneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Neptune
16{
17namespace 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_NEPTUNE_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
45 inline const Aws::String& GetDBClusterEndpointIdentifier() const{ return m_dBClusterEndpointIdentifier; }
46 inline bool DBClusterEndpointIdentifierHasBeenSet() const { return m_dBClusterEndpointIdentifierHasBeenSet; }
47 inline void SetDBClusterEndpointIdentifier(const Aws::String& value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier = value; }
48 inline void SetDBClusterEndpointIdentifier(Aws::String&& value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier = std::move(value); }
49 inline void SetDBClusterEndpointIdentifier(const char* value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier.assign(value); }
54
56
60 inline const Aws::String& GetEndpointType() const{ return m_endpointType; }
61 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
62 inline void SetEndpointType(const Aws::String& value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; }
63 inline void SetEndpointType(Aws::String&& value) { m_endpointTypeHasBeenSet = true; m_endpointType = std::move(value); }
64 inline void SetEndpointType(const char* value) { m_endpointTypeHasBeenSet = true; m_endpointType.assign(value); }
65 inline ModifyDBClusterEndpointRequest& WithEndpointType(const Aws::String& value) { SetEndpointType(value); return *this;}
66 inline ModifyDBClusterEndpointRequest& WithEndpointType(Aws::String&& value) { SetEndpointType(std::move(value)); return *this;}
67 inline ModifyDBClusterEndpointRequest& WithEndpointType(const char* value) { SetEndpointType(value); return *this;}
69
71
75 inline const Aws::Vector<Aws::String>& GetStaticMembers() const{ return m_staticMembers; }
76 inline bool StaticMembersHasBeenSet() const { return m_staticMembersHasBeenSet; }
77 inline void SetStaticMembers(const Aws::Vector<Aws::String>& value) { m_staticMembersHasBeenSet = true; m_staticMembers = value; }
78 inline void SetStaticMembers(Aws::Vector<Aws::String>&& value) { m_staticMembersHasBeenSet = true; m_staticMembers = std::move(value); }
81 inline ModifyDBClusterEndpointRequest& AddStaticMembers(const Aws::String& value) { m_staticMembersHasBeenSet = true; m_staticMembers.push_back(value); return *this; }
82 inline ModifyDBClusterEndpointRequest& AddStaticMembers(Aws::String&& value) { m_staticMembersHasBeenSet = true; m_staticMembers.push_back(std::move(value)); return *this; }
83 inline ModifyDBClusterEndpointRequest& AddStaticMembers(const char* value) { m_staticMembersHasBeenSet = true; m_staticMembers.push_back(value); return *this; }
85
87
92 inline const Aws::Vector<Aws::String>& GetExcludedMembers() const{ return m_excludedMembers; }
93 inline bool ExcludedMembersHasBeenSet() const { return m_excludedMembersHasBeenSet; }
94 inline void SetExcludedMembers(const Aws::Vector<Aws::String>& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers = value; }
95 inline void SetExcludedMembers(Aws::Vector<Aws::String>&& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers = std::move(value); }
98 inline ModifyDBClusterEndpointRequest& AddExcludedMembers(const Aws::String& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers.push_back(value); return *this; }
99 inline ModifyDBClusterEndpointRequest& AddExcludedMembers(Aws::String&& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers.push_back(std::move(value)); return *this; }
100 inline ModifyDBClusterEndpointRequest& AddExcludedMembers(const char* value) { m_excludedMembersHasBeenSet = true; m_excludedMembers.push_back(value); return *this; }
102 private:
103
104 Aws::String m_dBClusterEndpointIdentifier;
105 bool m_dBClusterEndpointIdentifierHasBeenSet = false;
106
107 Aws::String m_endpointType;
108 bool m_endpointTypeHasBeenSet = false;
109
110 Aws::Vector<Aws::String> m_staticMembers;
111 bool m_staticMembersHasBeenSet = false;
112
113 Aws::Vector<Aws::String> m_excludedMembers;
114 bool m_excludedMembersHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace Neptune
119} // namespace Aws
ModifyDBClusterEndpointRequest & WithEndpointType(const char *value)
ModifyDBClusterEndpointRequest & WithDBClusterEndpointIdentifier(const Aws::String &value)
ModifyDBClusterEndpointRequest & WithStaticMembers(Aws::Vector< Aws::String > &&value)
ModifyDBClusterEndpointRequest & WithExcludedMembers(Aws::Vector< Aws::String > &&value)
ModifyDBClusterEndpointRequest & AddExcludedMembers(const Aws::String &value)
ModifyDBClusterEndpointRequest & WithStaticMembers(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetStaticMembers() const
ModifyDBClusterEndpointRequest & AddStaticMembers(const Aws::String &value)
void SetStaticMembers(const Aws::Vector< Aws::String > &value)
ModifyDBClusterEndpointRequest & WithExcludedMembers(const Aws::Vector< Aws::String > &value)
void SetExcludedMembers(const Aws::Vector< Aws::String > &value)
ModifyDBClusterEndpointRequest & WithDBClusterEndpointIdentifier(Aws::String &&value)
const Aws::Vector< Aws::String > & GetExcludedMembers() const
ModifyDBClusterEndpointRequest & AddExcludedMembers(const char *value)
ModifyDBClusterEndpointRequest & AddStaticMembers(const char *value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
ModifyDBClusterEndpointRequest & AddStaticMembers(Aws::String &&value)
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyDBClusterEndpointRequest & WithEndpointType(Aws::String &&value)
ModifyDBClusterEndpointRequest & WithDBClusterEndpointIdentifier(const char *value)
ModifyDBClusterEndpointRequest & WithEndpointType(const Aws::String &value)
ModifyDBClusterEndpointRequest & AddExcludedMembers(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector