AWS SDK for C++

AWS SDK for C++ Version 1.11.900

Loading...
Searching...
No Matches
NoData.h
1
6#pragma once
7#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
8#include <aws/cloudwatchomni/model/AlertState.h>
9#include <aws/crt/cbor/Cbor.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace CloudWatchOmni {
20namespace Model {
21
29class NoData {
30 public:
31 AWS_CLOUDWATCHOMNI_API NoData() = default;
32 AWS_CLOUDWATCHOMNI_API NoData(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_CLOUDWATCHOMNI_API NoData& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
40 inline AlertState GetTreatAs() const { return m_treatAs; }
41 inline bool TreatAsHasBeenSet() const { return m_treatAsHasBeenSet; }
42 inline void SetTreatAs(AlertState value) {
43 m_treatAsHasBeenSet = true;
44 m_treatAs = value;
45 }
46 inline NoData& WithTreatAs(AlertState value) {
47 SetTreatAs(value);
48 return *this;
49 }
51 private:
53 bool m_treatAsHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace CloudWatchOmni
58} // namespace Aws
AWS_CLOUDWATCHOMNI_API NoData(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
NoData & WithTreatAs(AlertState value)
Definition NoData.h:46
AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetTreatAs(AlertState value)
Definition NoData.h:42
AlertState GetTreatAs() const
Definition NoData.h:40
AWS_CLOUDWATCHOMNI_API NoData & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CLOUDWATCHOMNI_API NoData()=default