AWS SDK for C++  1.9.109
AWS SDK for C++
ResetResourceLogLevelRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace IoTWireless
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ResetResourceLogLevel"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
41 
42  inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; }
43 
44 
45  inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
46 
47 
48  inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
49 
50 
51  inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
52 
53 
54  inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); }
55 
56 
57  inline ResetResourceLogLevelRequest& WithResourceIdentifier(const Aws::String& value) { SetResourceIdentifier(value); return *this;}
58 
59 
60  inline ResetResourceLogLevelRequest& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;}
61 
62 
63  inline ResetResourceLogLevelRequest& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;}
64 
65 
70  inline const Aws::String& GetResourceType() const{ return m_resourceType; }
71 
76  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
77 
82  inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
83 
88  inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
89 
94  inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
95 
100  inline ResetResourceLogLevelRequest& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
101 
106  inline ResetResourceLogLevelRequest& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
107 
112  inline ResetResourceLogLevelRequest& WithResourceType(const char* value) { SetResourceType(value); return *this;}
113 
114  private:
115 
116  Aws::String m_resourceIdentifier;
117  bool m_resourceIdentifierHasBeenSet;
118 
119  Aws::String m_resourceType;
120  bool m_resourceTypeHasBeenSet;
121  };
122 
123 } // namespace Model
124 } // namespace IoTWireless
125 } // namespace Aws
Aws::IoTWireless::Model::ResetResourceLogLevelRequest::WithResourceType
ResetResourceLogLevelRequest & WithResourceType(const char *value)
Definition: ResetResourceLogLevelRequest.h:112
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::Http::URI
Definition: URI.h:32
Aws::IoTWireless::Model::ResetResourceLogLevelRequest::SetResourceType
void SetResourceType(Aws::String &&value)
Definition: ResetResourceLogLevelRequest.h:88
Aws::IoTWireless::Model::ResetResourceLogLevelRequest::SetResourceIdentifier
void SetResourceIdentifier(const char *value)
Definition: ResetResourceLogLevelRequest.h:54
Aws::IoTWireless::Model::ResetResourceLogLevelRequest::WithResourceIdentifier
ResetResourceLogLevelRequest & WithResourceIdentifier(Aws::String &&value)
Definition: ResetResourceLogLevelRequest.h:60
Aws::IoTWireless::Model::ResetResourceLogLevelRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ResetResourceLogLevelRequest.h:34
Aws::IoTWireless::Model::ResetResourceLogLevelRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoTWireless::Model::ResetResourceLogLevelRequest::WithResourceIdentifier
ResetResourceLogLevelRequest & WithResourceIdentifier(const char *value)
Definition: ResetResourceLogLevelRequest.h:63
Aws::IoTWireless::Model::ResetResourceLogLevelRequest::SerializePayload
Aws::String SerializePayload() const override
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::ResetResourceLogLevelRequest::SetResourceType
void SetResourceType(const char *value)
Definition: ResetResourceLogLevelRequest.h:94
Aws::IoTWireless::IoTWirelessRequest
Definition: IoTWirelessRequest.h:17
AWSString.h
Aws::IoTWireless::Model::ResetResourceLogLevelRequest::ResetResourceLogLevelRequest
ResetResourceLogLevelRequest()
Aws::IoTWireless::Model::ResetResourceLogLevelRequest::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: ResetResourceLogLevelRequest.h:76
Aws::IoTWireless::Model::ResetResourceLogLevelRequest::WithResourceType
ResetResourceLogLevelRequest & WithResourceType(const Aws::String &value)
Definition: ResetResourceLogLevelRequest.h:100
Aws::IoTWireless::Model::ResetResourceLogLevelRequest::GetResourceIdentifier
const Aws::String & GetResourceIdentifier() const
Definition: ResetResourceLogLevelRequest.h:42
Aws::IoTWireless::Model::ResetResourceLogLevelRequest::SetResourceIdentifier
void SetResourceIdentifier(const Aws::String &value)
Definition: ResetResourceLogLevelRequest.h:48
Aws::IoTWireless::Model::ResetResourceLogLevelRequest::WithResourceType
ResetResourceLogLevelRequest & WithResourceType(Aws::String &&value)
Definition: ResetResourceLogLevelRequest.h:106
Aws
Definition: AccessManagementClient.h:15
IoTWirelessRequest.h
Aws::IoTWireless::Model::ResetResourceLogLevelRequest::WithResourceIdentifier
ResetResourceLogLevelRequest & WithResourceIdentifier(const Aws::String &value)
Definition: ResetResourceLogLevelRequest.h:57
Aws::IoTWireless::Model::ResetResourceLogLevelRequest
Definition: ResetResourceLogLevelRequest.h:26
Aws::IoTWireless::Model::ResetResourceLogLevelRequest::SetResourceType
void SetResourceType(const Aws::String &value)
Definition: ResetResourceLogLevelRequest.h:82
Aws::IoTWireless::Model::ResetResourceLogLevelRequest::SetResourceIdentifier
void SetResourceIdentifier(Aws::String &&value)
Definition: ResetResourceLogLevelRequest.h:51
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::ResetResourceLogLevelRequest::ResourceIdentifierHasBeenSet
bool ResourceIdentifierHasBeenSet() const
Definition: ResetResourceLogLevelRequest.h:45
Aws::IoTWireless::Model::ResetResourceLogLevelRequest::GetResourceType
const Aws::String & GetResourceType() const
Definition: ResetResourceLogLevelRequest.h:70