AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ManagedNotificationChildEventOverview.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/ManagedNotificationChildEventSummary.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Notifications {
22namespace Model {
23
31 public:
32 AWS_NOTIFICATIONS_API ManagedNotificationChildEventOverview() = default;
35 AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetArn() const { return m_arn; }
43 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
44 template <typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) {
46 m_arnHasBeenSet = true;
47 m_arn = std::forward<ArnT>(value);
48 }
49 template <typename ArnT = Aws::String>
51 SetArn(std::forward<ArnT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetManagedNotificationConfigurationArn() const { return m_managedNotificationConfigurationArn; }
62 inline bool ManagedNotificationConfigurationArnHasBeenSet() const { return m_managedNotificationConfigurationArnHasBeenSet; }
63 template <typename ManagedNotificationConfigurationArnT = Aws::String>
64 void SetManagedNotificationConfigurationArn(ManagedNotificationConfigurationArnT&& value) {
65 m_managedNotificationConfigurationArnHasBeenSet = true;
66 m_managedNotificationConfigurationArn = std::forward<ManagedNotificationConfigurationArnT>(value);
67 }
68 template <typename ManagedNotificationConfigurationArnT = Aws::String>
70 SetManagedNotificationConfigurationArn(std::forward<ManagedNotificationConfigurationArnT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetRelatedAccount() const { return m_relatedAccount; }
81 inline bool RelatedAccountHasBeenSet() const { return m_relatedAccountHasBeenSet; }
82 template <typename RelatedAccountT = Aws::String>
83 void SetRelatedAccount(RelatedAccountT&& value) {
84 m_relatedAccountHasBeenSet = true;
85 m_relatedAccount = std::forward<RelatedAccountT>(value);
86 }
87 template <typename RelatedAccountT = Aws::String>
89 SetRelatedAccount(std::forward<RelatedAccountT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
99 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
100 template <typename CreationTimeT = Aws::Utils::DateTime>
101 void SetCreationTime(CreationTimeT&& value) {
102 m_creationTimeHasBeenSet = true;
103 m_creationTime = std::forward<CreationTimeT>(value);
104 }
105 template <typename CreationTimeT = Aws::Utils::DateTime>
107 SetCreationTime(std::forward<CreationTimeT>(value));
108 return *this;
109 }
111
113
116 inline const ManagedNotificationChildEventSummary& GetChildEvent() const { return m_childEvent; }
117 inline bool ChildEventHasBeenSet() const { return m_childEventHasBeenSet; }
118 template <typename ChildEventT = ManagedNotificationChildEventSummary>
119 void SetChildEvent(ChildEventT&& value) {
120 m_childEventHasBeenSet = true;
121 m_childEvent = std::forward<ChildEventT>(value);
122 }
123 template <typename ChildEventT = ManagedNotificationChildEventSummary>
125 SetChildEvent(std::forward<ChildEventT>(value));
126 return *this;
127 }
129
131
135 inline const Aws::String& GetAggregateManagedNotificationEventArn() const { return m_aggregateManagedNotificationEventArn; }
136 inline bool AggregateManagedNotificationEventArnHasBeenSet() const { return m_aggregateManagedNotificationEventArnHasBeenSet; }
137 template <typename AggregateManagedNotificationEventArnT = Aws::String>
138 void SetAggregateManagedNotificationEventArn(AggregateManagedNotificationEventArnT&& value) {
139 m_aggregateManagedNotificationEventArnHasBeenSet = true;
140 m_aggregateManagedNotificationEventArn = std::forward<AggregateManagedNotificationEventArnT>(value);
141 }
142 template <typename AggregateManagedNotificationEventArnT = Aws::String>
144 SetAggregateManagedNotificationEventArn(std::forward<AggregateManagedNotificationEventArnT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::String& GetOrganizationalUnitId() const { return m_organizationalUnitId; }
154 inline bool OrganizationalUnitIdHasBeenSet() const { return m_organizationalUnitIdHasBeenSet; }
155 template <typename OrganizationalUnitIdT = Aws::String>
156 void SetOrganizationalUnitId(OrganizationalUnitIdT&& value) {
157 m_organizationalUnitIdHasBeenSet = true;
158 m_organizationalUnitId = std::forward<OrganizationalUnitIdT>(value);
159 }
160 template <typename OrganizationalUnitIdT = Aws::String>
162 SetOrganizationalUnitId(std::forward<OrganizationalUnitIdT>(value));
163 return *this;
164 }
166 private:
167 Aws::String m_arn;
168
169 Aws::String m_managedNotificationConfigurationArn;
170
171 Aws::String m_relatedAccount;
172
173 Aws::Utils::DateTime m_creationTime{};
174
175 ManagedNotificationChildEventSummary m_childEvent;
176
177 Aws::String m_aggregateManagedNotificationEventArn;
178
179 Aws::String m_organizationalUnitId;
180 bool m_arnHasBeenSet = false;
181 bool m_managedNotificationConfigurationArnHasBeenSet = false;
182 bool m_relatedAccountHasBeenSet = false;
183 bool m_creationTimeHasBeenSet = false;
184 bool m_childEventHasBeenSet = false;
185 bool m_aggregateManagedNotificationEventArnHasBeenSet = false;
186 bool m_organizationalUnitIdHasBeenSet = false;
187};
188
189} // namespace Model
190} // namespace Notifications
191} // namespace Aws
AWS_NOTIFICATIONS_API ManagedNotificationChildEventOverview()=default
AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
ManagedNotificationChildEventOverview & WithChildEvent(ChildEventT &&value)
void SetManagedNotificationConfigurationArn(ManagedNotificationConfigurationArnT &&value)
ManagedNotificationChildEventOverview & WithManagedNotificationConfigurationArn(ManagedNotificationConfigurationArnT &&value)
ManagedNotificationChildEventOverview & WithAggregateManagedNotificationEventArn(AggregateManagedNotificationEventArnT &&value)
AWS_NOTIFICATIONS_API ManagedNotificationChildEventOverview & operator=(Aws::Utils::Json::JsonView jsonValue)
ManagedNotificationChildEventOverview & WithOrganizationalUnitId(OrganizationalUnitIdT &&value)
ManagedNotificationChildEventOverview & WithRelatedAccount(RelatedAccountT &&value)
ManagedNotificationChildEventOverview & WithCreationTime(CreationTimeT &&value)
AWS_NOTIFICATIONS_API ManagedNotificationChildEventOverview(Aws::Utils::Json::JsonView jsonValue)
void SetAggregateManagedNotificationEventArn(AggregateManagedNotificationEventArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue