AWS SDK for C++

AWS SDK for C++ Version 1.11.751

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
42 inline LogTargetType GetTargetType() const { return m_targetType; }
43 inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; }
44 inline void SetTargetType(LogTargetType value) {
45 m_targetTypeHasBeenSet = true;
46 m_targetType = value;
47 }
49 SetTargetType(value);
50 return *this;
51 }
53
55
58 inline const Aws::String& GetTargetName() const { return m_targetName; }
59 inline bool TargetNameHasBeenSet() const { return m_targetNameHasBeenSet; }
60 template <typename TargetNameT = Aws::String>
61 void SetTargetName(TargetNameT&& value) {
62 m_targetNameHasBeenSet = true;
63 m_targetName = std::forward<TargetNameT>(value);
64 }
65 template <typename TargetNameT = Aws::String>
67 SetTargetName(std::forward<TargetNameT>(value));
68 return *this;
69 }
71 private:
73
74 Aws::String m_targetName;
75 bool m_targetTypeHasBeenSet = false;
76 bool m_targetNameHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace IoT
81} // 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