AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ManagedSourceEventMetadataSummary.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
33 {
34 public:
35 AWS_NOTIFICATIONS_API ManagedSourceEventMetadataSummary() = default;
38 AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetEventOriginRegion() const { return m_eventOriginRegion; }
46 inline bool EventOriginRegionHasBeenSet() const { return m_eventOriginRegionHasBeenSet; }
47 template<typename EventOriginRegionT = Aws::String>
48 void SetEventOriginRegion(EventOriginRegionT&& value) { m_eventOriginRegionHasBeenSet = true; m_eventOriginRegion = std::forward<EventOriginRegionT>(value); }
49 template<typename EventOriginRegionT = Aws::String>
50 ManagedSourceEventMetadataSummary& WithEventOriginRegion(EventOriginRegionT&& value) { SetEventOriginRegion(std::forward<EventOriginRegionT>(value)); return *this;}
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) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
67 template<typename SourceT = Aws::String>
68 ManagedSourceEventMetadataSummary& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
70
72
75 inline const Aws::String& GetEventType() const { return m_eventType; }
76 inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
77 template<typename EventTypeT = Aws::String>
78 void SetEventType(EventTypeT&& value) { m_eventTypeHasBeenSet = true; m_eventType = std::forward<EventTypeT>(value); }
79 template<typename EventTypeT = Aws::String>
80 ManagedSourceEventMetadataSummary& WithEventType(EventTypeT&& value) { SetEventType(std::forward<EventTypeT>(value)); return *this;}
82 private:
83
84 Aws::String m_eventOriginRegion;
85 bool m_eventOriginRegionHasBeenSet = false;
86
87 Aws::String m_source;
88 bool m_sourceHasBeenSet = false;
89
90 Aws::String m_eventType;
91 bool m_eventTypeHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Notifications
96} // 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