7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/opsworks/OpsWorksRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
60 inline bool GetForce()
const{
return m_force; }
62 inline void SetForce(
bool value) { m_forceHasBeenSet =
true; m_force = value; }
68 bool m_instanceIdHasBeenSet =
false;
71 bool m_forceHasBeenSet =
false;
void SetInstanceId(const char *value)
StopInstanceRequest & WithForce(bool value)
StopInstanceRequest & WithInstanceId(const Aws::String &value)
AWS_OPSWORKS_API StopInstanceRequest()
AWS_OPSWORKS_API Aws::String SerializePayload() const override
StopInstanceRequest & WithInstanceId(const char *value)
bool ForceHasBeenSet() const
bool InstanceIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetInstanceId(Aws::String &&value)
void SetForce(bool value)
const Aws::String & GetInstanceId() const
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetInstanceId(const Aws::String &value)
StopInstanceRequest & WithInstanceId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String