AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetManagedNotificationEventResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/notifications/Notifications_EXPORTS.h>
11#include <aws/notifications/model/ManagedNotificationEvent.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Notifications {
25namespace Model {
27 public:
28 AWS_NOTIFICATIONS_API GetManagedNotificationEventResult() = default;
32
34
37 inline const Aws::String& GetArn() const { return m_arn; }
38 template <typename ArnT = Aws::String>
39 void SetArn(ArnT&& value) {
40 m_arnHasBeenSet = true;
41 m_arn = std::forward<ArnT>(value);
42 }
43 template <typename ArnT = Aws::String>
45 SetArn(std::forward<ArnT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetManagedNotificationConfigurationArn() const { return m_managedNotificationConfigurationArn; }
55 template <typename ManagedNotificationConfigurationArnT = Aws::String>
56 void SetManagedNotificationConfigurationArn(ManagedNotificationConfigurationArnT&& value) {
57 m_managedNotificationConfigurationArnHasBeenSet = true;
58 m_managedNotificationConfigurationArn = std::forward<ManagedNotificationConfigurationArnT>(value);
59 }
60 template <typename ManagedNotificationConfigurationArnT = Aws::String>
61 GetManagedNotificationEventResult& WithManagedNotificationConfigurationArn(ManagedNotificationConfigurationArnT&& value) {
62 SetManagedNotificationConfigurationArn(std::forward<ManagedNotificationConfigurationArnT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
72 template <typename CreationTimeT = Aws::Utils::DateTime>
73 void SetCreationTime(CreationTimeT&& value) {
74 m_creationTimeHasBeenSet = true;
75 m_creationTime = std::forward<CreationTimeT>(value);
76 }
77 template <typename CreationTimeT = Aws::Utils::DateTime>
79 SetCreationTime(std::forward<CreationTimeT>(value));
80 return *this;
81 }
83
85
88 inline const ManagedNotificationEvent& GetContent() const { return m_content; }
89 template <typename ContentT = ManagedNotificationEvent>
90 void SetContent(ContentT&& value) {
91 m_contentHasBeenSet = true;
92 m_content = std::forward<ContentT>(value);
93 }
94 template <typename ContentT = ManagedNotificationEvent>
96 SetContent(std::forward<ContentT>(value));
97 return *this;
98 }
100
102
103 inline const Aws::String& GetRequestId() const { return m_requestId; }
104 template <typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) {
106 m_requestIdHasBeenSet = true;
107 m_requestId = std::forward<RequestIdT>(value);
108 }
109 template <typename RequestIdT = Aws::String>
111 SetRequestId(std::forward<RequestIdT>(value));
112 return *this;
113 }
115 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
116
117 private:
118 Aws::String m_arn;
119
120 Aws::String m_managedNotificationConfigurationArn;
121
122 Aws::Utils::DateTime m_creationTime{};
123
124 ManagedNotificationEvent m_content;
125
126 Aws::String m_requestId;
127 Aws::Http::HttpResponseCode m_HttpResponseCode;
128 bool m_arnHasBeenSet = false;
129 bool m_managedNotificationConfigurationArnHasBeenSet = false;
130 bool m_creationTimeHasBeenSet = false;
131 bool m_contentHasBeenSet = false;
132 bool m_requestIdHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace Notifications
137} // namespace Aws
void SetManagedNotificationConfigurationArn(ManagedNotificationConfigurationArnT &&value)
AWS_NOTIFICATIONS_API GetManagedNotificationEventResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetManagedNotificationEventResult & WithCreationTime(CreationTimeT &&value)
AWS_NOTIFICATIONS_API GetManagedNotificationEventResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetManagedNotificationEventResult & WithManagedNotificationConfigurationArn(ManagedNotificationConfigurationArnT &&value)
AWS_NOTIFICATIONS_API GetManagedNotificationEventResult()=default
GetManagedNotificationEventResult & WithContent(ContentT &&value)
GetManagedNotificationEventResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue