AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateClusterRequest.h
1
6#pragma once
7#include <aws/dsql/DSQL_EXPORTS.h>
8#include <aws/dsql/DSQLRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dsql/model/MultiRegionProperties.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace DSQL
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DSQL_API UpdateClusterRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateCluster"; }
33
34 AWS_DSQL_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetIdentifier() const { return m_identifier; }
42 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
43 template<typename IdentifierT = Aws::String>
44 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
45 template<typename IdentifierT = Aws::String>
46 UpdateClusterRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
48
50
53 inline bool GetDeletionProtectionEnabled() const { return m_deletionProtectionEnabled; }
54 inline bool DeletionProtectionEnabledHasBeenSet() const { return m_deletionProtectionEnabledHasBeenSet; }
55 inline void SetDeletionProtectionEnabled(bool value) { m_deletionProtectionEnabledHasBeenSet = true; m_deletionProtectionEnabled = value; }
58
60
65 inline const Aws::String& GetKmsEncryptionKey() const { return m_kmsEncryptionKey; }
66 inline bool KmsEncryptionKeyHasBeenSet() const { return m_kmsEncryptionKeyHasBeenSet; }
67 template<typename KmsEncryptionKeyT = Aws::String>
68 void SetKmsEncryptionKey(KmsEncryptionKeyT&& value) { m_kmsEncryptionKeyHasBeenSet = true; m_kmsEncryptionKey = std::forward<KmsEncryptionKeyT>(value); }
69 template<typename KmsEncryptionKeyT = Aws::String>
70 UpdateClusterRequest& WithKmsEncryptionKey(KmsEncryptionKeyT&& value) { SetKmsEncryptionKey(std::forward<KmsEncryptionKeyT>(value)); return *this;}
72
74
83 inline const Aws::String& GetClientToken() const { return m_clientToken; }
84 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
85 template<typename ClientTokenT = Aws::String>
86 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
87 template<typename ClientTokenT = Aws::String>
88 UpdateClusterRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
90
92
96 inline const MultiRegionProperties& GetMultiRegionProperties() const { return m_multiRegionProperties; }
97 inline bool MultiRegionPropertiesHasBeenSet() const { return m_multiRegionPropertiesHasBeenSet; }
98 template<typename MultiRegionPropertiesT = MultiRegionProperties>
99 void SetMultiRegionProperties(MultiRegionPropertiesT&& value) { m_multiRegionPropertiesHasBeenSet = true; m_multiRegionProperties = std::forward<MultiRegionPropertiesT>(value); }
100 template<typename MultiRegionPropertiesT = MultiRegionProperties>
101 UpdateClusterRequest& WithMultiRegionProperties(MultiRegionPropertiesT&& value) { SetMultiRegionProperties(std::forward<MultiRegionPropertiesT>(value)); return *this;}
103 private:
104
105 Aws::String m_identifier;
106 bool m_identifierHasBeenSet = false;
107
108 bool m_deletionProtectionEnabled{false};
109 bool m_deletionProtectionEnabledHasBeenSet = false;
110
111 Aws::String m_kmsEncryptionKey;
112 bool m_kmsEncryptionKeyHasBeenSet = false;
113
115 bool m_clientTokenHasBeenSet = true;
116
117 MultiRegionProperties m_multiRegionProperties;
118 bool m_multiRegionPropertiesHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace DSQL
123} // namespace Aws
UpdateClusterRequest & WithDeletionProtectionEnabled(bool value)
AWS_DSQL_API UpdateClusterRequest()=default
const Aws::String & GetClientToken() const
void SetMultiRegionProperties(MultiRegionPropertiesT &&value)
UpdateClusterRequest & WithKmsEncryptionKey(KmsEncryptionKeyT &&value)
void SetKmsEncryptionKey(KmsEncryptionKeyT &&value)
AWS_DSQL_API Aws::String SerializePayload() const override
const MultiRegionProperties & GetMultiRegionProperties() const
UpdateClusterRequest & WithIdentifier(IdentifierT &&value)
UpdateClusterRequest & WithClientToken(ClientTokenT &&value)
UpdateClusterRequest & WithMultiRegionProperties(MultiRegionPropertiesT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetKmsEncryptionKey() const
const Aws::String & GetIdentifier() const
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String