7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/m2/MainframeModernizationRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace MainframeModernization
57 inline void SetDesiredCapacity(
int value) { m_desiredCapacityHasBeenSet =
true; m_desiredCapacity = value; }
69 inline void SetEngineVersion(
const char* value) { m_engineVersionHasBeenSet =
true; m_engineVersion.assign(value); }
83 inline void SetEnvironmentId(
const char* value) { m_environmentIdHasBeenSet =
true; m_environmentId.assign(value); }
101 inline void SetForceUpdate(
bool value) { m_forceUpdateHasBeenSet =
true; m_forceUpdate = value; }
113 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
139 bool m_applyDuringMaintenanceWindow;
140 bool m_applyDuringMaintenanceWindowHasBeenSet =
false;
142 int m_desiredCapacity;
143 bool m_desiredCapacityHasBeenSet =
false;
146 bool m_engineVersionHasBeenSet =
false;
149 bool m_environmentIdHasBeenSet =
false;
152 bool m_forceUpdateHasBeenSet =
false;
155 bool m_instanceTypeHasBeenSet =
false;
158 bool m_preferredMaintenanceWindowHasBeenSet =
false;
void SetEngineVersion(const Aws::String &value)
UpdateEnvironmentRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
void SetInstanceType(const char *value)
bool ForceUpdateHasBeenSet() const
bool GetForceUpdate() const
const Aws::String & GetInstanceType() const
void SetPreferredMaintenanceWindow(Aws::String &&value)
AWS_MAINFRAMEMODERNIZATION_API UpdateEnvironmentRequest()
UpdateEnvironmentRequest & WithForceUpdate(bool value)
int GetDesiredCapacity() const
void SetInstanceType(const Aws::String &value)
const Aws::String & GetPreferredMaintenanceWindow() const
UpdateEnvironmentRequest & WithEngineVersion(const char *value)
void SetApplyDuringMaintenanceWindow(bool value)
bool DesiredCapacityHasBeenSet() const
bool InstanceTypeHasBeenSet() const
UpdateEnvironmentRequest & WithPreferredMaintenanceWindow(const char *value)
UpdateEnvironmentRequest & WithInstanceType(const char *value)
void SetEnvironmentId(Aws::String &&value)
AWS_MAINFRAMEMODERNIZATION_API Aws::String SerializePayload() const override
UpdateEnvironmentRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
UpdateEnvironmentRequest & WithInstanceType(const Aws::String &value)
const Aws::String & GetEngineVersion() const
void SetEngineVersion(Aws::String &&value)
bool GetApplyDuringMaintenanceWindow() const
void SetEngineVersion(const char *value)
UpdateEnvironmentRequest & WithEngineVersion(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetDesiredCapacity(int value)
UpdateEnvironmentRequest & WithInstanceType(Aws::String &&value)
void SetEnvironmentId(const Aws::String &value)
const Aws::String & GetEnvironmentId() const
UpdateEnvironmentRequest & WithEnvironmentId(const Aws::String &value)
UpdateEnvironmentRequest & WithEnvironmentId(const char *value)
UpdateEnvironmentRequest & WithDesiredCapacity(int value)
bool EngineVersionHasBeenSet() const
UpdateEnvironmentRequest & WithApplyDuringMaintenanceWindow(bool value)
void SetInstanceType(Aws::String &&value)
bool ApplyDuringMaintenanceWindowHasBeenSet() const
bool EnvironmentIdHasBeenSet() const
void SetForceUpdate(bool value)
void SetPreferredMaintenanceWindow(const char *value)
UpdateEnvironmentRequest & WithEngineVersion(const Aws::String &value)
bool PreferredMaintenanceWindowHasBeenSet() const
void SetPreferredMaintenanceWindow(const Aws::String &value)
void SetEnvironmentId(const char *value)
UpdateEnvironmentRequest & WithEnvironmentId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String