7#include <aws/batch/BatchRequest.h>
8#include <aws/batch/Batch_EXPORTS.h>
9#include <aws/batch/model/CEState.h>
10#include <aws/batch/model/ComputeResourceUpdate.h>
11#include <aws/batch/model/EcsSettings.h>
12#include <aws/batch/model/EksConfigurationUpdate.h>
13#include <aws/batch/model/UpdatePolicy.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
47 template <
typename ComputeEnvironmentT = Aws::String>
49 m_computeEnvironmentHasBeenSet =
true;
50 m_computeEnvironment = std::forward<ComputeEnvironmentT>(value);
52 template <
typename ComputeEnvironmentT = Aws::String>
86 m_stateHasBeenSet =
true;
106 m_unmanagedvCpusHasBeenSet =
true;
107 m_unmanagedvCpus = value;
124 template <
typename ComputeResourcesT = ComputeResourceUpdate>
126 m_computeResourcesHasBeenSet =
true;
127 m_computeResources = std::forward<ComputeResourcesT>(value);
129 template <
typename ComputeResourcesT = ComputeResourceUpdate>
162 template <
typename ServiceRoleT = Aws::String>
164 m_serviceRoleHasBeenSet =
true;
165 m_serviceRole = std::forward<ServiceRoleT>(value);
167 template <
typename ServiceRoleT = Aws::String>
183 template <
typename UpdatePolicyT = UpdatePolicy>
185 m_updatePolicyHasBeenSet =
true;
186 m_updatePolicy = std::forward<UpdatePolicyT>(value);
188 template <
typename UpdatePolicyT = UpdatePolicy>
201 template <
typename ContextT = Aws::String>
203 m_contextHasBeenSet =
true;
204 m_context = std::forward<ContextT>(value);
206 template <
typename ContextT = Aws::String>
220 template <
typename EcsSettingsT = EcsSettings>
222 m_ecsSettingsHasBeenSet =
true;
223 m_ecsSettings = std::forward<EcsSettingsT>(value);
225 template <
typename EcsSettingsT = EcsSettings>
245 template <
typename EksConfigurationT = EksConfigurationUpdate>
247 m_eksConfigurationHasBeenSet =
true;
248 m_eksConfiguration = std::forward<EksConfigurationT>(value);
250 template <
typename EksConfigurationT = EksConfigurationUpdate>
261 int m_unmanagedvCpus{0};
263 ComputeResourceUpdate m_computeResources;
267 UpdatePolicy m_updatePolicy;
271 EcsSettings m_ecsSettings;
273 EksConfigurationUpdate m_eksConfiguration;
274 bool m_computeEnvironmentHasBeenSet =
false;
275 bool m_stateHasBeenSet =
false;
276 bool m_unmanagedvCpusHasBeenSet =
false;
277 bool m_computeResourcesHasBeenSet =
false;
278 bool m_serviceRoleHasBeenSet =
false;
279 bool m_updatePolicyHasBeenSet =
false;
280 bool m_contextHasBeenSet =
false;
281 bool m_ecsSettingsHasBeenSet =
false;
282 bool m_eksConfigurationHasBeenSet =
false;
const UpdatePolicy & GetUpdatePolicy() const
bool EcsSettingsHasBeenSet() const
UpdateComputeEnvironmentRequest & WithState(CEState value)
bool UnmanagedvCpusHasBeenSet() const
bool EksConfigurationHasBeenSet() const
UpdateComputeEnvironmentRequest & WithContext(ContextT &&value)
void SetServiceRole(ServiceRoleT &&value)
bool StateHasBeenSet() const
bool ContextHasBeenSet() const
UpdateComputeEnvironmentRequest & WithServiceRole(ServiceRoleT &&value)
AWS_BATCH_API Aws::String SerializePayload() const override
AWS_BATCH_API UpdateComputeEnvironmentRequest()=default
void SetComputeEnvironment(ComputeEnvironmentT &&value)
void SetUpdatePolicy(UpdatePolicyT &&value)
void SetComputeResources(ComputeResourcesT &&value)
void SetEksConfiguration(EksConfigurationT &&value)
const Aws::String & GetContext() const
bool UpdatePolicyHasBeenSet() const
const ComputeResourceUpdate & GetComputeResources() const
void SetEcsSettings(EcsSettingsT &&value)
const Aws::String & GetComputeEnvironment() const
bool ComputeResourcesHasBeenSet() const
void SetState(CEState value)
const Aws::String & GetServiceRole() const
bool ComputeEnvironmentHasBeenSet() const
UpdateComputeEnvironmentRequest & WithComputeEnvironment(ComputeEnvironmentT &&value)
UpdateComputeEnvironmentRequest & WithComputeResources(ComputeResourcesT &&value)
void SetContext(ContextT &&value)
void SetUnmanagedvCpus(int value)
UpdateComputeEnvironmentRequest & WithEksConfiguration(EksConfigurationT &&value)
bool ServiceRoleHasBeenSet() const
const EksConfigurationUpdate & GetEksConfiguration() const
const EcsSettings & GetEcsSettings() const
UpdateComputeEnvironmentRequest & WithUnmanagedvCpus(int value)
UpdateComputeEnvironmentRequest & WithUpdatePolicy(UpdatePolicyT &&value)
int GetUnmanagedvCpus() const
virtual const char * GetServiceRequestName() const override
UpdateComputeEnvironmentRequest & WithEcsSettings(EcsSettingsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String