AWS SDK for C++

AWS SDK for C++ Version 1.11.901

Loading...
Searching...
No Matches
LogConfiguration.h
1
6#pragma once
7#include <aws/crt/cbor/Cbor.h>
8#include <aws/eventbridgev2/EventBridgeV2_EXPORTS.h>
9#include <aws/eventbridgev2/model/IncludePayload.h>
10#include <aws/eventbridgev2/model/LogLevel.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace EventBridgeV2 {
21namespace Model {
22
29 public:
30 AWS_EVENTBRIDGEV2_API LogConfiguration() = default;
31 AWS_EVENTBRIDGEV2_API LogConfiguration(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_EVENTBRIDGEV2_API LogConfiguration& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
34
36
40 inline LogLevel GetLevel() const { return m_level; }
41 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
42 inline void SetLevel(LogLevel value) {
43 m_levelHasBeenSet = true;
44 m_level = value;
45 }
47 SetLevel(value);
48 return *this;
49 }
51
53
57 inline IncludePayload GetIncludePayload() const { return m_includePayload; }
58 inline bool IncludePayloadHasBeenSet() const { return m_includePayloadHasBeenSet; }
59 inline void SetIncludePayload(IncludePayload value) {
60 m_includePayloadHasBeenSet = true;
61 m_includePayload = value;
62 }
64 SetIncludePayload(value);
65 return *this;
66 }
68 private:
70
72 bool m_levelHasBeenSet = false;
73 bool m_includePayloadHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace EventBridgeV2
78} // namespace Aws
AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
LogConfiguration & WithIncludePayload(IncludePayload value)
AWS_EVENTBRIDGEV2_API LogConfiguration()=default
LogConfiguration & WithLevel(LogLevel value)
AWS_EVENTBRIDGEV2_API LogConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_EVENTBRIDGEV2_API LogConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)