AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SetV2LoggingLevelRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/iot/model/LogTarget.h>
10#include <aws/iot/model/LogLevel.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IoT
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "SetV2LoggingLevel"; }
32
33 AWS_IOT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const LogTarget& GetLogTarget() const{ return m_logTarget; }
41 inline bool LogTargetHasBeenSet() const { return m_logTargetHasBeenSet; }
42 inline void SetLogTarget(const LogTarget& value) { m_logTargetHasBeenSet = true; m_logTarget = value; }
43 inline void SetLogTarget(LogTarget&& value) { m_logTargetHasBeenSet = true; m_logTarget = std::move(value); }
44 inline SetV2LoggingLevelRequest& WithLogTarget(const LogTarget& value) { SetLogTarget(value); return *this;}
45 inline SetV2LoggingLevelRequest& WithLogTarget(LogTarget&& value) { SetLogTarget(std::move(value)); return *this;}
47
49
52 inline const LogLevel& GetLogLevel() const{ return m_logLevel; }
53 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
54 inline void SetLogLevel(const LogLevel& value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
55 inline void SetLogLevel(LogLevel&& value) { m_logLevelHasBeenSet = true; m_logLevel = std::move(value); }
56 inline SetV2LoggingLevelRequest& WithLogLevel(const LogLevel& value) { SetLogLevel(value); return *this;}
57 inline SetV2LoggingLevelRequest& WithLogLevel(LogLevel&& value) { SetLogLevel(std::move(value)); return *this;}
59 private:
60
61 LogTarget m_logTarget;
62 bool m_logTargetHasBeenSet = false;
63
64 LogLevel m_logLevel;
65 bool m_logLevelHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace IoT
70} // namespace Aws
SetV2LoggingLevelRequest & WithLogTarget(LogTarget &&value)
virtual const char * GetServiceRequestName() const override
SetV2LoggingLevelRequest & WithLogLevel(const LogLevel &value)
SetV2LoggingLevelRequest & WithLogTarget(const LogTarget &value)
AWS_IOT_API Aws::String SerializePayload() const override
SetV2LoggingLevelRequest & WithLogLevel(LogLevel &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String