AWS SDK for C++  1.9.109
AWS SDK for C++
UpdateLogLevelsByResourceTypesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace IoTWireless
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "UpdateLogLevelsByResourceTypes"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
38 
39  inline const LogLevel& GetDefaultLogLevel() const{ return m_defaultLogLevel; }
40 
41 
42  inline bool DefaultLogLevelHasBeenSet() const { return m_defaultLogLevelHasBeenSet; }
43 
44 
45  inline void SetDefaultLogLevel(const LogLevel& value) { m_defaultLogLevelHasBeenSet = true; m_defaultLogLevel = value; }
46 
47 
48  inline void SetDefaultLogLevel(LogLevel&& value) { m_defaultLogLevelHasBeenSet = true; m_defaultLogLevel = std::move(value); }
49 
50 
51  inline UpdateLogLevelsByResourceTypesRequest& WithDefaultLogLevel(const LogLevel& value) { SetDefaultLogLevel(value); return *this;}
52 
53 
54  inline UpdateLogLevelsByResourceTypesRequest& WithDefaultLogLevel(LogLevel&& value) { SetDefaultLogLevel(std::move(value)); return *this;}
55 
56 
57 
58  inline const Aws::Vector<WirelessDeviceLogOption>& GetWirelessDeviceLogOptions() const{ return m_wirelessDeviceLogOptions; }
59 
60 
61  inline bool WirelessDeviceLogOptionsHasBeenSet() const { return m_wirelessDeviceLogOptionsHasBeenSet; }
62 
63 
64  inline void SetWirelessDeviceLogOptions(const Aws::Vector<WirelessDeviceLogOption>& value) { m_wirelessDeviceLogOptionsHasBeenSet = true; m_wirelessDeviceLogOptions = value; }
65 
66 
67  inline void SetWirelessDeviceLogOptions(Aws::Vector<WirelessDeviceLogOption>&& value) { m_wirelessDeviceLogOptionsHasBeenSet = true; m_wirelessDeviceLogOptions = std::move(value); }
68 
69 
70  inline UpdateLogLevelsByResourceTypesRequest& WithWirelessDeviceLogOptions(const Aws::Vector<WirelessDeviceLogOption>& value) { SetWirelessDeviceLogOptions(value); return *this;}
71 
72 
73  inline UpdateLogLevelsByResourceTypesRequest& WithWirelessDeviceLogOptions(Aws::Vector<WirelessDeviceLogOption>&& value) { SetWirelessDeviceLogOptions(std::move(value)); return *this;}
74 
75 
76  inline UpdateLogLevelsByResourceTypesRequest& AddWirelessDeviceLogOptions(const WirelessDeviceLogOption& value) { m_wirelessDeviceLogOptionsHasBeenSet = true; m_wirelessDeviceLogOptions.push_back(value); return *this; }
77 
78 
79  inline UpdateLogLevelsByResourceTypesRequest& AddWirelessDeviceLogOptions(WirelessDeviceLogOption&& value) { m_wirelessDeviceLogOptionsHasBeenSet = true; m_wirelessDeviceLogOptions.push_back(std::move(value)); return *this; }
80 
81 
82 
83  inline const Aws::Vector<WirelessGatewayLogOption>& GetWirelessGatewayLogOptions() const{ return m_wirelessGatewayLogOptions; }
84 
85 
86  inline bool WirelessGatewayLogOptionsHasBeenSet() const { return m_wirelessGatewayLogOptionsHasBeenSet; }
87 
88 
89  inline void SetWirelessGatewayLogOptions(const Aws::Vector<WirelessGatewayLogOption>& value) { m_wirelessGatewayLogOptionsHasBeenSet = true; m_wirelessGatewayLogOptions = value; }
90 
91 
92  inline void SetWirelessGatewayLogOptions(Aws::Vector<WirelessGatewayLogOption>&& value) { m_wirelessGatewayLogOptionsHasBeenSet = true; m_wirelessGatewayLogOptions = std::move(value); }
93 
94 
95  inline UpdateLogLevelsByResourceTypesRequest& WithWirelessGatewayLogOptions(const Aws::Vector<WirelessGatewayLogOption>& value) { SetWirelessGatewayLogOptions(value); return *this;}
96 
97 
98  inline UpdateLogLevelsByResourceTypesRequest& WithWirelessGatewayLogOptions(Aws::Vector<WirelessGatewayLogOption>&& value) { SetWirelessGatewayLogOptions(std::move(value)); return *this;}
99 
100 
101  inline UpdateLogLevelsByResourceTypesRequest& AddWirelessGatewayLogOptions(const WirelessGatewayLogOption& value) { m_wirelessGatewayLogOptionsHasBeenSet = true; m_wirelessGatewayLogOptions.push_back(value); return *this; }
102 
103 
104  inline UpdateLogLevelsByResourceTypesRequest& AddWirelessGatewayLogOptions(WirelessGatewayLogOption&& value) { m_wirelessGatewayLogOptionsHasBeenSet = true; m_wirelessGatewayLogOptions.push_back(std::move(value)); return *this; }
105 
106  private:
107 
108  LogLevel m_defaultLogLevel;
109  bool m_defaultLogLevelHasBeenSet;
110 
111  Aws::Vector<WirelessDeviceLogOption> m_wirelessDeviceLogOptions;
112  bool m_wirelessDeviceLogOptionsHasBeenSet;
113 
114  Aws::Vector<WirelessGatewayLogOption> m_wirelessGatewayLogOptions;
115  bool m_wirelessGatewayLogOptionsHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace IoTWireless
120 } // namespace Aws
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::SetWirelessDeviceLogOptions
void SetWirelessDeviceLogOptions(const Aws::Vector< WirelessDeviceLogOption > &value)
Definition: UpdateLogLevelsByResourceTypesRequest.h:64
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::AddWirelessDeviceLogOptions
UpdateLogLevelsByResourceTypesRequest & AddWirelessDeviceLogOptions(WirelessDeviceLogOption &&value)
Definition: UpdateLogLevelsByResourceTypesRequest.h:79
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::WithDefaultLogLevel
UpdateLogLevelsByResourceTypesRequest & WithDefaultLogLevel(LogLevel &&value)
Definition: UpdateLogLevelsByResourceTypesRequest.h:54
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::WirelessDeviceLogOptionsHasBeenSet
bool WirelessDeviceLogOptionsHasBeenSet() const
Definition: UpdateLogLevelsByResourceTypesRequest.h:61
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::AddWirelessGatewayLogOptions
UpdateLogLevelsByResourceTypesRequest & AddWirelessGatewayLogOptions(WirelessGatewayLogOption &&value)
Definition: UpdateLogLevelsByResourceTypesRequest.h:104
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::WithWirelessDeviceLogOptions
UpdateLogLevelsByResourceTypesRequest & WithWirelessDeviceLogOptions(const Aws::Vector< WirelessDeviceLogOption > &value)
Definition: UpdateLogLevelsByResourceTypesRequest.h:70
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
IoTWireless_EXPORTS.h
WirelessGatewayLogOption.h
AWSVector.h
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::SetWirelessGatewayLogOptions
void SetWirelessGatewayLogOptions(const Aws::Vector< WirelessGatewayLogOption > &value)
Definition: UpdateLogLevelsByResourceTypesRequest.h:89
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::UpdateLogLevelsByResourceTypesRequest
UpdateLogLevelsByResourceTypesRequest()
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::SetWirelessDeviceLogOptions
void SetWirelessDeviceLogOptions(Aws::Vector< WirelessDeviceLogOption > &&value)
Definition: UpdateLogLevelsByResourceTypesRequest.h:67
Aws::IoTWireless::Model::WirelessGatewayLogOption
Definition: WirelessGatewayLogOption.h:36
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::SetWirelessGatewayLogOptions
void SetWirelessGatewayLogOptions(Aws::Vector< WirelessGatewayLogOption > &&value)
Definition: UpdateLogLevelsByResourceTypesRequest.h:92
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::DefaultLogLevelHasBeenSet
bool DefaultLogLevelHasBeenSet() const
Definition: UpdateLogLevelsByResourceTypesRequest.h:42
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::GetDefaultLogLevel
const LogLevel & GetDefaultLogLevel() const
Definition: UpdateLogLevelsByResourceTypesRequest.h:39
Aws::IoTWireless::Model::WirelessDeviceLogOption
Definition: WirelessDeviceLogOption.h:36
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::WirelessGatewayLogOptionsHasBeenSet
bool WirelessGatewayLogOptionsHasBeenSet() const
Definition: UpdateLogLevelsByResourceTypesRequest.h:86
Aws::IoTWireless::IoTWirelessRequest
Definition: IoTWirelessRequest.h:17
WirelessDeviceLogOption.h
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest
Definition: UpdateLogLevelsByResourceTypesRequest.h:25
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::SetDefaultLogLevel
void SetDefaultLogLevel(LogLevel &&value)
Definition: UpdateLogLevelsByResourceTypesRequest.h:48
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::WithWirelessDeviceLogOptions
UpdateLogLevelsByResourceTypesRequest & WithWirelessDeviceLogOptions(Aws::Vector< WirelessDeviceLogOption > &&value)
Definition: UpdateLogLevelsByResourceTypesRequest.h:73
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::WithDefaultLogLevel
UpdateLogLevelsByResourceTypesRequest & WithDefaultLogLevel(const LogLevel &value)
Definition: UpdateLogLevelsByResourceTypesRequest.h:51
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::AddWirelessGatewayLogOptions
UpdateLogLevelsByResourceTypesRequest & AddWirelessGatewayLogOptions(const WirelessGatewayLogOption &value)
Definition: UpdateLogLevelsByResourceTypesRequest.h:101
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::GetWirelessGatewayLogOptions
const Aws::Vector< WirelessGatewayLogOption > & GetWirelessGatewayLogOptions() const
Definition: UpdateLogLevelsByResourceTypesRequest.h:83
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::WithWirelessGatewayLogOptions
UpdateLogLevelsByResourceTypesRequest & WithWirelessGatewayLogOptions(Aws::Vector< WirelessGatewayLogOption > &&value)
Definition: UpdateLogLevelsByResourceTypesRequest.h:98
Aws
Definition: AccessManagementClient.h:15
IoTWirelessRequest.h
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateLogLevelsByResourceTypesRequest.h:33
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::WithWirelessGatewayLogOptions
UpdateLogLevelsByResourceTypesRequest & WithWirelessGatewayLogOptions(const Aws::Vector< WirelessGatewayLogOption > &value)
Definition: UpdateLogLevelsByResourceTypesRequest.h:95
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::GetWirelessDeviceLogOptions
const Aws::Vector< WirelessDeviceLogOption > & GetWirelessDeviceLogOptions() const
Definition: UpdateLogLevelsByResourceTypesRequest.h:58
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::SetDefaultLogLevel
void SetDefaultLogLevel(const LogLevel &value)
Definition: UpdateLogLevelsByResourceTypesRequest.h:45
LogLevel.h
Aws::IoTWireless::Model::UpdateLogLevelsByResourceTypesRequest::AddWirelessDeviceLogOptions
UpdateLogLevelsByResourceTypesRequest & AddWirelessDeviceLogOptions(const WirelessDeviceLogOption &value)
Definition: UpdateLogLevelsByResourceTypesRequest.h:76
Aws::IoTWireless::Model::LogLevel
LogLevel
Definition: LogLevel.h:17