AWS SDK for C++  1.9.106
AWS SDK for C++
GetLogLevelsByResourceTypesResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace IoTWireless
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
38 
39  inline const LogLevel& GetDefaultLogLevel() const{ return m_defaultLogLevel; }
40 
41 
42  inline void SetDefaultLogLevel(const LogLevel& value) { m_defaultLogLevel = value; }
43 
44 
45  inline void SetDefaultLogLevel(LogLevel&& value) { m_defaultLogLevel = std::move(value); }
46 
47 
48  inline GetLogLevelsByResourceTypesResult& WithDefaultLogLevel(const LogLevel& value) { SetDefaultLogLevel(value); return *this;}
49 
50 
51  inline GetLogLevelsByResourceTypesResult& WithDefaultLogLevel(LogLevel&& value) { SetDefaultLogLevel(std::move(value)); return *this;}
52 
53 
54 
55  inline const Aws::Vector<WirelessGatewayLogOption>& GetWirelessGatewayLogOptions() const{ return m_wirelessGatewayLogOptions; }
56 
57 
58  inline void SetWirelessGatewayLogOptions(const Aws::Vector<WirelessGatewayLogOption>& value) { m_wirelessGatewayLogOptions = value; }
59 
60 
61  inline void SetWirelessGatewayLogOptions(Aws::Vector<WirelessGatewayLogOption>&& value) { m_wirelessGatewayLogOptions = std::move(value); }
62 
63 
64  inline GetLogLevelsByResourceTypesResult& WithWirelessGatewayLogOptions(const Aws::Vector<WirelessGatewayLogOption>& value) { SetWirelessGatewayLogOptions(value); return *this;}
65 
66 
67  inline GetLogLevelsByResourceTypesResult& WithWirelessGatewayLogOptions(Aws::Vector<WirelessGatewayLogOption>&& value) { SetWirelessGatewayLogOptions(std::move(value)); return *this;}
68 
69 
70  inline GetLogLevelsByResourceTypesResult& AddWirelessGatewayLogOptions(const WirelessGatewayLogOption& value) { m_wirelessGatewayLogOptions.push_back(value); return *this; }
71 
72 
73  inline GetLogLevelsByResourceTypesResult& AddWirelessGatewayLogOptions(WirelessGatewayLogOption&& value) { m_wirelessGatewayLogOptions.push_back(std::move(value)); return *this; }
74 
75 
76 
77  inline const Aws::Vector<WirelessDeviceLogOption>& GetWirelessDeviceLogOptions() const{ return m_wirelessDeviceLogOptions; }
78 
79 
80  inline void SetWirelessDeviceLogOptions(const Aws::Vector<WirelessDeviceLogOption>& value) { m_wirelessDeviceLogOptions = value; }
81 
82 
83  inline void SetWirelessDeviceLogOptions(Aws::Vector<WirelessDeviceLogOption>&& value) { m_wirelessDeviceLogOptions = std::move(value); }
84 
85 
86  inline GetLogLevelsByResourceTypesResult& WithWirelessDeviceLogOptions(const Aws::Vector<WirelessDeviceLogOption>& value) { SetWirelessDeviceLogOptions(value); return *this;}
87 
88 
89  inline GetLogLevelsByResourceTypesResult& WithWirelessDeviceLogOptions(Aws::Vector<WirelessDeviceLogOption>&& value) { SetWirelessDeviceLogOptions(std::move(value)); return *this;}
90 
91 
92  inline GetLogLevelsByResourceTypesResult& AddWirelessDeviceLogOptions(const WirelessDeviceLogOption& value) { m_wirelessDeviceLogOptions.push_back(value); return *this; }
93 
94 
95  inline GetLogLevelsByResourceTypesResult& AddWirelessDeviceLogOptions(WirelessDeviceLogOption&& value) { m_wirelessDeviceLogOptions.push_back(std::move(value)); return *this; }
96 
97  private:
98 
99  LogLevel m_defaultLogLevel;
100 
101  Aws::Vector<WirelessGatewayLogOption> m_wirelessGatewayLogOptions;
102 
103  Aws::Vector<WirelessDeviceLogOption> m_wirelessDeviceLogOptions;
104  };
105 
106 } // namespace Model
107 } // namespace IoTWireless
108 } // namespace Aws
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTWireless::Model::GetLogLevelsByResourceTypesResult::SetWirelessDeviceLogOptions
void SetWirelessDeviceLogOptions(const Aws::Vector< WirelessDeviceLogOption > &value)
Definition: GetLogLevelsByResourceTypesResult.h:80
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoTWireless::Model::GetLogLevelsByResourceTypesResult::AddWirelessDeviceLogOptions
GetLogLevelsByResourceTypesResult & AddWirelessDeviceLogOptions(const WirelessDeviceLogOption &value)
Definition: GetLogLevelsByResourceTypesResult.h:92
IoTWireless_EXPORTS.h
WirelessGatewayLogOption.h
AWSVector.h
Aws::IoTWireless::Model::GetLogLevelsByResourceTypesResult::WithDefaultLogLevel
GetLogLevelsByResourceTypesResult & WithDefaultLogLevel(LogLevel &&value)
Definition: GetLogLevelsByResourceTypesResult.h:51
Aws::IoTWireless::Model::GetLogLevelsByResourceTypesResult::SetDefaultLogLevel
void SetDefaultLogLevel(LogLevel &&value)
Definition: GetLogLevelsByResourceTypesResult.h:45
Aws::IoTWireless::Model::GetLogLevelsByResourceTypesResult::GetWirelessGatewayLogOptions
const Aws::Vector< WirelessGatewayLogOption > & GetWirelessGatewayLogOptions() const
Definition: GetLogLevelsByResourceTypesResult.h:55
Aws::IoTWireless::Model::GetLogLevelsByResourceTypesResult::AddWirelessGatewayLogOptions
GetLogLevelsByResourceTypesResult & AddWirelessGatewayLogOptions(WirelessGatewayLogOption &&value)
Definition: GetLogLevelsByResourceTypesResult.h:73
Aws::IoTWireless::Model::GetLogLevelsByResourceTypesResult::operator=
GetLogLevelsByResourceTypesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTWireless::Model::GetLogLevelsByResourceTypesResult::AddWirelessDeviceLogOptions
GetLogLevelsByResourceTypesResult & AddWirelessDeviceLogOptions(WirelessDeviceLogOption &&value)
Definition: GetLogLevelsByResourceTypesResult.h:95
Aws::IoTWireless::Model::GetLogLevelsByResourceTypesResult::SetWirelessGatewayLogOptions
void SetWirelessGatewayLogOptions(const Aws::Vector< WirelessGatewayLogOption > &value)
Definition: GetLogLevelsByResourceTypesResult.h:58
Aws::IoTWireless::Model::GetLogLevelsByResourceTypesResult::WithWirelessGatewayLogOptions
GetLogLevelsByResourceTypesResult & WithWirelessGatewayLogOptions(Aws::Vector< WirelessGatewayLogOption > &&value)
Definition: GetLogLevelsByResourceTypesResult.h:67
Aws::IoTWireless::Model::WirelessGatewayLogOption
Definition: WirelessGatewayLogOption.h:36
Aws::IoTWireless::Model::GetLogLevelsByResourceTypesResult::GetLogLevelsByResourceTypesResult
GetLogLevelsByResourceTypesResult()
Aws::IoTWireless::Model::GetLogLevelsByResourceTypesResult::WithWirelessDeviceLogOptions
GetLogLevelsByResourceTypesResult & WithWirelessDeviceLogOptions(const Aws::Vector< WirelessDeviceLogOption > &value)
Definition: GetLogLevelsByResourceTypesResult.h:86
Aws::IoTWireless::Model::WirelessDeviceLogOption
Definition: WirelessDeviceLogOption.h:36
WirelessDeviceLogOption.h
Aws::IoTWireless::Model::GetLogLevelsByResourceTypesResult::AddWirelessGatewayLogOptions
GetLogLevelsByResourceTypesResult & AddWirelessGatewayLogOptions(const WirelessGatewayLogOption &value)
Definition: GetLogLevelsByResourceTypesResult.h:70
Aws::IoTWireless::Model::GetLogLevelsByResourceTypesResult::WithWirelessDeviceLogOptions
GetLogLevelsByResourceTypesResult & WithWirelessDeviceLogOptions(Aws::Vector< WirelessDeviceLogOption > &&value)
Definition: GetLogLevelsByResourceTypesResult.h:89
Aws::IoTWireless::Model::GetLogLevelsByResourceTypesResult::WithWirelessGatewayLogOptions
GetLogLevelsByResourceTypesResult & WithWirelessGatewayLogOptions(const Aws::Vector< WirelessGatewayLogOption > &value)
Definition: GetLogLevelsByResourceTypesResult.h:64
Aws::IoTWireless::Model::GetLogLevelsByResourceTypesResult::SetWirelessGatewayLogOptions
void SetWirelessGatewayLogOptions(Aws::Vector< WirelessGatewayLogOption > &&value)
Definition: GetLogLevelsByResourceTypesResult.h:61
Aws::IoTWireless::Model::GetLogLevelsByResourceTypesResult::SetWirelessDeviceLogOptions
void SetWirelessDeviceLogOptions(Aws::Vector< WirelessDeviceLogOption > &&value)
Definition: GetLogLevelsByResourceTypesResult.h:83
Aws::IoTWireless::Model::GetLogLevelsByResourceTypesResult::GetWirelessDeviceLogOptions
const Aws::Vector< WirelessDeviceLogOption > & GetWirelessDeviceLogOptions() const
Definition: GetLogLevelsByResourceTypesResult.h:77
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::GetLogLevelsByResourceTypesResult::SetDefaultLogLevel
void SetDefaultLogLevel(const LogLevel &value)
Definition: GetLogLevelsByResourceTypesResult.h:42
Aws::IoTWireless::Model::GetLogLevelsByResourceTypesResult::GetDefaultLogLevel
const LogLevel & GetDefaultLogLevel() const
Definition: GetLogLevelsByResourceTypesResult.h:39
Aws::IoTWireless::Model::GetLogLevelsByResourceTypesResult::GetLogLevelsByResourceTypesResult
GetLogLevelsByResourceTypesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTWireless::Model::GetLogLevelsByResourceTypesResult
Definition: GetLogLevelsByResourceTypesResult.h:31
LogLevel.h
Aws::IoTWireless::Model::GetLogLevelsByResourceTypesResult::WithDefaultLogLevel
GetLogLevelsByResourceTypesResult & WithDefaultLogLevel(const LogLevel &value)
Definition: GetLogLevelsByResourceTypesResult.h:48
Aws::IoTWireless::Model::LogLevel
LogLevel
Definition: LogLevel.h:17