AWS SDK for C++  1.9.105
AWS SDK for C++
GetResourceLogLevelRequest.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 "GetResourceLogLevel"; }
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 GetResourceLogLevelRequest& WithResourceIdentifier(const Aws::String& value) { SetResourceIdentifier(value); return *this;}
58 
59 
60  inline GetResourceLogLevelRequest& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;}
61 
62 
63  inline GetResourceLogLevelRequest& 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 GetResourceLogLevelRequest& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
101 
106  inline GetResourceLogLevelRequest& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
107 
112  inline GetResourceLogLevelRequest& 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::GetResourceLogLevelRequest::WithResourceType
GetResourceLogLevelRequest & WithResourceType(Aws::String &&value)
Definition: GetResourceLogLevelRequest.h:106
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::GetResourceLogLevelRequest::WithResourceType
GetResourceLogLevelRequest & WithResourceType(const Aws::String &value)
Definition: GetResourceLogLevelRequest.h:100
Aws::IoTWireless::Model::GetResourceLogLevelRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTWireless::Model::GetResourceLogLevelRequest::ResourceIdentifierHasBeenSet
bool ResourceIdentifierHasBeenSet() const
Definition: GetResourceLogLevelRequest.h:45
Aws::Http::URI
Definition: URI.h:32
Aws::IoTWireless::Model::GetResourceLogLevelRequest::GetResourceIdentifier
const Aws::String & GetResourceIdentifier() const
Definition: GetResourceLogLevelRequest.h:42
Aws::IoTWireless::Model::GetResourceLogLevelRequest::GetResourceLogLevelRequest
GetResourceLogLevelRequest()
Aws::IoTWireless::Model::GetResourceLogLevelRequest::SetResourceIdentifier
void SetResourceIdentifier(Aws::String &&value)
Definition: GetResourceLogLevelRequest.h:51
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::GetResourceLogLevelRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoTWireless::Model::GetResourceLogLevelRequest::SetResourceIdentifier
void SetResourceIdentifier(const Aws::String &value)
Definition: GetResourceLogLevelRequest.h:48
Aws::IoTWireless::Model::GetResourceLogLevelRequest::SetResourceType
void SetResourceType(const char *value)
Definition: GetResourceLogLevelRequest.h:94
Aws::IoTWireless::Model::GetResourceLogLevelRequest::WithResourceType
GetResourceLogLevelRequest & WithResourceType(const char *value)
Definition: GetResourceLogLevelRequest.h:112
Aws::IoTWireless::Model::GetResourceLogLevelRequest::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: GetResourceLogLevelRequest.h:76
Aws::IoTWireless::IoTWirelessRequest
Definition: IoTWirelessRequest.h:17
Aws::IoTWireless::Model::GetResourceLogLevelRequest::SetResourceType
void SetResourceType(Aws::String &&value)
Definition: GetResourceLogLevelRequest.h:88
AWSString.h
Aws::IoTWireless::Model::GetResourceLogLevelRequest::SetResourceType
void SetResourceType(const Aws::String &value)
Definition: GetResourceLogLevelRequest.h:82
Aws::IoTWireless::Model::GetResourceLogLevelRequest::WithResourceIdentifier
GetResourceLogLevelRequest & WithResourceIdentifier(Aws::String &&value)
Definition: GetResourceLogLevelRequest.h:60
Aws::IoTWireless::Model::GetResourceLogLevelRequest::GetResourceType
const Aws::String & GetResourceType() const
Definition: GetResourceLogLevelRequest.h:70
Aws::IoTWireless::Model::GetResourceLogLevelRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetResourceLogLevelRequest.h:34
Aws
Definition: AccessManagementClient.h:15
IoTWirelessRequest.h
Aws::IoTWireless::Model::GetResourceLogLevelRequest::WithResourceIdentifier
GetResourceLogLevelRequest & WithResourceIdentifier(const Aws::String &value)
Definition: GetResourceLogLevelRequest.h:57
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::GetResourceLogLevelRequest
Definition: GetResourceLogLevelRequest.h:26
Aws::IoTWireless::Model::GetResourceLogLevelRequest::SetResourceIdentifier
void SetResourceIdentifier(const char *value)
Definition: GetResourceLogLevelRequest.h:54
Aws::IoTWireless::Model::GetResourceLogLevelRequest::WithResourceIdentifier
GetResourceLogLevelRequest & WithResourceIdentifier(const char *value)
Definition: GetResourceLogLevelRequest.h:63