AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutResourceLogLevelRequest.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 <aws/iotwireless/model/LogLevel.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace IoTWireless
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_IOTWIRELESS_API PutResourceLogLevelRequest();
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_IOTWIRELESS_API Aws::String SerializePayload() const override;
38
39 AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
44 inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; }
45 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
46 inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
47 inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
48 inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); }
50 inline PutResourceLogLevelRequest& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;}
51 inline PutResourceLogLevelRequest& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;}
53
55
59 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
60 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
61 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
62 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
63 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
64 inline PutResourceLogLevelRequest& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
65 inline PutResourceLogLevelRequest& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
66 inline PutResourceLogLevelRequest& WithResourceType(const char* value) { SetResourceType(value); return *this;}
68
70
71 inline const LogLevel& GetLogLevel() const{ return m_logLevel; }
72 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
73 inline void SetLogLevel(const LogLevel& value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
74 inline void SetLogLevel(LogLevel&& value) { m_logLevelHasBeenSet = true; m_logLevel = std::move(value); }
75 inline PutResourceLogLevelRequest& WithLogLevel(const LogLevel& value) { SetLogLevel(value); return *this;}
76 inline PutResourceLogLevelRequest& WithLogLevel(LogLevel&& value) { SetLogLevel(std::move(value)); return *this;}
78 private:
79
80 Aws::String m_resourceIdentifier;
81 bool m_resourceIdentifierHasBeenSet = false;
82
83 Aws::String m_resourceType;
84 bool m_resourceTypeHasBeenSet = false;
85
86 LogLevel m_logLevel;
87 bool m_logLevelHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace IoTWireless
92} // namespace Aws
PutResourceLogLevelRequest & WithLogLevel(const LogLevel &value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
PutResourceLogLevelRequest & WithResourceIdentifier(Aws::String &&value)
PutResourceLogLevelRequest & WithResourceType(Aws::String &&value)
PutResourceLogLevelRequest & WithResourceType(const char *value)
PutResourceLogLevelRequest & WithResourceType(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
PutResourceLogLevelRequest & WithResourceIdentifier(const char *value)
PutResourceLogLevelRequest & WithLogLevel(LogLevel &&value)
PutResourceLogLevelRequest & WithResourceIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String