AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetManagedNotificationEventResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/notifications/Notifications_EXPORTS.h>
10#include <aws/notifications/model/ManagedNotificationEvent.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Notifications {
24namespace Model {
26 public:
27 AWS_NOTIFICATIONS_API GetManagedNotificationEventResult() = default;
31
33
36 inline const Aws::String& GetArn() const { return m_arn; }
37 template <typename ArnT = Aws::String>
38 void SetArn(ArnT&& value) {
39 m_arnHasBeenSet = true;
40 m_arn = std::forward<ArnT>(value);
41 }
42 template <typename ArnT = Aws::String>
44 SetArn(std::forward<ArnT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetManagedNotificationConfigurationArn() const { return m_managedNotificationConfigurationArn; }
54 template <typename ManagedNotificationConfigurationArnT = Aws::String>
55 void SetManagedNotificationConfigurationArn(ManagedNotificationConfigurationArnT&& value) {
56 m_managedNotificationConfigurationArnHasBeenSet = true;
57 m_managedNotificationConfigurationArn = std::forward<ManagedNotificationConfigurationArnT>(value);
58 }
59 template <typename ManagedNotificationConfigurationArnT = Aws::String>
60 GetManagedNotificationEventResult& WithManagedNotificationConfigurationArn(ManagedNotificationConfigurationArnT&& value) {
61 SetManagedNotificationConfigurationArn(std::forward<ManagedNotificationConfigurationArnT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
71 template <typename CreationTimeT = Aws::Utils::DateTime>
72 void SetCreationTime(CreationTimeT&& value) {
73 m_creationTimeHasBeenSet = true;
74 m_creationTime = std::forward<CreationTimeT>(value);
75 }
76 template <typename CreationTimeT = Aws::Utils::DateTime>
78 SetCreationTime(std::forward<CreationTimeT>(value));
79 return *this;
80 }
82
84
87 inline const ManagedNotificationEvent& GetContent() const { return m_content; }
88 template <typename ContentT = ManagedNotificationEvent>
89 void SetContent(ContentT&& value) {
90 m_contentHasBeenSet = true;
91 m_content = std::forward<ContentT>(value);
92 }
93 template <typename ContentT = ManagedNotificationEvent>
95 SetContent(std::forward<ContentT>(value));
96 return *this;
97 }
99
101
102 inline const Aws::String& GetRequestId() const { return m_requestId; }
103 template <typename RequestIdT = Aws::String>
104 void SetRequestId(RequestIdT&& value) {
105 m_requestIdHasBeenSet = true;
106 m_requestId = std::forward<RequestIdT>(value);
107 }
108 template <typename RequestIdT = Aws::String>
110 SetRequestId(std::forward<RequestIdT>(value));
111 return *this;
112 }
114 private:
115 Aws::String m_arn;
116
117 Aws::String m_managedNotificationConfigurationArn;
118
119 Aws::Utils::DateTime m_creationTime{};
120
121 ManagedNotificationEvent m_content;
122
123 Aws::String m_requestId;
124 bool m_arnHasBeenSet = false;
125 bool m_managedNotificationConfigurationArnHasBeenSet = false;
126 bool m_creationTimeHasBeenSet = false;
127 bool m_contentHasBeenSet = false;
128 bool m_requestIdHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace Notifications
133} // 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