AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
GetEventLogConfigurationResult.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{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoTManagedIntegrations
25{
26namespace Model
27{
29 {
30 public:
31 AWS_IOTMANAGEDINTEGRATIONS_API GetEventLogConfigurationResult() = default;
34
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 template<typename IdT = Aws::String>
42 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
43 template<typename IdT = Aws::String>
44 GetEventLogConfigurationResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetResourceType() const { return m_resourceType; }
52 template<typename ResourceTypeT = Aws::String>
53 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::forward<ResourceTypeT>(value); }
54 template<typename ResourceTypeT = Aws::String>
55 GetEventLogConfigurationResult& WithResourceType(ResourceTypeT&& value) { SetResourceType(std::forward<ResourceTypeT>(value)); return *this;}
57
59
62 inline const Aws::String& GetResourceId() const { return m_resourceId; }
63 template<typename ResourceIdT = Aws::String>
64 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
65 template<typename ResourceIdT = Aws::String>
66 GetEventLogConfigurationResult& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
68
70
73 inline LogLevel GetEventLogLevel() const { return m_eventLogLevel; }
74 inline void SetEventLogLevel(LogLevel value) { m_eventLogLevelHasBeenSet = true; m_eventLogLevel = value; }
77
79
80 inline const Aws::String& GetRequestId() const { return m_requestId; }
81 template<typename RequestIdT = Aws::String>
82 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
83 template<typename RequestIdT = Aws::String>
84 GetEventLogConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
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 Aws::String m_requestId;
101 bool m_requestIdHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace IoTManagedIntegrations
106} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API GetEventLogConfigurationResult()=default
AWS_IOTMANAGEDINTEGRATIONS_API GetEventLogConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEventLogConfigurationResult & WithResourceType(ResourceTypeT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API GetEventLogConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEventLogConfigurationResult & WithResourceId(ResourceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue