AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LogTargetConfiguration.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/LogTarget.h>
9#include <aws/iot/model/LogLevel.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 IoT
23{
24namespace Model
25{
26
33 {
34 public:
39
40
42
45 inline const LogTarget& GetLogTarget() const{ return m_logTarget; }
46 inline bool LogTargetHasBeenSet() const { return m_logTargetHasBeenSet; }
47 inline void SetLogTarget(const LogTarget& value) { m_logTargetHasBeenSet = true; m_logTarget = value; }
48 inline void SetLogTarget(LogTarget&& value) { m_logTargetHasBeenSet = true; m_logTarget = std::move(value); }
49 inline LogTargetConfiguration& WithLogTarget(const LogTarget& value) { SetLogTarget(value); return *this;}
50 inline LogTargetConfiguration& WithLogTarget(LogTarget&& value) { SetLogTarget(std::move(value)); return *this;}
52
54
57 inline const LogLevel& GetLogLevel() const{ return m_logLevel; }
58 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
59 inline void SetLogLevel(const LogLevel& value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
60 inline void SetLogLevel(LogLevel&& value) { m_logLevelHasBeenSet = true; m_logLevel = std::move(value); }
61 inline LogTargetConfiguration& WithLogLevel(const LogLevel& value) { SetLogLevel(value); return *this;}
62 inline LogTargetConfiguration& WithLogLevel(LogLevel&& value) { SetLogLevel(std::move(value)); return *this;}
64 private:
65
66 LogTarget m_logTarget;
67 bool m_logTargetHasBeenSet = false;
68
69 LogLevel m_logLevel;
70 bool m_logLevelHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace IoT
75} // namespace Aws
LogTargetConfiguration & WithLogTarget(LogTarget &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
LogTargetConfiguration & WithLogLevel(const LogLevel &value)
AWS_IOT_API LogTargetConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API LogTargetConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
LogTargetConfiguration & WithLogLevel(LogLevel &&value)
LogTargetConfiguration & WithLogTarget(const LogTarget &value)
Aws::Utils::Json::JsonValue JsonValue