AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ManagedNotificationChildEventOverview.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/ManagedNotificationChildEventSummary.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Notifications
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_NOTIFICATIONS_API ManagedNotificationChildEventOverview() = default;
40 AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetArn() const { return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 template<typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
52 template<typename ArnT = Aws::String>
53 ManagedNotificationChildEventOverview& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_managedNotificationConfigurationArnHasBeenSet = true; m_managedNotificationConfigurationArn = std::forward<ManagedNotificationConfigurationArnT>(value); }
65 template<typename ManagedNotificationConfigurationArnT = Aws::String>
66 ManagedNotificationChildEventOverview& WithManagedNotificationConfigurationArn(ManagedNotificationConfigurationArnT&& value) { SetManagedNotificationConfigurationArn(std::forward<ManagedNotificationConfigurationArnT>(value)); return *this;}
68
70
74 inline const Aws::String& GetRelatedAccount() const { return m_relatedAccount; }
75 inline bool RelatedAccountHasBeenSet() const { return m_relatedAccountHasBeenSet; }
76 template<typename RelatedAccountT = Aws::String>
77 void SetRelatedAccount(RelatedAccountT&& value) { m_relatedAccountHasBeenSet = true; m_relatedAccount = std::forward<RelatedAccountT>(value); }
78 template<typename RelatedAccountT = Aws::String>
79 ManagedNotificationChildEventOverview& WithRelatedAccount(RelatedAccountT&& value) { SetRelatedAccount(std::forward<RelatedAccountT>(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
87 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
88 template<typename CreationTimeT = Aws::Utils::DateTime>
89 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
90 template<typename CreationTimeT = Aws::Utils::DateTime>
91 ManagedNotificationChildEventOverview& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
93
95
98 inline const ManagedNotificationChildEventSummary& GetChildEvent() const { return m_childEvent; }
99 inline bool ChildEventHasBeenSet() const { return m_childEventHasBeenSet; }
100 template<typename ChildEventT = ManagedNotificationChildEventSummary>
101 void SetChildEvent(ChildEventT&& value) { m_childEventHasBeenSet = true; m_childEvent = std::forward<ChildEventT>(value); }
102 template<typename ChildEventT = ManagedNotificationChildEventSummary>
103 ManagedNotificationChildEventOverview& WithChildEvent(ChildEventT&& value) { SetChildEvent(std::forward<ChildEventT>(value)); return *this;}
105
107
111 inline const Aws::String& GetAggregateManagedNotificationEventArn() const { return m_aggregateManagedNotificationEventArn; }
112 inline bool AggregateManagedNotificationEventArnHasBeenSet() const { return m_aggregateManagedNotificationEventArnHasBeenSet; }
113 template<typename AggregateManagedNotificationEventArnT = Aws::String>
114 void SetAggregateManagedNotificationEventArn(AggregateManagedNotificationEventArnT&& value) { m_aggregateManagedNotificationEventArnHasBeenSet = true; m_aggregateManagedNotificationEventArn = std::forward<AggregateManagedNotificationEventArnT>(value); }
115 template<typename AggregateManagedNotificationEventArnT = Aws::String>
116 ManagedNotificationChildEventOverview& WithAggregateManagedNotificationEventArn(AggregateManagedNotificationEventArnT&& value) { SetAggregateManagedNotificationEventArn(std::forward<AggregateManagedNotificationEventArnT>(value)); return *this;}
118
120
123 inline const Aws::String& GetOrganizationalUnitId() const { return m_organizationalUnitId; }
124 inline bool OrganizationalUnitIdHasBeenSet() const { return m_organizationalUnitIdHasBeenSet; }
125 template<typename OrganizationalUnitIdT = Aws::String>
126 void SetOrganizationalUnitId(OrganizationalUnitIdT&& value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId = std::forward<OrganizationalUnitIdT>(value); }
127 template<typename OrganizationalUnitIdT = Aws::String>
128 ManagedNotificationChildEventOverview& WithOrganizationalUnitId(OrganizationalUnitIdT&& value) { SetOrganizationalUnitId(std::forward<OrganizationalUnitIdT>(value)); return *this;}
130 private:
131
132 Aws::String m_arn;
133 bool m_arnHasBeenSet = false;
134
135 Aws::String m_managedNotificationConfigurationArn;
136 bool m_managedNotificationConfigurationArnHasBeenSet = false;
137
138 Aws::String m_relatedAccount;
139 bool m_relatedAccountHasBeenSet = false;
140
141 Aws::Utils::DateTime m_creationTime{};
142 bool m_creationTimeHasBeenSet = false;
143
144 ManagedNotificationChildEventSummary m_childEvent;
145 bool m_childEventHasBeenSet = false;
146
147 Aws::String m_aggregateManagedNotificationEventArn;
148 bool m_aggregateManagedNotificationEventArnHasBeenSet = false;
149
150 Aws::String m_organizationalUnitId;
151 bool m_organizationalUnitIdHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace Notifications
156} // 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