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/docdb/DocDB_EXPORTS.h>
8#include <aws/docdb/DocDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace DocDB
15{
16namespace Model
17{
18
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ModifyGlobalCluster"; }
35
36 AWS_DOCDB_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
49 inline const Aws::String& GetGlobalClusterIdentifier() const{ return m_globalClusterIdentifier; }
50 inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
51 inline void SetGlobalClusterIdentifier(const Aws::String& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = value; }
52 inline void SetGlobalClusterIdentifier(Aws::String&& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = std::move(value); }
53 inline void SetGlobalClusterIdentifier(const char* value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier.assign(value); }
56 inline ModifyGlobalClusterRequest& WithGlobalClusterIdentifier(const char* value) { SetGlobalClusterIdentifier(value); return *this;}
58
60
67 inline const Aws::String& GetNewGlobalClusterIdentifier() const{ return m_newGlobalClusterIdentifier; }
68 inline bool NewGlobalClusterIdentifierHasBeenSet() const { return m_newGlobalClusterIdentifierHasBeenSet; }
69 inline void SetNewGlobalClusterIdentifier(const Aws::String& value) { m_newGlobalClusterIdentifierHasBeenSet = true; m_newGlobalClusterIdentifier = value; }
70 inline void SetNewGlobalClusterIdentifier(Aws::String&& value) { m_newGlobalClusterIdentifierHasBeenSet = true; m_newGlobalClusterIdentifier = std::move(value); }
71 inline void SetNewGlobalClusterIdentifier(const char* value) { m_newGlobalClusterIdentifierHasBeenSet = true; m_newGlobalClusterIdentifier.assign(value); }
76
78
82 inline bool GetDeletionProtection() const{ return m_deletionProtection; }
83 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
84 inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
85 inline ModifyGlobalClusterRequest& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;}
87 private:
88
89 Aws::String m_globalClusterIdentifier;
90 bool m_globalClusterIdentifierHasBeenSet = false;
91
92 Aws::String m_newGlobalClusterIdentifier;
93 bool m_newGlobalClusterIdentifierHasBeenSet = false;
94
95 bool m_deletionProtection;
96 bool m_deletionProtectionHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace DocDB
101} // namespace Aws
ModifyGlobalClusterRequest & WithNewGlobalClusterIdentifier(const char *value)
ModifyGlobalClusterRequest & WithDeletionProtection(bool value)
ModifyGlobalClusterRequest & WithGlobalClusterIdentifier(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ModifyGlobalClusterRequest & WithGlobalClusterIdentifier(const char *value)
ModifyGlobalClusterRequest & WithNewGlobalClusterIdentifier(const Aws::String &value)
ModifyGlobalClusterRequest & WithGlobalClusterIdentifier(const Aws::String &value)
ModifyGlobalClusterRequest & WithNewGlobalClusterIdentifier(Aws::String &&value)
AWS_DOCDB_API Aws::String SerializePayload() const override
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String