AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetLoggingOptionsResult.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{
35 {
36 public:
40
41
43
46 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
47 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
48 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
49 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
50 inline GetLoggingOptionsResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
51 inline GetLoggingOptionsResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
52 inline GetLoggingOptionsResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
54
56
59 inline const LogLevel& GetLogLevel() const{ return m_logLevel; }
60 inline void SetLogLevel(const LogLevel& value) { m_logLevel = value; }
61 inline void SetLogLevel(LogLevel&& value) { m_logLevel = std::move(value); }
62 inline GetLoggingOptionsResult& WithLogLevel(const LogLevel& value) { SetLogLevel(value); return *this;}
63 inline GetLoggingOptionsResult& WithLogLevel(LogLevel&& value) { SetLogLevel(std::move(value)); return *this;}
65
67
68 inline const Aws::String& GetRequestId() const{ return m_requestId; }
69 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
70 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
71 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
72 inline GetLoggingOptionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
73 inline GetLoggingOptionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
74 inline GetLoggingOptionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
76 private:
77
78 Aws::String m_roleArn;
79
80 LogLevel m_logLevel;
81
82 Aws::String m_requestId;
83 };
84
85} // namespace Model
86} // namespace IoT
87} // namespace Aws
GetLoggingOptionsResult & WithLogLevel(const LogLevel &value)
GetLoggingOptionsResult & WithRequestId(const Aws::String &value)
GetLoggingOptionsResult & WithRequestId(Aws::String &&value)
GetLoggingOptionsResult & WithRoleArn(const char *value)
GetLoggingOptionsResult & WithLogLevel(LogLevel &&value)
GetLoggingOptionsResult & WithRoleArn(const Aws::String &value)
GetLoggingOptionsResult & WithRoleArn(Aws::String &&value)
GetLoggingOptionsResult & WithRequestId(const char *value)
AWS_IOT_API GetLoggingOptionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOT_API GetLoggingOptionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue