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/finspace/model/CodeConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/finspace/model/KxClusterCodeDeploymentConfiguration.h>
13#include <aws/finspace/model/KxCommandLineArgument.h>
15#include <aws/core/utils/UUID.h>
35 inline virtual const char*
GetServiceRequestName()
const override {
return "UpdateKxClusterCodeConfiguration"; }
46 template<
typename EnvironmentIdT = Aws::String>
47 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet =
true; m_environmentId = std::forward<EnvironmentIdT>(value); }
48 template<
typename EnvironmentIdT = Aws::String>
58 template<
typename ClusterNameT = Aws::String>
59 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet =
true; m_clusterName = std::forward<ClusterNameT>(value); }
60 template<
typename ClusterNameT = Aws::String>
70 template<
typename ClientTokenT = Aws::String>
71 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
72 template<
typename ClientTokenT = Aws::String>
80 template<
typename CodeT = CodeConfiguration>
81 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
82 template<
typename CodeT = CodeConfiguration>
96 template<
typename InitializationScriptT = Aws::String>
97 void SetInitializationScript(InitializationScriptT&& value) { m_initializationScriptHasBeenSet =
true; m_initializationScript = std::forward<InitializationScriptT>(value); }
98 template<
typename InitializationScriptT = Aws::String>
110 template<
typename CommandLineArgumentsT = Aws::Vector<KxCommandLineArgument>>
111 void SetCommandLineArguments(CommandLineArgumentsT&& value) { m_commandLineArgumentsHasBeenSet =
true; m_commandLineArguments = std::forward<CommandLineArgumentsT>(value); }
112 template<
typename CommandLineArgumentsT = Aws::Vector<KxCommandLineArgument>>
114 template<
typename CommandLineArgumentsT = KxCommandLineArgument>
125 template<
typename DeploymentConfigurationT = KxClusterCodeDeploymentConfiguration>
126 void SetDeploymentConfiguration(DeploymentConfigurationT&& value) { m_deploymentConfigurationHasBeenSet =
true; m_deploymentConfiguration = std::forward<DeploymentConfigurationT>(value); }
127 template<
typename DeploymentConfigurationT = KxClusterCodeDeploymentConfiguration>
133 bool m_environmentIdHasBeenSet =
false;
136 bool m_clusterNameHasBeenSet =
false;
139 bool m_clientTokenHasBeenSet =
true;
141 CodeConfiguration m_code;
142 bool m_codeHasBeenSet =
false;
145 bool m_initializationScriptHasBeenSet =
false;
148 bool m_commandLineArgumentsHasBeenSet =
false;
150 KxClusterCodeDeploymentConfiguration m_deploymentConfiguration;
151 bool m_deploymentConfigurationHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
bool InitializationScriptHasBeenSet() const
UpdateKxClusterCodeConfigurationRequest & AddCommandLineArguments(CommandLineArgumentsT &&value)
const Aws::String & GetInitializationScript() const
void SetDeploymentConfiguration(DeploymentConfigurationT &&value)
bool CodeHasBeenSet() const
const CodeConfiguration & GetCode() const
UpdateKxClusterCodeConfigurationRequest & WithCode(CodeT &&value)
bool EnvironmentIdHasBeenSet() const
bool CommandLineArgumentsHasBeenSet() const
const KxClusterCodeDeploymentConfiguration & GetDeploymentConfiguration() const
void SetInitializationScript(InitializationScriptT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
UpdateKxClusterCodeConfigurationRequest & WithDeploymentConfiguration(DeploymentConfigurationT &&value)
bool ClientTokenHasBeenSet() const
UpdateKxClusterCodeConfigurationRequest & WithEnvironmentId(EnvironmentIdT &&value)
const Aws::Vector< KxCommandLineArgument > & GetCommandLineArguments() const
AWS_FINSPACE_API UpdateKxClusterCodeConfigurationRequest()=default
AWS_FINSPACE_API Aws::String SerializePayload() const override
void SetCommandLineArguments(CommandLineArgumentsT &&value)
void SetClientToken(ClientTokenT &&value)
UpdateKxClusterCodeConfigurationRequest & WithClientToken(ClientTokenT &&value)
bool DeploymentConfigurationHasBeenSet() const
const Aws::String & GetClusterName() const
UpdateKxClusterCodeConfigurationRequest & WithCommandLineArguments(CommandLineArgumentsT &&value)
const Aws::String & GetClientToken() const
void SetCode(CodeT &&value)
UpdateKxClusterCodeConfigurationRequest & WithInitializationScript(InitializationScriptT &&value)
UpdateKxClusterCodeConfigurationRequest & WithClusterName(ClusterNameT &&value)
const Aws::String & GetEnvironmentId() const
void SetClusterName(ClusterNameT &&value)
bool ClusterNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector