AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
LogConfig.h
1
6#pragma once
7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/eventbridge/model/IncludeDetail.h>
9#include <aws/eventbridge/model/Level.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EventBridge {
21namespace Model {
22
32class LogConfig {
33 public:
34 AWS_EVENTBRIDGE_API LogConfig() = default;
35 AWS_EVENTBRIDGE_API LogConfig(Aws::Utils::Json::JsonView jsonValue);
36 AWS_EVENTBRIDGE_API LogConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
48 inline IncludeDetail GetIncludeDetail() const { return m_includeDetail; }
49 inline bool IncludeDetailHasBeenSet() const { return m_includeDetailHasBeenSet; }
50 inline void SetIncludeDetail(IncludeDetail value) {
51 m_includeDetailHasBeenSet = true;
52 m_includeDetail = value;
53 }
55 SetIncludeDetail(value);
56 return *this;
57 }
59
61
67 inline Level GetLevel() const { return m_level; }
68 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
69 inline void SetLevel(Level value) {
70 m_levelHasBeenSet = true;
71 m_level = value;
72 }
73 inline LogConfig& WithLevel(Level value) {
74 SetLevel(value);
75 return *this;
76 }
78 private:
80
81 Level m_level{Level::NOT_SET};
82 bool m_includeDetailHasBeenSet = false;
83 bool m_levelHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace EventBridge
88} // namespace Aws
LogConfig & WithIncludeDetail(IncludeDetail value)
Definition LogConfig.h:54
IncludeDetail GetIncludeDetail() const
Definition LogConfig.h:48
AWS_EVENTBRIDGE_API LogConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_EVENTBRIDGE_API LogConfig()=default
LogConfig & WithLevel(Level value)
Definition LogConfig.h:73
AWS_EVENTBRIDGE_API LogConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIncludeDetail(IncludeDetail value)
Definition LogConfig.h:50
Aws::Utils::Json::JsonValue JsonValue