/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An Amazon CloudWatch alarm configured to monitor metrics on an
* endpoint.See Also:
AWS API
* Reference
The name of a CloudWatch alarm in your account.
*/ inline const Aws::String& GetAlarmName() const{ return m_alarmName; } /** *The name of a CloudWatch alarm in your account.
*/ inline bool AlarmNameHasBeenSet() const { return m_alarmNameHasBeenSet; } /** *The name of a CloudWatch alarm in your account.
*/ inline void SetAlarmName(const Aws::String& value) { m_alarmNameHasBeenSet = true; m_alarmName = value; } /** *The name of a CloudWatch alarm in your account.
*/ inline void SetAlarmName(Aws::String&& value) { m_alarmNameHasBeenSet = true; m_alarmName = std::move(value); } /** *The name of a CloudWatch alarm in your account.
*/ inline void SetAlarmName(const char* value) { m_alarmNameHasBeenSet = true; m_alarmName.assign(value); } /** *The name of a CloudWatch alarm in your account.
*/ inline Alarm& WithAlarmName(const Aws::String& value) { SetAlarmName(value); return *this;} /** *The name of a CloudWatch alarm in your account.
*/ inline Alarm& WithAlarmName(Aws::String&& value) { SetAlarmName(std::move(value)); return *this;} /** *The name of a CloudWatch alarm in your account.
*/ inline Alarm& WithAlarmName(const char* value) { SetAlarmName(value); return *this;} private: Aws::String m_alarmName; bool m_alarmNameHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws