AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
UpdateKxClusterDatabasesRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/finspace/FinspaceRequest.h>
11#include <aws/finspace/Finspace_EXPORTS.h>
12#include <aws/finspace/model/KxDatabaseConfiguration.h>
13#include <aws/finspace/model/KxDeploymentConfiguration.h>
14
15#include <utility>
16
17namespace Aws {
18namespace finspace {
19namespace Model {
20
24 public:
25 AWS_FINSPACE_API UpdateKxClusterDatabasesRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateKxClusterDatabases"; }
32
33 AWS_FINSPACE_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
40 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
41 template <typename EnvironmentIdT = Aws::String>
42 void SetEnvironmentId(EnvironmentIdT&& value) {
43 m_environmentIdHasBeenSet = true;
44 m_environmentId = std::forward<EnvironmentIdT>(value);
45 }
46 template <typename EnvironmentIdT = Aws::String>
48 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetClusterName() const { return m_clusterName; }
58 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
59 template <typename ClusterNameT = Aws::String>
60 void SetClusterName(ClusterNameT&& value) {
61 m_clusterNameHasBeenSet = true;
62 m_clusterName = std::forward<ClusterNameT>(value);
63 }
64 template <typename ClusterNameT = Aws::String>
66 SetClusterName(std::forward<ClusterNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetClientToken() const { return m_clientToken; }
76 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
77 template <typename ClientTokenT = Aws::String>
78 void SetClientToken(ClientTokenT&& value) {
79 m_clientTokenHasBeenSet = true;
80 m_clientToken = std::forward<ClientTokenT>(value);
81 }
82 template <typename ClientTokenT = Aws::String>
84 SetClientToken(std::forward<ClientTokenT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Vector<KxDatabaseConfiguration>& GetDatabases() const { return m_databases; }
94 inline bool DatabasesHasBeenSet() const { return m_databasesHasBeenSet; }
95 template <typename DatabasesT = Aws::Vector<KxDatabaseConfiguration>>
96 void SetDatabases(DatabasesT&& value) {
97 m_databasesHasBeenSet = true;
98 m_databases = std::forward<DatabasesT>(value);
99 }
100 template <typename DatabasesT = Aws::Vector<KxDatabaseConfiguration>>
102 SetDatabases(std::forward<DatabasesT>(value));
103 return *this;
104 }
105 template <typename DatabasesT = KxDatabaseConfiguration>
107 m_databasesHasBeenSet = true;
108 m_databases.emplace_back(std::forward<DatabasesT>(value));
109 return *this;
110 }
112
114
118 inline const KxDeploymentConfiguration& GetDeploymentConfiguration() const { return m_deploymentConfiguration; }
119 inline bool DeploymentConfigurationHasBeenSet() const { return m_deploymentConfigurationHasBeenSet; }
120 template <typename DeploymentConfigurationT = KxDeploymentConfiguration>
121 void SetDeploymentConfiguration(DeploymentConfigurationT&& value) {
122 m_deploymentConfigurationHasBeenSet = true;
123 m_deploymentConfiguration = std::forward<DeploymentConfigurationT>(value);
124 }
125 template <typename DeploymentConfigurationT = KxDeploymentConfiguration>
127 SetDeploymentConfiguration(std::forward<DeploymentConfigurationT>(value));
128 return *this;
129 }
131 private:
132 Aws::String m_environmentId;
133
134 Aws::String m_clusterName;
135
137
139
140 KxDeploymentConfiguration m_deploymentConfiguration;
141 bool m_environmentIdHasBeenSet = false;
142 bool m_clusterNameHasBeenSet = false;
143 bool m_clientTokenHasBeenSet = true;
144 bool m_databasesHasBeenSet = false;
145 bool m_deploymentConfigurationHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace finspace
150} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
AWS_FINSPACE_API Aws::String SerializePayload() const override
UpdateKxClusterDatabasesRequest & WithDatabases(DatabasesT &&value)
UpdateKxClusterDatabasesRequest & WithEnvironmentId(EnvironmentIdT &&value)
UpdateKxClusterDatabasesRequest & WithClientToken(ClientTokenT &&value)
UpdateKxClusterDatabasesRequest & WithDeploymentConfiguration(DeploymentConfigurationT &&value)
const KxDeploymentConfiguration & GetDeploymentConfiguration() const
UpdateKxClusterDatabasesRequest & AddDatabases(DatabasesT &&value)
AWS_FINSPACE_API UpdateKxClusterDatabasesRequest()=default
UpdateKxClusterDatabasesRequest & WithClusterName(ClusterNameT &&value)
const Aws::Vector< KxDatabaseConfiguration > & GetDatabases() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector