AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnableIoTLoggingParams.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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
34 {
35 public:
40
41
43
46 inline const Aws::String& GetRoleArnForLogging() const{ return m_roleArnForLogging; }
47 inline bool RoleArnForLoggingHasBeenSet() const { return m_roleArnForLoggingHasBeenSet; }
48 inline void SetRoleArnForLogging(const Aws::String& value) { m_roleArnForLoggingHasBeenSet = true; m_roleArnForLogging = value; }
49 inline void SetRoleArnForLogging(Aws::String&& value) { m_roleArnForLoggingHasBeenSet = true; m_roleArnForLogging = std::move(value); }
50 inline void SetRoleArnForLogging(const char* value) { m_roleArnForLoggingHasBeenSet = true; m_roleArnForLogging.assign(value); }
52 inline EnableIoTLoggingParams& WithRoleArnForLogging(Aws::String&& value) { SetRoleArnForLogging(std::move(value)); return *this;}
53 inline EnableIoTLoggingParams& WithRoleArnForLogging(const char* value) { SetRoleArnForLogging(value); return *this;}
55
57
60 inline const LogLevel& GetLogLevel() const{ return m_logLevel; }
61 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
62 inline void SetLogLevel(const LogLevel& value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
63 inline void SetLogLevel(LogLevel&& value) { m_logLevelHasBeenSet = true; m_logLevel = std::move(value); }
64 inline EnableIoTLoggingParams& WithLogLevel(const LogLevel& value) { SetLogLevel(value); return *this;}
65 inline EnableIoTLoggingParams& WithLogLevel(LogLevel&& value) { SetLogLevel(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_roleArnForLogging;
70 bool m_roleArnForLoggingHasBeenSet = false;
71
72 LogLevel m_logLevel;
73 bool m_logLevelHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace IoT
78} // namespace Aws
EnableIoTLoggingParams & WithRoleArnForLogging(Aws::String &&value)
EnableIoTLoggingParams & WithLogLevel(LogLevel &&value)
AWS_IOT_API EnableIoTLoggingParams(Aws::Utils::Json::JsonView jsonValue)
EnableIoTLoggingParams & WithLogLevel(const LogLevel &value)
EnableIoTLoggingParams & WithRoleArnForLogging(const Aws::String &value)
AWS_IOT_API EnableIoTLoggingParams & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRoleArnForLogging() const
void SetRoleArnForLogging(const Aws::String &value)
EnableIoTLoggingParams & WithRoleArnForLogging(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue