AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateKxClusterCodeConfigurationRequest.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/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>
14#include <utility>
15#include <aws/core/utils/UUID.h>
16
17namespace Aws
18{
19namespace finspace
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_FINSPACE_API UpdateKxClusterCodeConfigurationRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateKxClusterCodeConfiguration"; }
36
37 AWS_FINSPACE_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
45 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
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>
49 UpdateKxClusterCodeConfigurationRequest& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetClusterName() const { return m_clusterName; }
57 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
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>
61 UpdateKxClusterCodeConfigurationRequest& WithClusterName(ClusterNameT&& value) { SetClusterName(std::forward<ClusterNameT>(value)); return *this;}
63
65
68 inline const Aws::String& GetClientToken() const { return m_clientToken; }
69 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
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>
73 UpdateKxClusterCodeConfigurationRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
75
77
78 inline const CodeConfiguration& GetCode() const { return m_code; }
79 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
80 template<typename CodeT = CodeConfiguration>
81 void SetCode(CodeT&& value) { m_codeHasBeenSet = true; m_code = std::forward<CodeT>(value); }
82 template<typename CodeT = CodeConfiguration>
83 UpdateKxClusterCodeConfigurationRequest& WithCode(CodeT&& value) { SetCode(std::forward<CodeT>(value)); return *this;}
85
87
94 inline const Aws::String& GetInitializationScript() const { return m_initializationScript; }
95 inline bool InitializationScriptHasBeenSet() const { return m_initializationScriptHasBeenSet; }
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>
99 UpdateKxClusterCodeConfigurationRequest& WithInitializationScript(InitializationScriptT&& value) { SetInitializationScript(std::forward<InitializationScriptT>(value)); return *this;}
101
103
108 inline const Aws::Vector<KxCommandLineArgument>& GetCommandLineArguments() const { return m_commandLineArguments; }
109 inline bool CommandLineArgumentsHasBeenSet() const { return m_commandLineArgumentsHasBeenSet; }
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>>
113 UpdateKxClusterCodeConfigurationRequest& WithCommandLineArguments(CommandLineArgumentsT&& value) { SetCommandLineArguments(std::forward<CommandLineArgumentsT>(value)); return *this;}
114 template<typename CommandLineArgumentsT = KxCommandLineArgument>
115 UpdateKxClusterCodeConfigurationRequest& AddCommandLineArguments(CommandLineArgumentsT&& value) { m_commandLineArgumentsHasBeenSet = true; m_commandLineArguments.emplace_back(std::forward<CommandLineArgumentsT>(value)); return *this; }
117
119
123 inline const KxClusterCodeDeploymentConfiguration& GetDeploymentConfiguration() const { return m_deploymentConfiguration; }
124 inline bool DeploymentConfigurationHasBeenSet() const { return m_deploymentConfigurationHasBeenSet; }
125 template<typename DeploymentConfigurationT = KxClusterCodeDeploymentConfiguration>
126 void SetDeploymentConfiguration(DeploymentConfigurationT&& value) { m_deploymentConfigurationHasBeenSet = true; m_deploymentConfiguration = std::forward<DeploymentConfigurationT>(value); }
127 template<typename DeploymentConfigurationT = KxClusterCodeDeploymentConfiguration>
128 UpdateKxClusterCodeConfigurationRequest& WithDeploymentConfiguration(DeploymentConfigurationT&& value) { SetDeploymentConfiguration(std::forward<DeploymentConfigurationT>(value)); return *this;}
130 private:
131
132 Aws::String m_environmentId;
133 bool m_environmentIdHasBeenSet = false;
134
135 Aws::String m_clusterName;
136 bool m_clusterNameHasBeenSet = false;
137
139 bool m_clientTokenHasBeenSet = true;
140
141 CodeConfiguration m_code;
142 bool m_codeHasBeenSet = false;
143
144 Aws::String m_initializationScript;
145 bool m_initializationScriptHasBeenSet = false;
146
147 Aws::Vector<KxCommandLineArgument> m_commandLineArguments;
148 bool m_commandLineArgumentsHasBeenSet = false;
149
150 KxClusterCodeDeploymentConfiguration m_deploymentConfiguration;
151 bool m_deploymentConfigurationHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace finspace
156} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
UpdateKxClusterCodeConfigurationRequest & AddCommandLineArguments(CommandLineArgumentsT &&value)
const KxClusterCodeDeploymentConfiguration & GetDeploymentConfiguration() const
UpdateKxClusterCodeConfigurationRequest & WithDeploymentConfiguration(DeploymentConfigurationT &&value)
UpdateKxClusterCodeConfigurationRequest & WithEnvironmentId(EnvironmentIdT &&value)
AWS_FINSPACE_API Aws::String SerializePayload() const override
UpdateKxClusterCodeConfigurationRequest & WithClientToken(ClientTokenT &&value)
UpdateKxClusterCodeConfigurationRequest & WithCommandLineArguments(CommandLineArgumentsT &&value)
UpdateKxClusterCodeConfigurationRequest & WithInitializationScript(InitializationScriptT &&value)
UpdateKxClusterCodeConfigurationRequest & WithClusterName(ClusterNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector