7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/monitoring/CloudWatch_EXPORTS.h>
11#include <aws/monitoring/model/AlarmMuteRuleStatus.h>
35 AWS_CLOUDWATCH_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 template <
typename AlarmMuteRuleArnT = Aws::String>
45 m_alarmMuteRuleArnHasBeenSet =
true;
46 m_alarmMuteRuleArn = std::forward<AlarmMuteRuleArnT>(value);
48 template <
typename AlarmMuteRuleArnT = Aws::String>
62 template <
typename ExpireDateT = Aws::Utils::DateTime>
64 m_expireDateHasBeenSet =
true;
65 m_expireDate = std::forward<ExpireDateT>(value);
67 template <
typename ExpireDateT = Aws::Utils::DateTime>
82 m_statusHasBeenSet =
true;
98 template <
typename MuteTypeT = Aws::String>
100 m_muteTypeHasBeenSet =
true;
101 m_muteType = std::forward<MuteTypeT>(value);
103 template <
typename MuteTypeT = Aws::String>
116 template <
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
118 m_lastUpdatedTimestampHasBeenSet =
true;
119 m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value);
121 template <
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
137 bool m_alarmMuteRuleArnHasBeenSet =
false;
138 bool m_expireDateHasBeenSet =
false;
139 bool m_statusHasBeenSet =
false;
140 bool m_muteTypeHasBeenSet =
false;
141 bool m_lastUpdatedTimestampHasBeenSet =
false;
AWS_CLOUDWATCH_API AlarmMuteRuleSummary(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetExpireDate(ExpireDateT &&value)
AlarmMuteRuleSummary & WithAlarmMuteRuleArn(AlarmMuteRuleArnT &&value)
AWS_CLOUDWATCH_API AlarmMuteRuleSummary()=default
AWS_CLOUDWATCH_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AlarmMuteRuleSummary & WithExpireDate(ExpireDateT &&value)
const Aws::String & GetMuteType() const
bool AlarmMuteRuleArnHasBeenSet() const
AlarmMuteRuleSummary & WithMuteType(MuteTypeT &&value)
void SetStatus(AlarmMuteRuleStatus value)
AlarmMuteRuleSummary & WithLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
bool LastUpdatedTimestampHasBeenSet() const
bool ExpireDateHasBeenSet() const
const Aws::Utils::DateTime & GetExpireDate() const
const Aws::String & GetAlarmMuteRuleArn() const
bool StatusHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
void SetAlarmMuteRuleArn(AlarmMuteRuleArnT &&value)
AWS_CLOUDWATCH_API AlarmMuteRuleSummary & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AlarmMuteRuleSummary & WithStatus(AlarmMuteRuleStatus value)
AlarmMuteRuleStatus GetStatus() const
bool MuteTypeHasBeenSet() const
void SetLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
void SetMuteType(MuteTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String