AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 const LogTargetType& GetTargetType() const{ return m_targetType; }
48 inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; }
49 inline void SetTargetType(const LogTargetType& value) { m_targetTypeHasBeenSet = true; m_targetType = value; }
50 inline void SetTargetType(LogTargetType&& value) { m_targetTypeHasBeenSet = true; m_targetType = std::move(value); }
51 inline DeleteV2LoggingLevelRequest& WithTargetType(const LogTargetType& value) { SetTargetType(value); return *this;}
52 inline DeleteV2LoggingLevelRequest& WithTargetType(LogTargetType&& value) { SetTargetType(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetTargetName() const{ return m_targetName; }
60 inline bool TargetNameHasBeenSet() const { return m_targetNameHasBeenSet; }
61 inline void SetTargetName(const Aws::String& value) { m_targetNameHasBeenSet = true; m_targetName = value; }
62 inline void SetTargetName(Aws::String&& value) { m_targetNameHasBeenSet = true; m_targetName = std::move(value); }
63 inline void SetTargetName(const char* value) { m_targetNameHasBeenSet = true; m_targetName.assign(value); }
64 inline DeleteV2LoggingLevelRequest& WithTargetName(const Aws::String& value) { SetTargetName(value); return *this;}
65 inline DeleteV2LoggingLevelRequest& WithTargetName(Aws::String&& value) { SetTargetName(std::move(value)); return *this;}
66 inline DeleteV2LoggingLevelRequest& WithTargetName(const char* value) { SetTargetName(value); return *this;}
68 private:
69
70 LogTargetType m_targetType;
71 bool m_targetTypeHasBeenSet = false;
72
73 Aws::String m_targetName;
74 bool m_targetNameHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace IoT
79} // namespace Aws
DeleteV2LoggingLevelRequest & WithTargetName(const Aws::String &value)
DeleteV2LoggingLevelRequest & WithTargetName(Aws::String &&value)
DeleteV2LoggingLevelRequest & WithTargetType(const LogTargetType &value)
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
DeleteV2LoggingLevelRequest & WithTargetName(const char *value)
AWS_IOT_API Aws::String SerializePayload() const override
DeleteV2LoggingLevelRequest & WithTargetType(LogTargetType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String