7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 inline void SetInstanceName(
const char* value) { m_instanceNameHasBeenSet =
true; m_instanceName.assign(value); }
59 inline bool GetForce()
const{
return m_force; }
61 inline void SetForce(
bool value) { m_forceHasBeenSet =
true; m_force = value; }
67 bool m_instanceNameHasBeenSet =
false;
70 bool m_forceHasBeenSet =
false;
void SetInstanceName(Aws::String &&value)
bool ForceHasBeenSet() const
bool InstanceNameHasBeenSet() const
StopInstanceRequest & WithForce(bool value)
const Aws::String & GetInstanceName() const
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
void SetInstanceName(const char *value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StopInstanceRequest & WithInstanceName(const char *value)
void SetInstanceName(const Aws::String &value)
StopInstanceRequest & WithInstanceName(const Aws::String &value)
void SetForce(bool value)
AWS_LIGHTSAIL_API StopInstanceRequest()
virtual const char * GetServiceRequestName() const override
StopInstanceRequest & WithInstanceName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String