AWS SDK for C++

AWS SDK for C++ Version 1.11.911

Loading...
Searching...
No Matches
DeleteV2LoggingLevelRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/iot/IoT_EXPORTS.h>
10#include <aws/iot/model/LogTargetType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace IoT {
19namespace Model {
20
24 public:
25 AWS_IOT_API DeleteV2LoggingLevelRequest() = default;
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 "DeleteV2LoggingLevel"; }
32
33 AWS_IOT_API Aws::String SerializePayload() const override;
34
35 AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
43 inline LogTargetType GetTargetType() const { return m_targetType; }
44 inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; }
45 inline void SetTargetType(LogTargetType value) {
46 m_targetTypeHasBeenSet = true;
47 m_targetType = value;
48 }
50 SetTargetType(value);
51 return *this;
52 }
54
56
59 inline const Aws::String& GetTargetName() const { return m_targetName; }
60 inline bool TargetNameHasBeenSet() const { return m_targetNameHasBeenSet; }
61 template <typename TargetNameT = Aws::String>
62 void SetTargetName(TargetNameT&& value) {
63 m_targetNameHasBeenSet = true;
64 m_targetName = std::forward<TargetNameT>(value);
65 }
66 template <typename TargetNameT = Aws::String>
68 SetTargetName(std::forward<TargetNameT>(value));
69 return *this;
70 }
72 private:
74
75 Aws::String m_targetName;
76 bool m_targetTypeHasBeenSet = false;
77 bool m_targetNameHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace IoT
82} // 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