AWS SDK for C++

AWS SDK for C++ Version 1.11.912

Loading...
Searching...
No Matches
CdcSpecificationSummary.h
1
6#pragma once
7#include <aws/crt/cbor/Cbor.h>
8#include <aws/keyspaces/Keyspaces_EXPORTS.h>
9#include <aws/keyspaces/model/CdcStatus.h>
10#include <aws/keyspaces/model/ViewType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace Keyspaces {
21namespace Model {
22
33 public:
34 AWS_KEYSPACES_API CdcSpecificationSummary() = default;
35 AWS_KEYSPACES_API CdcSpecificationSummary(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
36 AWS_KEYSPACES_API CdcSpecificationSummary& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
37 AWS_KEYSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
38
40
43 inline CdcStatus GetStatus() const { return m_status; }
44 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
45 inline void SetStatus(CdcStatus value) {
46 m_statusHasBeenSet = true;
47 m_status = value;
48 }
50 SetStatus(value);
51 return *this;
52 }
54
56
67 inline ViewType GetViewType() const { return m_viewType; }
68 inline bool ViewTypeHasBeenSet() const { return m_viewTypeHasBeenSet; }
69 inline void SetViewType(ViewType value) {
70 m_viewTypeHasBeenSet = true;
71 m_viewType = value;
72 }
74 SetViewType(value);
75 return *this;
76 }
78 private:
80
81 ViewType m_viewType{ViewType::NOT_SET};
82 bool m_statusHasBeenSet = false;
83 bool m_viewTypeHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace Keyspaces
88} // namespace Aws
AWS_KEYSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
CdcSpecificationSummary & WithStatus(CdcStatus value)
AWS_KEYSPACES_API CdcSpecificationSummary(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_KEYSPACES_API CdcSpecificationSummary()=default
AWS_KEYSPACES_API CdcSpecificationSummary & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
CdcSpecificationSummary & WithViewType(ViewType value)