AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace EventBridge
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_EVENTBRIDGE_API LogConfig() = default;
40 AWS_EVENTBRIDGE_API LogConfig(Aws::Utils::Json::JsonView jsonValue);
41 AWS_EVENTBRIDGE_API LogConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
54 inline IncludeDetail GetIncludeDetail() const { return m_includeDetail; }
55 inline bool IncludeDetailHasBeenSet() const { return m_includeDetailHasBeenSet; }
56 inline void SetIncludeDetail(IncludeDetail value) { m_includeDetailHasBeenSet = true; m_includeDetail = value; }
57 inline LogConfig& WithIncludeDetail(IncludeDetail value) { SetIncludeDetail(value); return *this;}
59
61
67 inline Level GetLevel() const { return m_level; }
68 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
69 inline void SetLevel(Level value) { m_levelHasBeenSet = true; m_level = value; }
70 inline LogConfig& WithLevel(Level value) { SetLevel(value); return *this;}
72 private:
73
75 bool m_includeDetailHasBeenSet = false;
76
77 Level m_level{Level::NOT_SET};
78 bool m_levelHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace EventBridge
83} // namespace Aws
LogConfig & WithIncludeDetail(IncludeDetail value)
Definition LogConfig.h:57
IncludeDetail GetIncludeDetail() const
Definition LogConfig.h:54
AWS_EVENTBRIDGE_API LogConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_EVENTBRIDGE_API LogConfig()=default
LogConfig & WithLevel(Level value)
Definition LogConfig.h:70
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:56
Aws::Utils::Json::JsonValue JsonValue