7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/BatchRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/batch/model/CEState.h>
11#include <aws/batch/model/ComputeResourceUpdate.h>
12#include <aws/batch/model/UpdatePolicy.h>
51 inline void SetComputeEnvironment(
const char* value) { m_computeEnvironmentHasBeenSet =
true; m_computeEnvironment.assign(value); }
83 inline void SetState(
const CEState& value) { m_stateHasBeenSet =
true; m_state = value; }
84 inline void SetState(
CEState&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
99 inline void SetUnmanagedvCpus(
int value) { m_unmanagedvCpusHasBeenSet =
true; m_unmanagedvCpus = value; }
146 inline void SetServiceRole(
const char* value) { m_serviceRoleHasBeenSet =
true; m_serviceRole.assign(value); }
175 inline void SetContext(
const char* value) { m_contextHasBeenSet =
true; m_context.assign(value); }
183 bool m_computeEnvironmentHasBeenSet =
false;
186 bool m_stateHasBeenSet =
false;
188 int m_unmanagedvCpus;
189 bool m_unmanagedvCpusHasBeenSet =
false;
192 bool m_computeResourcesHasBeenSet =
false;
195 bool m_serviceRoleHasBeenSet =
false;
198 bool m_updatePolicyHasBeenSet =
false;
201 bool m_contextHasBeenSet =
false;
const UpdatePolicy & GetUpdatePolicy() const
const CEState & GetState() const
bool UnmanagedvCpusHasBeenSet() const
void SetServiceRole(const Aws::String &value)
UpdateComputeEnvironmentRequest & WithComputeEnvironment(const char *value)
bool StateHasBeenSet() const
UpdateComputeEnvironmentRequest & WithContext(const char *value)
bool ContextHasBeenSet() const
void SetState(const CEState &value)
AWS_BATCH_API Aws::String SerializePayload() const override
void SetComputeResources(const ComputeResourceUpdate &value)
UpdateComputeEnvironmentRequest & WithServiceRole(const char *value)
void SetUpdatePolicy(const UpdatePolicy &value)
UpdateComputeEnvironmentRequest & WithServiceRole(const Aws::String &value)
void SetComputeEnvironment(const Aws::String &value)
UpdateComputeEnvironmentRequest & WithContext(const Aws::String &value)
UpdateComputeEnvironmentRequest & WithServiceRole(Aws::String &&value)
void SetServiceRole(const char *value)
UpdateComputeEnvironmentRequest & WithComputeResources(ComputeResourceUpdate &&value)
const Aws::String & GetContext() const
void SetUpdatePolicy(UpdatePolicy &&value)
bool UpdatePolicyHasBeenSet() const
const ComputeResourceUpdate & GetComputeResources() const
const Aws::String & GetComputeEnvironment() const
bool ComputeResourcesHasBeenSet() const
void SetComputeEnvironment(const char *value)
void SetState(CEState &&value)
UpdateComputeEnvironmentRequest & WithUpdatePolicy(UpdatePolicy &&value)
UpdateComputeEnvironmentRequest & WithContext(Aws::String &&value)
UpdateComputeEnvironmentRequest & WithComputeResources(const ComputeResourceUpdate &value)
void SetContext(const char *value)
const Aws::String & GetServiceRole() const
bool ComputeEnvironmentHasBeenSet() const
void SetComputeEnvironment(Aws::String &&value)
UpdateComputeEnvironmentRequest & WithComputeEnvironment(const Aws::String &value)
void SetUnmanagedvCpus(int value)
bool ServiceRoleHasBeenSet() const
UpdateComputeEnvironmentRequest & WithUpdatePolicy(const UpdatePolicy &value)
void SetContext(const Aws::String &value)
UpdateComputeEnvironmentRequest & WithUnmanagedvCpus(int value)
void SetServiceRole(Aws::String &&value)
AWS_BATCH_API UpdateComputeEnvironmentRequest()
void SetContext(Aws::String &&value)
void SetComputeResources(ComputeResourceUpdate &&value)
UpdateComputeEnvironmentRequest & WithComputeEnvironment(Aws::String &&value)
UpdateComputeEnvironmentRequest & WithState(CEState &&value)
int GetUnmanagedvCpus() const
virtual const char * GetServiceRequestName() const override
UpdateComputeEnvironmentRequest & WithState(const CEState &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String