7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lightsail/model/AlarmState.h>
46 inline void SetAlarmName(
const char* value) { m_alarmNameHasBeenSet =
true; m_alarmName.assign(value); }
64 inline void SetState(
AlarmState&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
71 bool m_alarmNameHasBeenSet =
false;
74 bool m_stateHasBeenSet =
false;
void SetState(const AlarmState &value)
TestAlarmRequest & WithAlarmName(const Aws::String &value)
void SetAlarmName(const Aws::String &value)
void SetAlarmName(const char *value)
virtual const char * GetServiceRequestName() const override
TestAlarmRequest & WithAlarmName(Aws::String &&value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
bool StateHasBeenSet() const
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetAlarmName() const
const AlarmState & GetState() const
TestAlarmRequest & WithAlarmName(const char *value)
void SetState(AlarmState &&value)
void SetAlarmName(Aws::String &&value)
bool AlarmNameHasBeenSet() const
TestAlarmRequest & WithState(const AlarmState &value)
AWS_LIGHTSAIL_API TestAlarmRequest()
TestAlarmRequest & WithState(AlarmState &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String