AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SourceEventMetadataSummary.h
1
6#pragma once
7#include <aws/notifications/Notifications_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Notifications
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_NOTIFICATIONS_API SourceEventMetadataSummary() = default;
39 AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetEventOriginRegion() const { return m_eventOriginRegion; }
48 inline bool EventOriginRegionHasBeenSet() const { return m_eventOriginRegionHasBeenSet; }
49 template<typename EventOriginRegionT = Aws::String>
50 void SetEventOriginRegion(EventOriginRegionT&& value) { m_eventOriginRegionHasBeenSet = true; m_eventOriginRegion = std::forward<EventOriginRegionT>(value); }
51 template<typename EventOriginRegionT = Aws::String>
52 SourceEventMetadataSummary& WithEventOriginRegion(EventOriginRegionT&& value) { SetEventOriginRegion(std::forward<EventOriginRegionT>(value)); return *this;}
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) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
69 template<typename SourceT = Aws::String>
70 SourceEventMetadataSummary& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
72
74
82 inline const Aws::String& GetEventType() const { return m_eventType; }
83 inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
84 template<typename EventTypeT = Aws::String>
85 void SetEventType(EventTypeT&& value) { m_eventTypeHasBeenSet = true; m_eventType = std::forward<EventTypeT>(value); }
86 template<typename EventTypeT = Aws::String>
87 SourceEventMetadataSummary& WithEventType(EventTypeT&& value) { SetEventType(std::forward<EventTypeT>(value)); return *this;}
89 private:
90
91 Aws::String m_eventOriginRegion;
92 bool m_eventOriginRegionHasBeenSet = false;
93
94 Aws::String m_source;
95 bool m_sourceHasBeenSet = false;
96
97 Aws::String m_eventType;
98 bool m_eventTypeHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Notifications
103} // 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