AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
RemoveFromGlobalClusterRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/neptune/NeptuneRequest.h>
9#include <aws/neptune/Neptune_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Neptune {
15namespace Model {
16
20 public:
21 AWS_NEPTUNE_API RemoveFromGlobalClusterRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "RemoveFromGlobalCluster"; }
28
29 AWS_NEPTUNE_API Aws::String SerializePayload() const override;
30
31 protected:
32 AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
33
34 public:
36
40 inline const Aws::String& GetGlobalClusterIdentifier() const { return m_globalClusterIdentifier; }
41 inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
42 template <typename GlobalClusterIdentifierT = Aws::String>
43 void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
44 m_globalClusterIdentifierHasBeenSet = true;
45 m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value);
46 }
47 template <typename GlobalClusterIdentifierT = Aws::String>
49 SetGlobalClusterIdentifier(std::forward<GlobalClusterIdentifierT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetDbClusterIdentifier() const { return m_dbClusterIdentifier; }
60 inline bool DbClusterIdentifierHasBeenSet() const { return m_dbClusterIdentifierHasBeenSet; }
61 template <typename DbClusterIdentifierT = Aws::String>
62 void SetDbClusterIdentifier(DbClusterIdentifierT&& value) {
63 m_dbClusterIdentifierHasBeenSet = true;
64 m_dbClusterIdentifier = std::forward<DbClusterIdentifierT>(value);
65 }
66 template <typename DbClusterIdentifierT = Aws::String>
68 SetDbClusterIdentifier(std::forward<DbClusterIdentifierT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_globalClusterIdentifier;
74 bool m_globalClusterIdentifierHasBeenSet = false;
75
76 Aws::String m_dbClusterIdentifier;
77 bool m_dbClusterIdentifierHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Neptune
82} // namespace Aws
RemoveFromGlobalClusterRequest & WithDbClusterIdentifier(DbClusterIdentifierT &&value)
RemoveFromGlobalClusterRequest & WithGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_NEPTUNE_API RemoveFromGlobalClusterRequest()=default
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String