AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateEventLogConfigurationRequest.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/iot-managed-integrations/IoTManagedIntegrationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot-managed-integrations/model/LogLevel.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IoTManagedIntegrations
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IOTMANAGEDINTEGRATIONS_API UpdateEventLogConfigurationRequest() = 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 "UpdateEventLogConfiguration"; }
32
33 AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template<typename IdT = Aws::String>
43 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
44 template<typename IdT = Aws::String>
45 UpdateEventLogConfigurationRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
47
49
52 inline LogLevel GetEventLogLevel() const { return m_eventLogLevel; }
53 inline bool EventLogLevelHasBeenSet() const { return m_eventLogLevelHasBeenSet; }
54 inline void SetEventLogLevel(LogLevel value) { m_eventLogLevelHasBeenSet = true; m_eventLogLevel = value; }
57 private:
58
59 Aws::String m_id;
60 bool m_idHasBeenSet = false;
61
62 LogLevel m_eventLogLevel{LogLevel::NOT_SET};
63 bool m_eventLogLevelHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace IoTManagedIntegrations
68} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override
AWS_IOTMANAGEDINTEGRATIONS_API UpdateEventLogConfigurationRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String