AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateKxClusterDatabasesRequest.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/finspace/FinspaceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/finspace/model/KxDeploymentConfiguration.h>
12#include <aws/finspace/model/KxDatabaseConfiguration.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace finspace
19{
20namespace Model
21{
22
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 "UpdateKxClusterDatabases"; }
35
36 AWS_FINSPACE_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
44 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
45 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
46 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
47 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
49 inline UpdateKxClusterDatabasesRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
50 inline UpdateKxClusterDatabasesRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
52
54
57 inline const Aws::String& GetClusterName() const{ return m_clusterName; }
58 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
59 inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; }
60 inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); }
61 inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); }
62 inline UpdateKxClusterDatabasesRequest& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;}
63 inline UpdateKxClusterDatabasesRequest& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
64 inline UpdateKxClusterDatabasesRequest& WithClusterName(const char* value) { SetClusterName(value); return *this;}
66
68
71 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
72 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
73 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
74 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
75 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
76 inline UpdateKxClusterDatabasesRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
77 inline UpdateKxClusterDatabasesRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
78 inline UpdateKxClusterDatabasesRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
80
82
85 inline const Aws::Vector<KxDatabaseConfiguration>& GetDatabases() const{ return m_databases; }
86 inline bool DatabasesHasBeenSet() const { return m_databasesHasBeenSet; }
87 inline void SetDatabases(const Aws::Vector<KxDatabaseConfiguration>& value) { m_databasesHasBeenSet = true; m_databases = value; }
88 inline void SetDatabases(Aws::Vector<KxDatabaseConfiguration>&& value) { m_databasesHasBeenSet = true; m_databases = std::move(value); }
91 inline UpdateKxClusterDatabasesRequest& AddDatabases(const KxDatabaseConfiguration& value) { m_databasesHasBeenSet = true; m_databases.push_back(value); return *this; }
92 inline UpdateKxClusterDatabasesRequest& AddDatabases(KxDatabaseConfiguration&& value) { m_databasesHasBeenSet = true; m_databases.push_back(std::move(value)); return *this; }
94
96
100 inline const KxDeploymentConfiguration& GetDeploymentConfiguration() const{ return m_deploymentConfiguration; }
101 inline bool DeploymentConfigurationHasBeenSet() const { return m_deploymentConfigurationHasBeenSet; }
102 inline void SetDeploymentConfiguration(const KxDeploymentConfiguration& value) { m_deploymentConfigurationHasBeenSet = true; m_deploymentConfiguration = value; }
103 inline void SetDeploymentConfiguration(KxDeploymentConfiguration&& value) { m_deploymentConfigurationHasBeenSet = true; m_deploymentConfiguration = std::move(value); }
107 private:
108
109 Aws::String m_environmentId;
110 bool m_environmentIdHasBeenSet = false;
111
112 Aws::String m_clusterName;
113 bool m_clusterNameHasBeenSet = false;
114
115 Aws::String m_clientToken;
116 bool m_clientTokenHasBeenSet = false;
117
119 bool m_databasesHasBeenSet = false;
120
121 KxDeploymentConfiguration m_deploymentConfiguration;
122 bool m_deploymentConfigurationHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace finspace
127} // namespace Aws
UpdateKxClusterDatabasesRequest & WithDatabases(Aws::Vector< KxDatabaseConfiguration > &&value)
UpdateKxClusterDatabasesRequest & WithClientToken(const char *value)
AWS_FINSPACE_API Aws::String SerializePayload() const override
UpdateKxClusterDatabasesRequest & WithClusterName(const char *value)
UpdateKxClusterDatabasesRequest & AddDatabases(KxDatabaseConfiguration &&value)
UpdateKxClusterDatabasesRequest & WithDeploymentConfiguration(const KxDeploymentConfiguration &value)
UpdateKxClusterDatabasesRequest & WithClusterName(Aws::String &&value)
UpdateKxClusterDatabasesRequest & WithEnvironmentId(Aws::String &&value)
UpdateKxClusterDatabasesRequest & WithDatabases(const Aws::Vector< KxDatabaseConfiguration > &value)
UpdateKxClusterDatabasesRequest & WithEnvironmentId(const Aws::String &value)
const KxDeploymentConfiguration & GetDeploymentConfiguration() const
UpdateKxClusterDatabasesRequest & WithDeploymentConfiguration(KxDeploymentConfiguration &&value)
UpdateKxClusterDatabasesRequest & WithClientToken(Aws::String &&value)
void SetDatabases(const Aws::Vector< KxDatabaseConfiguration > &value)
void SetDatabases(Aws::Vector< KxDatabaseConfiguration > &&value)
UpdateKxClusterDatabasesRequest & WithClientToken(const Aws::String &value)
void SetDeploymentConfiguration(const KxDeploymentConfiguration &value)
UpdateKxClusterDatabasesRequest & WithClusterName(const Aws::String &value)
UpdateKxClusterDatabasesRequest & WithEnvironmentId(const char *value)
UpdateKxClusterDatabasesRequest & AddDatabases(const KxDatabaseConfiguration &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