AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
EntityResolutionConfig.h
1
6#pragma once
7#include <aws/context/Context_EXPORTS.h>
8#include <aws/context/model/EntityResolutionStatus.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 Context {
20namespace Model {
21
32 public:
33 AWS_CONTEXT_API EntityResolutionConfig() = default;
34 AWS_CONTEXT_API EntityResolutionConfig(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_CONTEXT_API EntityResolutionConfig& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
36 AWS_CONTEXT_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
37
39
45 inline EntityResolutionStatus GetStatus() const { return m_status; }
46 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
47 inline void SetStatus(EntityResolutionStatus value) {
48 m_statusHasBeenSet = true;
49 m_status = value;
50 }
52 SetStatus(value);
53 return *this;
54 }
56 private:
58 bool m_statusHasBeenSet = false;
59};
60
61} // namespace Model
62} // namespace Context
63} // namespace Aws
AWS_CONTEXT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_CONTEXT_API EntityResolutionConfig()=default
AWS_CONTEXT_API EntityResolutionConfig(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetStatus(EntityResolutionStatus value)
EntityResolutionConfig & WithStatus(EntityResolutionStatus value)
AWS_CONTEXT_API EntityResolutionConfig & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)