7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/crt/cbor/Cbor.h>
30 AWS_CODEDEPLOY_API
TimeBasedCanary(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_CODEDEPLOY_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 m_canaryPercentageHasBeenSet =
true;
43 m_canaryPercentage = value;
59 m_canaryIntervalHasBeenSet =
true;
60 m_canaryInterval = value;
68 int64_t m_canaryPercentage{0};
70 int64_t m_canaryInterval{0};
71 bool m_canaryPercentageHasBeenSet =
false;
72 bool m_canaryIntervalHasBeenSet =
false;
AWS_CODEDEPLOY_API TimeBasedCanary()=default
void SetCanaryPercentage(int64_t value)
AWS_CODEDEPLOY_API TimeBasedCanary(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CODEDEPLOY_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
TimeBasedCanary & WithCanaryPercentage(int64_t value)
AWS_CODEDEPLOY_API TimeBasedCanary & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
int64_t GetCanaryInterval() const
bool CanaryPercentageHasBeenSet() const
void SetCanaryInterval(int64_t value)
bool CanaryIntervalHasBeenSet() const
int64_t GetCanaryPercentage() const
TimeBasedCanary & WithCanaryInterval(int64_t value)