AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateGlobalClusterRequest.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 CreateGlobalClusterRequest();
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 "CreateGlobalCluster"; }
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
43 inline const Aws::String& GetGlobalClusterIdentifier() const{ return m_globalClusterIdentifier; }
44 inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
45 inline void SetGlobalClusterIdentifier(const Aws::String& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = value; }
46 inline void SetGlobalClusterIdentifier(Aws::String&& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = std::move(value); }
47 inline void SetGlobalClusterIdentifier(const char* value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier.assign(value); }
50 inline CreateGlobalClusterRequest& WithGlobalClusterIdentifier(const char* value) { SetGlobalClusterIdentifier(value); return *this;}
52
54
58 inline const Aws::String& GetSourceDBClusterIdentifier() const{ return m_sourceDBClusterIdentifier; }
59 inline bool SourceDBClusterIdentifierHasBeenSet() const { return m_sourceDBClusterIdentifierHasBeenSet; }
60 inline void SetSourceDBClusterIdentifier(const Aws::String& value) { m_sourceDBClusterIdentifierHasBeenSet = true; m_sourceDBClusterIdentifier = value; }
61 inline void SetSourceDBClusterIdentifier(Aws::String&& value) { m_sourceDBClusterIdentifierHasBeenSet = true; m_sourceDBClusterIdentifier = std::move(value); }
62 inline void SetSourceDBClusterIdentifier(const char* value) { m_sourceDBClusterIdentifierHasBeenSet = true; m_sourceDBClusterIdentifier.assign(value); }
67
69
73 inline const Aws::String& GetEngine() const{ return m_engine; }
74 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
75 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
76 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
77 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
78 inline CreateGlobalClusterRequest& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
79 inline CreateGlobalClusterRequest& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
80 inline CreateGlobalClusterRequest& WithEngine(const char* value) { SetEngine(value); return *this;}
82
84
88 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
89 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
90 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
91 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
92 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
93 inline CreateGlobalClusterRequest& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
94 inline CreateGlobalClusterRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
95 inline CreateGlobalClusterRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
97
99
103 inline bool GetDeletionProtection() const{ return m_deletionProtection; }
104 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
105 inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
108
110
113 inline bool GetStorageEncrypted() const{ return m_storageEncrypted; }
114 inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; }
115 inline void SetStorageEncrypted(bool value) { m_storageEncryptedHasBeenSet = true; m_storageEncrypted = value; }
116 inline CreateGlobalClusterRequest& WithStorageEncrypted(bool value) { SetStorageEncrypted(value); return *this;}
118 private:
119
120 Aws::String m_globalClusterIdentifier;
121 bool m_globalClusterIdentifierHasBeenSet = false;
122
123 Aws::String m_sourceDBClusterIdentifier;
124 bool m_sourceDBClusterIdentifierHasBeenSet = false;
125
126 Aws::String m_engine;
127 bool m_engineHasBeenSet = false;
128
129 Aws::String m_engineVersion;
130 bool m_engineVersionHasBeenSet = false;
131
132 bool m_deletionProtection;
133 bool m_deletionProtectionHasBeenSet = false;
134
135 bool m_storageEncrypted;
136 bool m_storageEncryptedHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace Neptune
141} // namespace Aws
CreateGlobalClusterRequest & WithGlobalClusterIdentifier(const Aws::String &value)
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateGlobalClusterRequest & WithGlobalClusterIdentifier(const char *value)
CreateGlobalClusterRequest & WithEngine(Aws::String &&value)
CreateGlobalClusterRequest & WithEngineVersion(const Aws::String &value)
CreateGlobalClusterRequest & WithEngine(const Aws::String &value)
CreateGlobalClusterRequest & WithEngine(const char *value)
CreateGlobalClusterRequest & WithEngineVersion(Aws::String &&value)
CreateGlobalClusterRequest & WithEngineVersion(const char *value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
CreateGlobalClusterRequest & WithSourceDBClusterIdentifier(const char *value)
CreateGlobalClusterRequest & WithSourceDBClusterIdentifier(Aws::String &&value)
CreateGlobalClusterRequest & WithSourceDBClusterIdentifier(const Aws::String &value)
CreateGlobalClusterRequest & WithDeletionProtection(bool value)
CreateGlobalClusterRequest & WithStorageEncrypted(bool value)
virtual const char * GetServiceRequestName() const override
CreateGlobalClusterRequest & WithGlobalClusterIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String