AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetV2LoggingOptionsResult.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{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoT
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
41 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
42 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
43 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
44 inline GetV2LoggingOptionsResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
45 inline GetV2LoggingOptionsResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
46 inline GetV2LoggingOptionsResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
48
50
53 inline const LogLevel& GetDefaultLogLevel() const{ return m_defaultLogLevel; }
54 inline void SetDefaultLogLevel(const LogLevel& value) { m_defaultLogLevel = value; }
55 inline void SetDefaultLogLevel(LogLevel&& value) { m_defaultLogLevel = std::move(value); }
56 inline GetV2LoggingOptionsResult& WithDefaultLogLevel(const LogLevel& value) { SetDefaultLogLevel(value); return *this;}
57 inline GetV2LoggingOptionsResult& WithDefaultLogLevel(LogLevel&& value) { SetDefaultLogLevel(std::move(value)); return *this;}
59
61
64 inline bool GetDisableAllLogs() const{ return m_disableAllLogs; }
65 inline void SetDisableAllLogs(bool value) { m_disableAllLogs = value; }
66 inline GetV2LoggingOptionsResult& WithDisableAllLogs(bool value) { SetDisableAllLogs(value); return *this;}
68
70
71 inline const Aws::String& GetRequestId() const{ return m_requestId; }
72 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
73 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
74 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
75 inline GetV2LoggingOptionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
76 inline GetV2LoggingOptionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
77 inline GetV2LoggingOptionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
79 private:
80
81 Aws::String m_roleArn;
82
83 LogLevel m_defaultLogLevel;
84
85 bool m_disableAllLogs;
86
87 Aws::String m_requestId;
88 };
89
90} // namespace Model
91} // namespace IoT
92} // namespace Aws
GetV2LoggingOptionsResult & WithRoleArn(Aws::String &&value)
GetV2LoggingOptionsResult & WithRoleArn(const Aws::String &value)
GetV2LoggingOptionsResult & WithRequestId(Aws::String &&value)
AWS_IOT_API GetV2LoggingOptionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetV2LoggingOptionsResult & WithDefaultLogLevel(const LogLevel &value)
GetV2LoggingOptionsResult & WithDisableAllLogs(bool value)
GetV2LoggingOptionsResult & WithRoleArn(const char *value)
AWS_IOT_API GetV2LoggingOptionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetV2LoggingOptionsResult & WithDefaultLogLevel(LogLevel &&value)
GetV2LoggingOptionsResult & WithRequestId(const char *value)
GetV2LoggingOptionsResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue