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>
44 template<
typename AlarmNameT = Aws::String>
45 void SetAlarmName(AlarmNameT&& value) { m_alarmNameHasBeenSet =
true; m_alarmName = std::forward<AlarmNameT>(value); }
46 template<
typename AlarmNameT = Aws::String>
67 bool m_alarmNameHasBeenSet =
false;
70 bool m_stateHasBeenSet =
false;
TestAlarmRequest & WithState(AlarmState value)
AlarmState GetState() const
void SetState(AlarmState value)
virtual const char * GetServiceRequestName() const override
AWS_LIGHTSAIL_API TestAlarmRequest()=default
TestAlarmRequest & WithAlarmName(AlarmNameT &&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
bool AlarmNameHasBeenSet() const
void SetAlarmName(AlarmNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String