/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details about the state of your CloudWatch alarm.See
* Also:
AWS
* API Reference
The name of your CloudWatch alarm.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of your CloudWatch alarm.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of your CloudWatch alarm.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of your CloudWatch alarm.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of your CloudWatch alarm.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of your CloudWatch alarm.
*/ inline AlarmStateInformation& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of your CloudWatch alarm.
*/ inline AlarmStateInformation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of your CloudWatch alarm.
*/ inline AlarmStateInformation& WithName(const char* value) { SetName(value); return *this;} /** *The state of your CloudWatch alarm.
*/ inline const ExternalAlarmState& GetState() const{ return m_state; } /** *The state of your CloudWatch alarm.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of your CloudWatch alarm.
*/ inline void SetState(const ExternalAlarmState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of your CloudWatch alarm.
*/ inline void SetState(ExternalAlarmState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of your CloudWatch alarm.
*/ inline AlarmStateInformation& WithState(const ExternalAlarmState& value) { SetState(value); return *this;} /** *The state of your CloudWatch alarm.
*/ inline AlarmStateInformation& WithState(ExternalAlarmState&& value) { SetState(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; ExternalAlarmState m_state; bool m_stateHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws