AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
GetLoggingOptionsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/IoT_EXPORTS.h>
10#include <aws/iot/model/LogLevel.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace IoT {
24namespace Model {
32 public:
33 AWS_IOT_API GetLoggingOptionsResult() = default;
36
38
41 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
42 template <typename RoleArnT = Aws::String>
43 void SetRoleArn(RoleArnT&& value) {
44 m_roleArnHasBeenSet = true;
45 m_roleArn = std::forward<RoleArnT>(value);
46 }
47 template <typename RoleArnT = Aws::String>
49 SetRoleArn(std::forward<RoleArnT>(value));
50 return *this;
51 }
53
55
58 inline LogLevel GetLogLevel() const { return m_logLevel; }
59 inline void SetLogLevel(LogLevel value) {
60 m_logLevelHasBeenSet = true;
61 m_logLevel = value;
62 }
64 SetLogLevel(value);
65 return *this;
66 }
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template <typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) {
74 m_requestIdHasBeenSet = true;
75 m_requestId = std::forward<RequestIdT>(value);
76 }
77 template <typename RequestIdT = Aws::String>
79 SetRequestId(std::forward<RequestIdT>(value));
80 return *this;
81 }
83 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
84
85 private:
86 Aws::String m_roleArn;
87
88 LogLevel m_logLevel{LogLevel::NOT_SET};
89
90 Aws::String m_requestId;
91 Aws::Http::HttpResponseCode m_HttpResponseCode;
92 bool m_roleArnHasBeenSet = false;
93 bool m_logLevelHasBeenSet = false;
94 bool m_requestIdHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace IoT
99} // namespace Aws
GetLoggingOptionsResult & WithRoleArn(RoleArnT &&value)
AWS_IOT_API GetLoggingOptionsResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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