AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DeleteV2LoggingLevelRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/iot/model/LogTargetType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace IoT
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_IOT_API DeleteV2LoggingLevelRequest() = default;
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 "DeleteV2LoggingLevel"; }
36
37 AWS_IOT_API Aws::String SerializePayload() const override;
38
39 AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
47 inline LogTargetType GetTargetType() const { return m_targetType; }
48 inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; }
49 inline void SetTargetType(LogTargetType value) { m_targetTypeHasBeenSet = true; m_targetType = value; }
52
54
57 inline const Aws::String& GetTargetName() const { return m_targetName; }
58 inline bool TargetNameHasBeenSet() const { return m_targetNameHasBeenSet; }
59 template<typename TargetNameT = Aws::String>
60 void SetTargetName(TargetNameT&& value) { m_targetNameHasBeenSet = true; m_targetName = std::forward<TargetNameT>(value); }
61 template<typename TargetNameT = Aws::String>
62 DeleteV2LoggingLevelRequest& WithTargetName(TargetNameT&& value) { SetTargetName(std::forward<TargetNameT>(value)); return *this;}
64 private:
65
67 bool m_targetTypeHasBeenSet = false;
68
69 Aws::String m_targetName;
70 bool m_targetNameHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace IoT
75} // namespace Aws
AWS_IOT_API DeleteV2LoggingLevelRequest()=default
DeleteV2LoggingLevelRequest & WithTargetName(TargetNameT &&value)
DeleteV2LoggingLevelRequest & WithTargetType(LogTargetType value)
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
AWS_IOT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String