AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetManagedNotificationChildEventResult.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/ManagedNotificationChildEvent.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 GetManagedNotificationChildEventResult() = 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 GetManagedNotificationChildEventResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
47
49
54 inline const Aws::String& GetManagedNotificationConfigurationArn() const { return m_managedNotificationConfigurationArn; }
55 template<typename ManagedNotificationConfigurationArnT = Aws::String>
56 void SetManagedNotificationConfigurationArn(ManagedNotificationConfigurationArnT&& value) { m_managedNotificationConfigurationArnHasBeenSet = true; m_managedNotificationConfigurationArn = std::forward<ManagedNotificationConfigurationArnT>(value); }
57 template<typename ManagedNotificationConfigurationArnT = Aws::String>
58 GetManagedNotificationChildEventResult& WithManagedNotificationConfigurationArn(ManagedNotificationConfigurationArnT&& value) { SetManagedNotificationConfigurationArn(std::forward<ManagedNotificationConfigurationArnT>(value)); return *this;}
60
62
65 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
66 template<typename CreationTimeT = Aws::Utils::DateTime>
67 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
68 template<typename CreationTimeT = Aws::Utils::DateTime>
69 GetManagedNotificationChildEventResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
71
73
76 inline const ManagedNotificationChildEvent& GetContent() const { return m_content; }
77 template<typename ContentT = ManagedNotificationChildEvent>
78 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
79 template<typename ContentT = ManagedNotificationChildEvent>
80 GetManagedNotificationChildEventResult& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template<typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
88 template<typename RequestIdT = Aws::String>
89 GetManagedNotificationChildEventResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
91 private:
92
93 Aws::String m_arn;
94 bool m_arnHasBeenSet = false;
95
96 Aws::String m_managedNotificationConfigurationArn;
97 bool m_managedNotificationConfigurationArnHasBeenSet = false;
98
99 Aws::Utils::DateTime m_creationTime{};
100 bool m_creationTimeHasBeenSet = false;
101
102 ManagedNotificationChildEvent m_content;
103 bool m_contentHasBeenSet = false;
104
105 Aws::String m_requestId;
106 bool m_requestIdHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Notifications
111} // namespace Aws
GetManagedNotificationChildEventResult & WithRequestId(RequestIdT &&value)
AWS_NOTIFICATIONS_API GetManagedNotificationChildEventResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_NOTIFICATIONS_API GetManagedNotificationChildEventResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetManagedNotificationChildEventResult & WithContent(ContentT &&value)
void SetManagedNotificationConfigurationArn(ManagedNotificationConfigurationArnT &&value)
AWS_NOTIFICATIONS_API GetManagedNotificationChildEventResult()=default
GetManagedNotificationChildEventResult & WithManagedNotificationConfigurationArn(ManagedNotificationConfigurationArnT &&value)
GetManagedNotificationChildEventResult & WithCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue