7#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
8#include <aws/cloudwatchomni/model/AlertState.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/crt/cbor/Cbor.h>
20namespace CloudWatchOmni {
33 AWS_CLOUDWATCHOMNI_API
NotificationTrigger(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_CLOUDWATCHOMNI_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 template <
typename StateValuesT = Aws::Vector<AlertState>>
45 m_stateValuesHasBeenSet =
true;
46 m_stateValues = std::forward<StateValuesT>(value);
48 template <
typename StateValuesT = Aws::Vector<AlertState>>
54 m_stateValuesHasBeenSet =
true;
55 m_stateValues.push_back(value);
61 bool m_stateValuesHasBeenSet =
false;
bool StateValuesHasBeenSet() const
AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_CLOUDWATCHOMNI_API NotificationTrigger & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CLOUDWATCHOMNI_API NotificationTrigger(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
NotificationTrigger & AddStateValues(AlertState value)
NotificationTrigger & WithStateValues(StateValuesT &&value)
const Aws::Vector< AlertState > & GetStateValues() const
AWS_CLOUDWATCHOMNI_API NotificationTrigger()=default
void SetStateValues(StateValuesT &&value)
std::vector< T, Aws::Allocator< T > > Vector