7#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
8#include <aws/cloudwatchomni/model/TelemetryRule.h>
9#include <aws/crt/cbor/Cbor.h>
19namespace CloudWatchOmni {
32 AWS_CLOUDWATCHOMNI_API
Rule() =
default;
33 AWS_CLOUDWATCHOMNI_API
Rule(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_CLOUDWATCHOMNI_API
Rule&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_CLOUDWATCHOMNI_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 template <
typename TelemetryRuleT = TelemetryRule>
45 m_telemetryRuleHasBeenSet =
true;
46 m_telemetryRule = std::forward<TelemetryRuleT>(value);
48 template <
typename TelemetryRuleT = TelemetryRule>
56 bool m_telemetryRuleHasBeenSet =
false;
AWS_CLOUDWATCHOMNI_API Rule(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_CLOUDWATCHOMNI_API Rule & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
Rule & WithTelemetryRule(TelemetryRuleT &&value)
bool TelemetryRuleHasBeenSet() const
AWS_CLOUDWATCHOMNI_API Rule()=default
const TelemetryRule & GetTelemetryRule() const
void SetTelemetryRule(TelemetryRuleT &&value)