AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
SourceEventMetadataSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/notifications/Notifications_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Notifications {
20namespace Model {
21
30 public:
31 AWS_NOTIFICATIONS_API SourceEventMetadataSummary() = default;
34 AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetEventOriginRegion() const { return m_eventOriginRegion; }
42 inline bool EventOriginRegionHasBeenSet() const { return m_eventOriginRegionHasBeenSet; }
43 template <typename EventOriginRegionT = Aws::String>
44 void SetEventOriginRegion(EventOriginRegionT&& value) {
45 m_eventOriginRegionHasBeenSet = true;
46 m_eventOriginRegion = std::forward<EventOriginRegionT>(value);
47 }
48 template <typename EventOriginRegionT = Aws::String>
50 SetEventOriginRegion(std::forward<EventOriginRegionT>(value));
51 return *this;
52 }
54
56
65 inline const Aws::String& GetSource() const { return m_source; }
66 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
67 template <typename SourceT = Aws::String>
68 void SetSource(SourceT&& value) {
69 m_sourceHasBeenSet = true;
70 m_source = std::forward<SourceT>(value);
71 }
72 template <typename SourceT = Aws::String>
74 SetSource(std::forward<SourceT>(value));
75 return *this;
76 }
78
80
88 inline const Aws::String& GetEventType() const { return m_eventType; }
89 inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
90 template <typename EventTypeT = Aws::String>
91 void SetEventType(EventTypeT&& value) {
92 m_eventTypeHasBeenSet = true;
93 m_eventType = std::forward<EventTypeT>(value);
94 }
95 template <typename EventTypeT = Aws::String>
97 SetEventType(std::forward<EventTypeT>(value));
98 return *this;
99 }
101 private:
102 Aws::String m_eventOriginRegion;
103
104 Aws::String m_source;
105
106 Aws::String m_eventType;
107 bool m_eventOriginRegionHasBeenSet = false;
108 bool m_sourceHasBeenSet = false;
109 bool m_eventTypeHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace Notifications
114} // namespace Aws
AWS_NOTIFICATIONS_API SourceEventMetadataSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NOTIFICATIONS_API SourceEventMetadataSummary()=default
SourceEventMetadataSummary & WithEventType(EventTypeT &&value)
AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NOTIFICATIONS_API SourceEventMetadataSummary(Aws::Utils::Json::JsonView jsonValue)
SourceEventMetadataSummary & WithSource(SourceT &&value)
SourceEventMetadataSummary & WithEventOriginRegion(EventOriginRegionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue