AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetNotificationEventResult.h
1
6#pragma once
7#include <aws/notifications/Notifications_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/notifications/model/NotificationEvent.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Notifications
26{
27namespace Model
28{
30 {
31 public:
32 AWS_NOTIFICATIONS_API GetNotificationEventResult() = default;
35
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 template<typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
44 template<typename ArnT = Aws::String>
45 GetNotificationEventResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
47
49
52 inline const Aws::String& GetNotificationConfigurationArn() const { return m_notificationConfigurationArn; }
53 template<typename NotificationConfigurationArnT = Aws::String>
54 void SetNotificationConfigurationArn(NotificationConfigurationArnT&& value) { m_notificationConfigurationArnHasBeenSet = true; m_notificationConfigurationArn = std::forward<NotificationConfigurationArnT>(value); }
55 template<typename NotificationConfigurationArnT = Aws::String>
56 GetNotificationEventResult& WithNotificationConfigurationArn(NotificationConfigurationArnT&& value) { SetNotificationConfigurationArn(std::forward<NotificationConfigurationArnT>(value)); return *this;}
58
60
63 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
64 template<typename CreationTimeT = Aws::Utils::DateTime>
65 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
66 template<typename CreationTimeT = Aws::Utils::DateTime>
67 GetNotificationEventResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
69
71
74 inline const NotificationEvent& GetContent() const { return m_content; }
75 template<typename ContentT = NotificationEvent>
76 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
77 template<typename ContentT = NotificationEvent>
78 GetNotificationEventResult& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template<typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
86 template<typename RequestIdT = Aws::String>
87 GetNotificationEventResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
89 private:
90
91 Aws::String m_arn;
92 bool m_arnHasBeenSet = false;
93
94 Aws::String m_notificationConfigurationArn;
95 bool m_notificationConfigurationArnHasBeenSet = false;
96
97 Aws::Utils::DateTime m_creationTime{};
98 bool m_creationTimeHasBeenSet = false;
99
100 NotificationEvent m_content;
101 bool m_contentHasBeenSet = false;
102
103 Aws::String m_requestId;
104 bool m_requestIdHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Notifications
109} // namespace Aws
AWS_NOTIFICATIONS_API GetNotificationEventResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetNotificationEventResult & WithContent(ContentT &&value)
AWS_NOTIFICATIONS_API GetNotificationEventResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_NOTIFICATIONS_API GetNotificationEventResult()=default
GetNotificationEventResult & WithRequestId(RequestIdT &&value)
GetNotificationEventResult & WithNotificationConfigurationArn(NotificationConfigurationArnT &&value)
GetNotificationEventResult & WithCreationTime(CreationTimeT &&value)
void SetNotificationConfigurationArn(NotificationConfigurationArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue