AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ResetResourceLogLevelRequest.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/IoTWirelessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace IoTWireless
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_IOTWIRELESS_API ResetResourceLogLevelRequest() = default;
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_IOTWIRELESS_API Aws::String SerializePayload() const override;
37
38 AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
43 inline const Aws::String& GetResourceIdentifier() const { return m_resourceIdentifier; }
44 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
45 template<typename ResourceIdentifierT = Aws::String>
46 void SetResourceIdentifier(ResourceIdentifierT&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::forward<ResourceIdentifierT>(value); }
47 template<typename ResourceIdentifierT = Aws::String>
48 ResetResourceLogLevelRequest& WithResourceIdentifier(ResourceIdentifierT&& value) { SetResourceIdentifier(std::forward<ResourceIdentifierT>(value)); return *this;}
50
52
56 inline const Aws::String& GetResourceType() const { return m_resourceType; }
57 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
58 template<typename ResourceTypeT = Aws::String>
59 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::forward<ResourceTypeT>(value); }
60 template<typename ResourceTypeT = Aws::String>
61 ResetResourceLogLevelRequest& WithResourceType(ResourceTypeT&& value) { SetResourceType(std::forward<ResourceTypeT>(value)); return *this;}
63 private:
64
65 Aws::String m_resourceIdentifier;
66 bool m_resourceIdentifierHasBeenSet = false;
67
68 Aws::String m_resourceType;
69 bool m_resourceTypeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace IoTWireless
74} // namespace Aws
ResetResourceLogLevelRequest & WithResourceType(ResourceTypeT &&value)
ResetResourceLogLevelRequest & WithResourceIdentifier(ResourceIdentifierT &&value)
AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
AWS_IOTWIRELESS_API ResetResourceLogLevelRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String