AWS SDK for C++  1.9.132
AWS SDK for C++
GetLoggingOptionsResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoT
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
45  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
46 
50  inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
51 
55  inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
56 
60  inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
61 
65  inline GetLoggingOptionsResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
66 
70  inline GetLoggingOptionsResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
71 
75  inline GetLoggingOptionsResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
76 
77 
81  inline const LogLevel& GetLogLevel() const{ return m_logLevel; }
82 
86  inline void SetLogLevel(const LogLevel& value) { m_logLevel = value; }
87 
91  inline void SetLogLevel(LogLevel&& value) { m_logLevel = std::move(value); }
92 
96  inline GetLoggingOptionsResult& WithLogLevel(const LogLevel& value) { SetLogLevel(value); return *this;}
97 
101  inline GetLoggingOptionsResult& WithLogLevel(LogLevel&& value) { SetLogLevel(std::move(value)); return *this;}
102 
103  private:
104 
105  Aws::String m_roleArn;
106 
107  LogLevel m_logLevel;
108  };
109 
110 } // namespace Model
111 } // namespace IoT
112 } // namespace Aws
Aws::IoT::Model::GetLoggingOptionsResult
Definition: GetLoggingOptionsResult.h:35
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::GetLoggingOptionsResult::SetLogLevel
void SetLogLevel(const LogLevel &value)
Definition: GetLoggingOptionsResult.h:86
Aws::IoT::Model::LogLevel
LogLevel
Definition: LogLevel.h:17
LogLevel.h
Aws::IoT::Model::GetLoggingOptionsResult::WithLogLevel
GetLoggingOptionsResult & WithLogLevel(const LogLevel &value)
Definition: GetLoggingOptionsResult.h:96
Aws::IoT::Model::GetLoggingOptionsResult::GetLogLevel
const LogLevel & GetLogLevel() const
Definition: GetLoggingOptionsResult.h:81
Aws::IoT::Model::GetLoggingOptionsResult::WithRoleArn
GetLoggingOptionsResult & WithRoleArn(Aws::String &&value)
Definition: GetLoggingOptionsResult.h:70
Aws::IoT::Model::GetLoggingOptionsResult::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: GetLoggingOptionsResult.h:50
Aws::IoT::Model::GetLoggingOptionsResult::GetLoggingOptionsResult
GetLoggingOptionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::GetLoggingOptionsResult::GetLoggingOptionsResult
GetLoggingOptionsResult()
AWSString.h
Aws::IoT::Model::GetLoggingOptionsResult::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: GetLoggingOptionsResult.h:55
Aws::IoT::Model::GetLoggingOptionsResult::WithRoleArn
GetLoggingOptionsResult & WithRoleArn(const char *value)
Definition: GetLoggingOptionsResult.h:75
Aws::IoT::Model::GetLoggingOptionsResult::SetRoleArn
void SetRoleArn(const char *value)
Definition: GetLoggingOptionsResult.h:60
Aws::IoT::Model::GetLoggingOptionsResult::SetLogLevel
void SetLogLevel(LogLevel &&value)
Definition: GetLoggingOptionsResult.h:91
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::GetLoggingOptionsResult::WithLogLevel
GetLoggingOptionsResult & WithLogLevel(LogLevel &&value)
Definition: GetLoggingOptionsResult.h:101
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::GetLoggingOptionsResult::WithRoleArn
GetLoggingOptionsResult & WithRoleArn(const Aws::String &value)
Definition: GetLoggingOptionsResult.h:65
Aws::IoT::Model::GetLoggingOptionsResult::operator=
GetLoggingOptionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
IoT_EXPORTS.h
Aws::IoT::Model::GetLoggingOptionsResult::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: GetLoggingOptionsResult.h:45