AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
37 AWS_IOT_API GetLoggingOptionsResult() = default;
40
41
43
46 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
47 template<typename RoleArnT = Aws::String>
48 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
49 template<typename RoleArnT = Aws::String>
50 GetLoggingOptionsResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
52
54
57 inline LogLevel GetLogLevel() const { return m_logLevel; }
58 inline void SetLogLevel(LogLevel value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
59 inline GetLoggingOptionsResult& WithLogLevel(LogLevel value) { SetLogLevel(value); return *this;}
61
63
64 inline const Aws::String& GetRequestId() const { return m_requestId; }
65 template<typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
67 template<typename RequestIdT = Aws::String>
68 GetLoggingOptionsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
70 private:
71
72 Aws::String m_roleArn;
73 bool m_roleArnHasBeenSet = false;
74
75 LogLevel m_logLevel{LogLevel::NOT_SET};
76 bool m_logLevelHasBeenSet = false;
77
78 Aws::String m_requestId;
79 bool m_requestIdHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace IoT
84} // namespace Aws
GetLoggingOptionsResult & WithRoleArn(RoleArnT &&value)
AWS_IOT_API GetLoggingOptionsResult()=default
AWS_IOT_API GetLoggingOptionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLoggingOptionsResult & WithRequestId(RequestIdT &&value)
AWS_IOT_API GetLoggingOptionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLoggingOptionsResult & WithLogLevel(LogLevel value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue