AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
NotificationOutput.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/datazone/model/TaskStatus.h>
12#include <aws/datazone/model/Topic.h>
13#include <aws/datazone/model/NotificationType.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace DataZone
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_DATAZONE_API NotificationOutput() = default;
43 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetActionLink() const { return m_actionLink; }
51 inline bool ActionLinkHasBeenSet() const { return m_actionLinkHasBeenSet; }
52 template<typename ActionLinkT = Aws::String>
53 void SetActionLink(ActionLinkT&& value) { m_actionLinkHasBeenSet = true; m_actionLink = std::forward<ActionLinkT>(value); }
54 template<typename ActionLinkT = Aws::String>
55 NotificationOutput& WithActionLink(ActionLinkT&& value) { SetActionLink(std::forward<ActionLinkT>(value)); return *this;}
57
59
62 inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; }
63 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
64 template<typename CreationTimestampT = Aws::Utils::DateTime>
65 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
66 template<typename CreationTimestampT = Aws::Utils::DateTime>
67 NotificationOutput& WithCreationTimestamp(CreationTimestampT&& value) { SetCreationTimestamp(std::forward<CreationTimestampT>(value)); return *this;}
69
71
75 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
76 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
77 template<typename DomainIdentifierT = Aws::String>
78 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
79 template<typename DomainIdentifierT = Aws::String>
80 NotificationOutput& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
82
84
87 inline const Aws::String& GetIdentifier() const { return m_identifier; }
88 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
89 template<typename IdentifierT = Aws::String>
90 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
91 template<typename IdentifierT = Aws::String>
92 NotificationOutput& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
94
96
99 inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const { return m_lastUpdatedTimestamp; }
100 inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; }
101 template<typename LastUpdatedTimestampT = Aws::Utils::DateTime>
102 void SetLastUpdatedTimestamp(LastUpdatedTimestampT&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value); }
103 template<typename LastUpdatedTimestampT = Aws::Utils::DateTime>
104 NotificationOutput& WithLastUpdatedTimestamp(LastUpdatedTimestampT&& value) { SetLastUpdatedTimestamp(std::forward<LastUpdatedTimestampT>(value)); return *this;}
106
108
111 inline const Aws::String& GetMessage() const { return m_message; }
112 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
113 template<typename MessageT = Aws::String>
114 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
115 template<typename MessageT = Aws::String>
116 NotificationOutput& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
118
120
123 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const { return m_metadata; }
124 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
125 template<typename MetadataT = Aws::Map<Aws::String, Aws::String>>
126 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet = true; m_metadata = std::forward<MetadataT>(value); }
127 template<typename MetadataT = Aws::Map<Aws::String, Aws::String>>
128 NotificationOutput& WithMetadata(MetadataT&& value) { SetMetadata(std::forward<MetadataT>(value)); return *this;}
129 template<typename MetadataKeyT = Aws::String, typename MetadataValueT = Aws::String>
130 NotificationOutput& AddMetadata(MetadataKeyT&& key, MetadataValueT&& value) {
131 m_metadataHasBeenSet = true; m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value)); return *this;
132 }
134
136
139 inline TaskStatus GetStatus() const { return m_status; }
140 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
141 inline void SetStatus(TaskStatus value) { m_statusHasBeenSet = true; m_status = value; }
142 inline NotificationOutput& WithStatus(TaskStatus value) { SetStatus(value); return *this;}
144
146
149 inline const Aws::String& GetTitle() const { return m_title; }
150 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
151 template<typename TitleT = Aws::String>
152 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
153 template<typename TitleT = Aws::String>
154 NotificationOutput& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
156
158
161 inline const Topic& GetTopic() const { return m_topic; }
162 inline bool TopicHasBeenSet() const { return m_topicHasBeenSet; }
163 template<typename TopicT = Topic>
164 void SetTopic(TopicT&& value) { m_topicHasBeenSet = true; m_topic = std::forward<TopicT>(value); }
165 template<typename TopicT = Topic>
166 NotificationOutput& WithTopic(TopicT&& value) { SetTopic(std::forward<TopicT>(value)); return *this;}
168
170
173 inline NotificationType GetType() const { return m_type; }
174 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
175 inline void SetType(NotificationType value) { m_typeHasBeenSet = true; m_type = value; }
176 inline NotificationOutput& WithType(NotificationType value) { SetType(value); return *this;}
178 private:
179
180 Aws::String m_actionLink;
181 bool m_actionLinkHasBeenSet = false;
182
183 Aws::Utils::DateTime m_creationTimestamp{};
184 bool m_creationTimestampHasBeenSet = false;
185
186 Aws::String m_domainIdentifier;
187 bool m_domainIdentifierHasBeenSet = false;
188
189 Aws::String m_identifier;
190 bool m_identifierHasBeenSet = false;
191
192 Aws::Utils::DateTime m_lastUpdatedTimestamp{};
193 bool m_lastUpdatedTimestampHasBeenSet = false;
194
195 Aws::String m_message;
196 bool m_messageHasBeenSet = false;
197
199 bool m_metadataHasBeenSet = false;
200
202 bool m_statusHasBeenSet = false;
203
204 Aws::String m_title;
205 bool m_titleHasBeenSet = false;
206
207 Topic m_topic;
208 bool m_topicHasBeenSet = false;
209
211 bool m_typeHasBeenSet = false;
212 };
213
214} // namespace Model
215} // namespace DataZone
216} // namespace Aws
AWS_DATAZONE_API NotificationOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
NotificationOutput & WithDomainIdentifier(DomainIdentifierT &&value)
const Aws::String & GetActionLink() const
NotificationOutput & WithIdentifier(IdentifierT &&value)
void SetLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
NotificationOutput & WithTopic(TopicT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
NotificationOutput & WithLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
NotificationOutput & WithStatus(TaskStatus value)
const Aws::String & GetIdentifier() const
NotificationOutput & WithCreationTimestamp(CreationTimestampT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
AWS_DATAZONE_API NotificationOutput()=default
NotificationOutput & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
void SetCreationTimestamp(CreationTimestampT &&value)
void SetDomainIdentifier(DomainIdentifierT &&value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
NotificationOutput & WithMessage(MessageT &&value)
NotificationOutput & WithActionLink(ActionLinkT &&value)
AWS_DATAZONE_API NotificationOutput(Aws::Utils::Json::JsonView jsonValue)
NotificationOutput & WithTitle(TitleT &&value)
NotificationOutput & WithMetadata(MetadataT &&value)
NotificationOutput & WithType(NotificationType value)
const Aws::String & GetDomainIdentifier() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue