AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
EventLogConfigurationSummary.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot-managed-integrations/model/LogLevel.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTManagedIntegrations
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IOTMANAGEDINTEGRATIONS_API EventLogConfigurationSummary() = default;
36 AWS_IOTMANAGEDINTEGRATIONS_API EventLogConfigurationSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTMANAGEDINTEGRATIONS_API EventLogConfigurationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetId() const { return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 template<typename IdT = Aws::String>
48 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
49 template<typename IdT = Aws::String>
50 EventLogConfigurationSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetResourceType() const { return m_resourceType; }
58 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
59 template<typename ResourceTypeT = Aws::String>
60 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::forward<ResourceTypeT>(value); }
61 template<typename ResourceTypeT = Aws::String>
62 EventLogConfigurationSummary& WithResourceType(ResourceTypeT&& value) { SetResourceType(std::forward<ResourceTypeT>(value)); return *this;}
64
66
69 inline const Aws::String& GetResourceId() const { return m_resourceId; }
70 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
71 template<typename ResourceIdT = Aws::String>
72 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
73 template<typename ResourceIdT = Aws::String>
74 EventLogConfigurationSummary& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
76
78
81 inline LogLevel GetEventLogLevel() const { return m_eventLogLevel; }
82 inline bool EventLogLevelHasBeenSet() const { return m_eventLogLevelHasBeenSet; }
83 inline void SetEventLogLevel(LogLevel value) { m_eventLogLevelHasBeenSet = true; m_eventLogLevel = value; }
86 private:
87
88 Aws::String m_id;
89 bool m_idHasBeenSet = false;
90
91 Aws::String m_resourceType;
92 bool m_resourceTypeHasBeenSet = false;
93
94 Aws::String m_resourceId;
95 bool m_resourceIdHasBeenSet = false;
96
97 LogLevel m_eventLogLevel{LogLevel::NOT_SET};
98 bool m_eventLogLevelHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace IoTManagedIntegrations
103} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API EventLogConfigurationSummary(Aws::Utils::Json::JsonView jsonValue)
EventLogConfigurationSummary & WithResourceType(ResourceTypeT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API EventLogConfigurationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EventLogConfigurationSummary & WithResourceId(ResourceIdT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API EventLogConfigurationSummary()=default
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue