AWS SDK for C++  1.9.107
AWS SDK for C++
PutResourceLogLevelRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace IoTWireless
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "PutResourceLogLevel"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
42 
43  inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; }
44 
45 
46  inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
47 
48 
49  inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
50 
51 
52  inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
53 
54 
55  inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); }
56 
57 
58  inline PutResourceLogLevelRequest& WithResourceIdentifier(const Aws::String& value) { SetResourceIdentifier(value); return *this;}
59 
60 
61  inline PutResourceLogLevelRequest& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;}
62 
63 
64  inline PutResourceLogLevelRequest& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;}
65 
66 
71  inline const Aws::String& GetResourceType() const{ return m_resourceType; }
72 
77  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
78 
83  inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
84 
89  inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
90 
95  inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
96 
101  inline PutResourceLogLevelRequest& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
102 
107  inline PutResourceLogLevelRequest& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
108 
113  inline PutResourceLogLevelRequest& WithResourceType(const char* value) { SetResourceType(value); return *this;}
114 
115 
116 
117  inline const LogLevel& GetLogLevel() const{ return m_logLevel; }
118 
119 
120  inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
121 
122 
123  inline void SetLogLevel(const LogLevel& value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
124 
125 
126  inline void SetLogLevel(LogLevel&& value) { m_logLevelHasBeenSet = true; m_logLevel = std::move(value); }
127 
128 
129  inline PutResourceLogLevelRequest& WithLogLevel(const LogLevel& value) { SetLogLevel(value); return *this;}
130 
131 
132  inline PutResourceLogLevelRequest& WithLogLevel(LogLevel&& value) { SetLogLevel(std::move(value)); return *this;}
133 
134  private:
135 
136  Aws::String m_resourceIdentifier;
137  bool m_resourceIdentifierHasBeenSet;
138 
139  Aws::String m_resourceType;
140  bool m_resourceTypeHasBeenSet;
141 
142  LogLevel m_logLevel;
143  bool m_logLevelHasBeenSet;
144  };
145 
146 } // namespace Model
147 } // namespace IoTWireless
148 } // namespace Aws
Aws::IoTWireless::Model::PutResourceLogLevelRequest::WithResourceType
PutResourceLogLevelRequest & WithResourceType(Aws::String &&value)
Definition: PutResourceLogLevelRequest.h:107
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::PutResourceLogLevelRequest::LogLevelHasBeenSet
bool LogLevelHasBeenSet() const
Definition: PutResourceLogLevelRequest.h:120
Aws::Http::URI
Definition: URI.h:32
Aws::IoTWireless::Model::PutResourceLogLevelRequest::WithLogLevel
PutResourceLogLevelRequest & WithLogLevel(LogLevel &&value)
Definition: PutResourceLogLevelRequest.h:132
Aws::IoTWireless::Model::PutResourceLogLevelRequest::SetResourceType
void SetResourceType(Aws::String &&value)
Definition: PutResourceLogLevelRequest.h:89
Aws::IoTWireless::Model::PutResourceLogLevelRequest::WithResourceType
PutResourceLogLevelRequest & WithResourceType(const char *value)
Definition: PutResourceLogLevelRequest.h:113
Aws::IoTWireless::Model::PutResourceLogLevelRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoTWireless::Model::PutResourceLogLevelRequest::GetResourceIdentifier
const Aws::String & GetResourceIdentifier() const
Definition: PutResourceLogLevelRequest.h:43
Aws::IoTWireless::Model::PutResourceLogLevelRequest::WithResourceIdentifier
PutResourceLogLevelRequest & WithResourceIdentifier(const Aws::String &value)
Definition: PutResourceLogLevelRequest.h:58
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::PutResourceLogLevelRequest::WithResourceIdentifier
PutResourceLogLevelRequest & WithResourceIdentifier(const char *value)
Definition: PutResourceLogLevelRequest.h:64
Aws::IoTWireless::Model::PutResourceLogLevelRequest::SetLogLevel
void SetLogLevel(LogLevel &&value)
Definition: PutResourceLogLevelRequest.h:126
Aws::IoTWireless::Model::PutResourceLogLevelRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutResourceLogLevelRequest.h:35
Aws::IoTWireless::Model::PutResourceLogLevelRequest::SetResourceIdentifier
void SetResourceIdentifier(const Aws::String &value)
Definition: PutResourceLogLevelRequest.h:49
Aws::IoTWireless::Model::PutResourceLogLevelRequest::SetResourceType
void SetResourceType(const Aws::String &value)
Definition: PutResourceLogLevelRequest.h:83
Aws::IoTWireless::Model::PutResourceLogLevelRequest::WithResourceIdentifier
PutResourceLogLevelRequest & WithResourceIdentifier(Aws::String &&value)
Definition: PutResourceLogLevelRequest.h:61
Aws::IoTWireless::Model::PutResourceLogLevelRequest::SetLogLevel
void SetLogLevel(const LogLevel &value)
Definition: PutResourceLogLevelRequest.h:123
Aws::IoTWireless::Model::PutResourceLogLevelRequest::WithLogLevel
PutResourceLogLevelRequest & WithLogLevel(const LogLevel &value)
Definition: PutResourceLogLevelRequest.h:129
Aws::IoTWireless::IoTWirelessRequest
Definition: IoTWirelessRequest.h:17
AWSString.h
Aws::IoTWireless::Model::PutResourceLogLevelRequest::ResourceIdentifierHasBeenSet
bool ResourceIdentifierHasBeenSet() const
Definition: PutResourceLogLevelRequest.h:46
Aws::IoTWireless::Model::PutResourceLogLevelRequest::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: PutResourceLogLevelRequest.h:77
Aws::IoTWireless::Model::PutResourceLogLevelRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTWireless::Model::PutResourceLogLevelRequest::WithResourceType
PutResourceLogLevelRequest & WithResourceType(const Aws::String &value)
Definition: PutResourceLogLevelRequest.h:101
Aws::IoTWireless::Model::PutResourceLogLevelRequest::SetResourceIdentifier
void SetResourceIdentifier(const char *value)
Definition: PutResourceLogLevelRequest.h:55
Aws::IoTWireless::Model::PutResourceLogLevelRequest::SetResourceType
void SetResourceType(const char *value)
Definition: PutResourceLogLevelRequest.h:95
Aws
Definition: AccessManagementClient.h:15
IoTWirelessRequest.h
Aws::IoTWireless::Model::PutResourceLogLevelRequest::GetLogLevel
const LogLevel & GetLogLevel() const
Definition: PutResourceLogLevelRequest.h:117
Aws::IoTWireless::Model::PutResourceLogLevelRequest::GetResourceType
const Aws::String & GetResourceType() const
Definition: PutResourceLogLevelRequest.h:71
Aws::IoTWireless::Model::PutResourceLogLevelRequest
Definition: PutResourceLogLevelRequest.h:27
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::PutResourceLogLevelRequest::PutResourceLogLevelRequest
PutResourceLogLevelRequest()
LogLevel.h
Aws::IoTWireless::Model::PutResourceLogLevelRequest::SetResourceIdentifier
void SetResourceIdentifier(Aws::String &&value)
Definition: PutResourceLogLevelRequest.h:52
Aws::IoTWireless::Model::LogLevel
LogLevel
Definition: LogLevel.h:17