AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
GetEventLogConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
10#include <aws/iot-managed-integrations/model/LogLevel.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace IoTManagedIntegrations {
24namespace Model {
26 public:
27 AWS_IOTMANAGEDINTEGRATIONS_API GetEventLogConfigurationResult() = default;
29 AWS_IOTMANAGEDINTEGRATIONS_API GetEventLogConfigurationResult& operator=(
31
33
36 inline const Aws::String& GetId() const { return m_id; }
37 template <typename IdT = Aws::String>
38 void SetId(IdT&& value) {
39 m_idHasBeenSet = true;
40 m_id = std::forward<IdT>(value);
41 }
42 template <typename IdT = Aws::String>
44 SetId(std::forward<IdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetResourceType() const { return m_resourceType; }
54 template <typename ResourceTypeT = Aws::String>
55 void SetResourceType(ResourceTypeT&& value) {
56 m_resourceTypeHasBeenSet = true;
57 m_resourceType = std::forward<ResourceTypeT>(value);
58 }
59 template <typename ResourceTypeT = Aws::String>
61 SetResourceType(std::forward<ResourceTypeT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetResourceId() const { return m_resourceId; }
71 template <typename ResourceIdT = Aws::String>
72 void SetResourceId(ResourceIdT&& value) {
73 m_resourceIdHasBeenSet = true;
74 m_resourceId = std::forward<ResourceIdT>(value);
75 }
76 template <typename ResourceIdT = Aws::String>
78 SetResourceId(std::forward<ResourceIdT>(value));
79 return *this;
80 }
82
84
87 inline LogLevel GetEventLogLevel() const { return m_eventLogLevel; }
88 inline void SetEventLogLevel(LogLevel value) {
89 m_eventLogLevelHasBeenSet = true;
90 m_eventLogLevel = value;
91 }
93 SetEventLogLevel(value);
94 return *this;
95 }
97
99
100 inline const Aws::String& GetRequestId() const { return m_requestId; }
101 template <typename RequestIdT = Aws::String>
102 void SetRequestId(RequestIdT&& value) {
103 m_requestIdHasBeenSet = true;
104 m_requestId = std::forward<RequestIdT>(value);
105 }
106 template <typename RequestIdT = Aws::String>
108 SetRequestId(std::forward<RequestIdT>(value));
109 return *this;
110 }
112 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
113
114 private:
115 Aws::String m_id;
116
117 Aws::String m_resourceType;
118
119 Aws::String m_resourceId;
120
121 LogLevel m_eventLogLevel{LogLevel::NOT_SET};
122
123 Aws::String m_requestId;
124 Aws::Http::HttpResponseCode m_HttpResponseCode;
125 bool m_idHasBeenSet = false;
126 bool m_resourceTypeHasBeenSet = false;
127 bool m_resourceIdHasBeenSet = false;
128 bool m_eventLogLevelHasBeenSet = false;
129 bool m_requestIdHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace IoTManagedIntegrations
134} // 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