AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
47 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
48 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
51 inline UpdateKxClusterCodeConfigurationRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
53
55
58 inline const Aws::String& GetClusterName() const{ return m_clusterName; }
59 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
60 inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; }
61 inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); }
62 inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); }
64 inline UpdateKxClusterCodeConfigurationRequest& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
65 inline UpdateKxClusterCodeConfigurationRequest& WithClusterName(const char* value) { SetClusterName(value); return *this;}
67
69
72 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
73 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
74 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
75 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
76 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
78 inline UpdateKxClusterCodeConfigurationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
79 inline UpdateKxClusterCodeConfigurationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
81
83
84 inline const CodeConfiguration& GetCode() const{ return m_code; }
85 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
86 inline void SetCode(const CodeConfiguration& value) { m_codeHasBeenSet = true; m_code = value; }
87 inline void SetCode(CodeConfiguration&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
88 inline UpdateKxClusterCodeConfigurationRequest& WithCode(const CodeConfiguration& value) { SetCode(value); return *this;}
89 inline UpdateKxClusterCodeConfigurationRequest& WithCode(CodeConfiguration&& value) { SetCode(std::move(value)); return *this;}
91
93
100 inline const Aws::String& GetInitializationScript() const{ return m_initializationScript; }
101 inline bool InitializationScriptHasBeenSet() const { return m_initializationScriptHasBeenSet; }
102 inline void SetInitializationScript(const Aws::String& value) { m_initializationScriptHasBeenSet = true; m_initializationScript = value; }
103 inline void SetInitializationScript(Aws::String&& value) { m_initializationScriptHasBeenSet = true; m_initializationScript = std::move(value); }
104 inline void SetInitializationScript(const char* value) { m_initializationScriptHasBeenSet = true; m_initializationScript.assign(value); }
109
111
116 inline const Aws::Vector<KxCommandLineArgument>& GetCommandLineArguments() const{ return m_commandLineArguments; }
117 inline bool CommandLineArgumentsHasBeenSet() const { return m_commandLineArgumentsHasBeenSet; }
118 inline void SetCommandLineArguments(const Aws::Vector<KxCommandLineArgument>& value) { m_commandLineArgumentsHasBeenSet = true; m_commandLineArguments = value; }
119 inline void SetCommandLineArguments(Aws::Vector<KxCommandLineArgument>&& value) { m_commandLineArgumentsHasBeenSet = true; m_commandLineArguments = std::move(value); }
122 inline UpdateKxClusterCodeConfigurationRequest& AddCommandLineArguments(const KxCommandLineArgument& value) { m_commandLineArgumentsHasBeenSet = true; m_commandLineArguments.push_back(value); return *this; }
123 inline UpdateKxClusterCodeConfigurationRequest& AddCommandLineArguments(KxCommandLineArgument&& value) { m_commandLineArgumentsHasBeenSet = true; m_commandLineArguments.push_back(std::move(value)); return *this; }
125
127
131 inline const KxClusterCodeDeploymentConfiguration& GetDeploymentConfiguration() const{ return m_deploymentConfiguration; }
132 inline bool DeploymentConfigurationHasBeenSet() const { return m_deploymentConfigurationHasBeenSet; }
133 inline void SetDeploymentConfiguration(const KxClusterCodeDeploymentConfiguration& value) { m_deploymentConfigurationHasBeenSet = true; m_deploymentConfiguration = value; }
134 inline void SetDeploymentConfiguration(KxClusterCodeDeploymentConfiguration&& value) { m_deploymentConfigurationHasBeenSet = true; m_deploymentConfiguration = std::move(value); }
138 private:
139
140 Aws::String m_environmentId;
141 bool m_environmentIdHasBeenSet = false;
142
143 Aws::String m_clusterName;
144 bool m_clusterNameHasBeenSet = false;
145
146 Aws::String m_clientToken;
147 bool m_clientTokenHasBeenSet = false;
148
149 CodeConfiguration m_code;
150 bool m_codeHasBeenSet = false;
151
152 Aws::String m_initializationScript;
153 bool m_initializationScriptHasBeenSet = false;
154
155 Aws::Vector<KxCommandLineArgument> m_commandLineArguments;
156 bool m_commandLineArgumentsHasBeenSet = false;
157
158 KxClusterCodeDeploymentConfiguration m_deploymentConfiguration;
159 bool m_deploymentConfigurationHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace finspace
164} // namespace Aws
UpdateKxClusterCodeConfigurationRequest & WithCode(CodeConfiguration &&value)
UpdateKxClusterCodeConfigurationRequest & WithCommandLineArguments(Aws::Vector< KxCommandLineArgument > &&value)
UpdateKxClusterCodeConfigurationRequest & WithEnvironmentId(const Aws::String &value)
UpdateKxClusterCodeConfigurationRequest & WithClientToken(Aws::String &&value)
UpdateKxClusterCodeConfigurationRequest & WithDeploymentConfiguration(KxClusterCodeDeploymentConfiguration &&value)
UpdateKxClusterCodeConfigurationRequest & AddCommandLineArguments(const KxCommandLineArgument &value)
UpdateKxClusterCodeConfigurationRequest & WithCommandLineArguments(const Aws::Vector< KxCommandLineArgument > &value)
UpdateKxClusterCodeConfigurationRequest & WithCode(const CodeConfiguration &value)
UpdateKxClusterCodeConfigurationRequest & WithClusterName(const char *value)
UpdateKxClusterCodeConfigurationRequest & WithInitializationScript(const char *value)
void SetDeploymentConfiguration(const KxClusterCodeDeploymentConfiguration &value)
UpdateKxClusterCodeConfigurationRequest & WithEnvironmentId(Aws::String &&value)
UpdateKxClusterCodeConfigurationRequest & AddCommandLineArguments(KxCommandLineArgument &&value)
UpdateKxClusterCodeConfigurationRequest & WithDeploymentConfiguration(const KxClusterCodeDeploymentConfiguration &value)
const KxClusterCodeDeploymentConfiguration & GetDeploymentConfiguration() const
UpdateKxClusterCodeConfigurationRequest & WithInitializationScript(const Aws::String &value)
UpdateKxClusterCodeConfigurationRequest & WithClientToken(const Aws::String &value)
AWS_FINSPACE_API Aws::String SerializePayload() const override
void SetCommandLineArguments(const Aws::Vector< KxCommandLineArgument > &value)
UpdateKxClusterCodeConfigurationRequest & WithClientToken(const char *value)
UpdateKxClusterCodeConfigurationRequest & WithClusterName(const Aws::String &value)
UpdateKxClusterCodeConfigurationRequest & WithInitializationScript(Aws::String &&value)
UpdateKxClusterCodeConfigurationRequest & WithClusterName(Aws::String &&value)
UpdateKxClusterCodeConfigurationRequest & WithEnvironmentId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector