AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyGlobalClusterRequest.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 <utility>
11
12namespace Aws
13{
14namespace Neptune
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_NEPTUNE_API ModifyGlobalClusterRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ModifyGlobalCluster"; }
31
32 AWS_NEPTUNE_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
45 inline const Aws::String& GetGlobalClusterIdentifier() const{ return m_globalClusterIdentifier; }
46 inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
47 inline void SetGlobalClusterIdentifier(const Aws::String& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = value; }
48 inline void SetGlobalClusterIdentifier(Aws::String&& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = std::move(value); }
49 inline void SetGlobalClusterIdentifier(const char* value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier.assign(value); }
52 inline ModifyGlobalClusterRequest& WithGlobalClusterIdentifier(const char* value) { SetGlobalClusterIdentifier(value); return *this;}
54
56
63 inline const Aws::String& GetNewGlobalClusterIdentifier() const{ return m_newGlobalClusterIdentifier; }
64 inline bool NewGlobalClusterIdentifierHasBeenSet() const { return m_newGlobalClusterIdentifierHasBeenSet; }
65 inline void SetNewGlobalClusterIdentifier(const Aws::String& value) { m_newGlobalClusterIdentifierHasBeenSet = true; m_newGlobalClusterIdentifier = value; }
66 inline void SetNewGlobalClusterIdentifier(Aws::String&& value) { m_newGlobalClusterIdentifierHasBeenSet = true; m_newGlobalClusterIdentifier = std::move(value); }
67 inline void SetNewGlobalClusterIdentifier(const char* value) { m_newGlobalClusterIdentifierHasBeenSet = true; m_newGlobalClusterIdentifier.assign(value); }
72
74
78 inline bool GetDeletionProtection() const{ return m_deletionProtection; }
79 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
80 inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
81 inline ModifyGlobalClusterRequest& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;}
83
85
92 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
93 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
94 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
95 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
96 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
97 inline ModifyGlobalClusterRequest& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
98 inline ModifyGlobalClusterRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
99 inline ModifyGlobalClusterRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
101
103
112 inline bool GetAllowMajorVersionUpgrade() const{ return m_allowMajorVersionUpgrade; }
113 inline bool AllowMajorVersionUpgradeHasBeenSet() const { return m_allowMajorVersionUpgradeHasBeenSet; }
114 inline void SetAllowMajorVersionUpgrade(bool value) { m_allowMajorVersionUpgradeHasBeenSet = true; m_allowMajorVersionUpgrade = value; }
117 private:
118
119 Aws::String m_globalClusterIdentifier;
120 bool m_globalClusterIdentifierHasBeenSet = false;
121
122 Aws::String m_newGlobalClusterIdentifier;
123 bool m_newGlobalClusterIdentifierHasBeenSet = false;
124
125 bool m_deletionProtection;
126 bool m_deletionProtectionHasBeenSet = false;
127
128 Aws::String m_engineVersion;
129 bool m_engineVersionHasBeenSet = false;
130
131 bool m_allowMajorVersionUpgrade;
132 bool m_allowMajorVersionUpgradeHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace Neptune
137} // namespace Aws
ModifyGlobalClusterRequest & WithEngineVersion(Aws::String &&value)
ModifyGlobalClusterRequest & WithGlobalClusterIdentifier(const char *value)
ModifyGlobalClusterRequest & WithEngineVersion(const char *value)
ModifyGlobalClusterRequest & WithGlobalClusterIdentifier(const Aws::String &value)
ModifyGlobalClusterRequest & WithNewGlobalClusterIdentifier(const Aws::String &value)
ModifyGlobalClusterRequest & WithNewGlobalClusterIdentifier(const char *value)
ModifyGlobalClusterRequest & WithGlobalClusterIdentifier(Aws::String &&value)
ModifyGlobalClusterRequest & WithAllowMajorVersionUpgrade(bool value)
ModifyGlobalClusterRequest & WithDeletionProtection(bool value)
ModifyGlobalClusterRequest & WithEngineVersion(const Aws::String &value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
ModifyGlobalClusterRequest & WithNewGlobalClusterIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String