AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
GetNotificationConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
11#include <aws/iot-managed-integrations/model/EventType.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoTManagedIntegrations {
25namespace Model {
27 public:
28 AWS_IOTMANAGEDINTEGRATIONS_API GetNotificationConfigurationResult() = default;
30 AWS_IOTMANAGEDINTEGRATIONS_API GetNotificationConfigurationResult& operator=(
32
34
38 inline EventType GetEventType() const { return m_eventType; }
39 inline void SetEventType(EventType value) {
40 m_eventTypeHasBeenSet = true;
41 m_eventType = value;
42 }
44 SetEventType(value);
45 return *this;
46 }
48
50
53 inline const Aws::String& GetDestinationName() const { return m_destinationName; }
54 template <typename DestinationNameT = Aws::String>
55 void SetDestinationName(DestinationNameT&& value) {
56 m_destinationNameHasBeenSet = true;
57 m_destinationName = std::forward<DestinationNameT>(value);
58 }
59 template <typename DestinationNameT = Aws::String>
61 SetDestinationName(std::forward<DestinationNameT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
71 template <typename CreatedAtT = Aws::Utils::DateTime>
72 void SetCreatedAt(CreatedAtT&& value) {
73 m_createdAtHasBeenSet = true;
74 m_createdAt = std::forward<CreatedAtT>(value);
75 }
76 template <typename CreatedAtT = Aws::Utils::DateTime>
78 SetCreatedAt(std::forward<CreatedAtT>(value));
79 return *this;
80 }
82
84
88 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
89 template <typename UpdatedAtT = Aws::Utils::DateTime>
90 void SetUpdatedAt(UpdatedAtT&& value) {
91 m_updatedAtHasBeenSet = true;
92 m_updatedAt = std::forward<UpdatedAtT>(value);
93 }
94 template <typename UpdatedAtT = Aws::Utils::DateTime>
96 SetUpdatedAt(std::forward<UpdatedAtT>(value));
97 return *this;
98 }
100
102
103 inline const Aws::String& GetRequestId() const { return m_requestId; }
104 template <typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) {
106 m_requestIdHasBeenSet = true;
107 m_requestId = std::forward<RequestIdT>(value);
108 }
109 template <typename RequestIdT = Aws::String>
111 SetRequestId(std::forward<RequestIdT>(value));
112 return *this;
113 }
115 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
116
117 private:
118 EventType m_eventType{EventType::NOT_SET};
119
120 Aws::String m_destinationName;
121
122 Aws::Utils::DateTime m_createdAt{};
123
124 Aws::Utils::DateTime m_updatedAt{};
125
126 Aws::String m_requestId;
127 Aws::Http::HttpResponseCode m_HttpResponseCode;
128 bool m_eventTypeHasBeenSet = false;
129 bool m_destinationNameHasBeenSet = false;
130 bool m_createdAtHasBeenSet = false;
131 bool m_updatedAtHasBeenSet = false;
132 bool m_requestIdHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace IoTManagedIntegrations
137} // namespace Aws
GetNotificationConfigurationResult & WithDestinationName(DestinationNameT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API GetNotificationConfigurationResult()=default
AWS_IOTMANAGEDINTEGRATIONS_API GetNotificationConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTMANAGEDINTEGRATIONS_API GetNotificationConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue