AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
RemoveFromGlobalClusterRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/rds/RDS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace RDS {
15namespace Model {
16
20 public:
21 AWS_RDS_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_RDS_API Aws::String SerializePayload() const override;
30
31 protected:
32 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
33
34 public:
36
39 inline const Aws::String& GetGlobalClusterIdentifier() const { return m_globalClusterIdentifier; }
40 inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
41 template <typename GlobalClusterIdentifierT = Aws::String>
42 void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
43 m_globalClusterIdentifierHasBeenSet = true;
44 m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value);
45 }
46 template <typename GlobalClusterIdentifierT = Aws::String>
48 SetGlobalClusterIdentifier(std::forward<GlobalClusterIdentifierT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetDbClusterIdentifier() const { return m_dbClusterIdentifier; }
59 inline bool DbClusterIdentifierHasBeenSet() const { return m_dbClusterIdentifierHasBeenSet; }
60 template <typename DbClusterIdentifierT = Aws::String>
61 void SetDbClusterIdentifier(DbClusterIdentifierT&& value) {
62 m_dbClusterIdentifierHasBeenSet = true;
63 m_dbClusterIdentifier = std::forward<DbClusterIdentifierT>(value);
64 }
65 template <typename DbClusterIdentifierT = Aws::String>
67 SetDbClusterIdentifier(std::forward<DbClusterIdentifierT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_globalClusterIdentifier;
73
74 Aws::String m_dbClusterIdentifier;
75 bool m_globalClusterIdentifierHasBeenSet = false;
76 bool m_dbClusterIdentifierHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace RDS
81} // namespace Aws
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
RemoveFromGlobalClusterRequest & WithDbClusterIdentifier(DbClusterIdentifierT &&value)
RemoveFromGlobalClusterRequest & WithGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
AWS_RDS_API Aws::String SerializePayload() const override
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String