AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ManagedSourceEventMetadataSummary.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
29 public:
30 AWS_NOTIFICATIONS_API ManagedSourceEventMetadataSummary() = default;
33 AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetEventOriginRegion() const { return m_eventOriginRegion; }
40 inline bool EventOriginRegionHasBeenSet() const { return m_eventOriginRegionHasBeenSet; }
41 template <typename EventOriginRegionT = Aws::String>
42 void SetEventOriginRegion(EventOriginRegionT&& value) {
43 m_eventOriginRegionHasBeenSet = true;
44 m_eventOriginRegion = std::forward<EventOriginRegionT>(value);
45 }
46 template <typename EventOriginRegionT = Aws::String>
48 SetEventOriginRegion(std::forward<EventOriginRegionT>(value));
49 return *this;
50 }
52
54
63 inline const Aws::String& GetSource() const { return m_source; }
64 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
65 template <typename SourceT = Aws::String>
66 void SetSource(SourceT&& value) {
67 m_sourceHasBeenSet = true;
68 m_source = std::forward<SourceT>(value);
69 }
70 template <typename SourceT = Aws::String>
72 SetSource(std::forward<SourceT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetEventType() const { return m_eventType; }
82 inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
83 template <typename EventTypeT = Aws::String>
84 void SetEventType(EventTypeT&& value) {
85 m_eventTypeHasBeenSet = true;
86 m_eventType = std::forward<EventTypeT>(value);
87 }
88 template <typename EventTypeT = Aws::String>
90 SetEventType(std::forward<EventTypeT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_eventOriginRegion;
96
97 Aws::String m_source;
98
99 Aws::String m_eventType;
100 bool m_eventOriginRegionHasBeenSet = false;
101 bool m_sourceHasBeenSet = false;
102 bool m_eventTypeHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace Notifications
107} // namespace Aws
AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
ManagedSourceEventMetadataSummary & WithEventOriginRegion(EventOriginRegionT &&value)
ManagedSourceEventMetadataSummary & WithEventType(EventTypeT &&value)
AWS_NOTIFICATIONS_API ManagedSourceEventMetadataSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_NOTIFICATIONS_API ManagedSourceEventMetadataSummary()=default
ManagedSourceEventMetadataSummary & WithSource(SourceT &&value)
AWS_NOTIFICATIONS_API ManagedSourceEventMetadataSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue