AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetActionLink(const Aws::String& value) { m_actionLinkHasBeenSet = true; m_actionLink = value; }
53 inline void SetActionLink(Aws::String&& value) { m_actionLinkHasBeenSet = true; m_actionLink = std::move(value); }
54 inline void SetActionLink(const char* value) { m_actionLinkHasBeenSet = true; m_actionLink.assign(value); }
55 inline NotificationOutput& WithActionLink(const Aws::String& value) { SetActionLink(value); return *this;}
56 inline NotificationOutput& WithActionLink(Aws::String&& value) { SetActionLink(std::move(value)); return *this;}
57 inline NotificationOutput& WithActionLink(const char* value) { SetActionLink(value); return *this;}
59
61
64 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
65 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
66 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
67 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
69 inline NotificationOutput& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;}
71
73
77 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
78 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
79 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
80 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
81 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
82 inline NotificationOutput& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;}
83 inline NotificationOutput& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
84 inline NotificationOutput& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
86
88
91 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
92 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
93 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
94 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
95 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
96 inline NotificationOutput& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
97 inline NotificationOutput& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
98 inline NotificationOutput& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; }
106 inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; }
107 inline void SetLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = value; }
108 inline void SetLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::move(value); }
112
114
117 inline const Aws::String& GetMessage() const{ return m_message; }
118 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
119 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
120 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
121 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
122 inline NotificationOutput& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
123 inline NotificationOutput& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
124 inline NotificationOutput& WithMessage(const char* value) { SetMessage(value); return *this;}
126
128
131 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const{ return m_metadata; }
132 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
133 inline void SetMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_metadataHasBeenSet = true; m_metadata = value; }
134 inline void SetMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
136 inline NotificationOutput& WithMetadata(Aws::Map<Aws::String, Aws::String>&& value) { SetMetadata(std::move(value)); return *this;}
137 inline NotificationOutput& AddMetadata(const Aws::String& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
138 inline NotificationOutput& AddMetadata(Aws::String&& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
139 inline NotificationOutput& AddMetadata(const Aws::String& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
140 inline NotificationOutput& AddMetadata(Aws::String&& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), std::move(value)); return *this; }
141 inline NotificationOutput& AddMetadata(const char* key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
142 inline NotificationOutput& AddMetadata(Aws::String&& key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
143 inline NotificationOutput& AddMetadata(const char* key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
145
147
150 inline const TaskStatus& GetStatus() const{ return m_status; }
151 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
152 inline void SetStatus(const TaskStatus& value) { m_statusHasBeenSet = true; m_status = value; }
153 inline void SetStatus(TaskStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
154 inline NotificationOutput& WithStatus(const TaskStatus& value) { SetStatus(value); return *this;}
155 inline NotificationOutput& WithStatus(TaskStatus&& value) { SetStatus(std::move(value)); return *this;}
157
159
162 inline const Aws::String& GetTitle() const{ return m_title; }
163 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
164 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
165 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
166 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
167 inline NotificationOutput& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
168 inline NotificationOutput& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
169 inline NotificationOutput& WithTitle(const char* value) { SetTitle(value); return *this;}
171
173
176 inline const Topic& GetTopic() const{ return m_topic; }
177 inline bool TopicHasBeenSet() const { return m_topicHasBeenSet; }
178 inline void SetTopic(const Topic& value) { m_topicHasBeenSet = true; m_topic = value; }
179 inline void SetTopic(Topic&& value) { m_topicHasBeenSet = true; m_topic = std::move(value); }
180 inline NotificationOutput& WithTopic(const Topic& value) { SetTopic(value); return *this;}
181 inline NotificationOutput& WithTopic(Topic&& value) { SetTopic(std::move(value)); return *this;}
183
185
188 inline const NotificationType& GetType() const{ return m_type; }
189 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
190 inline void SetType(const NotificationType& value) { m_typeHasBeenSet = true; m_type = value; }
191 inline void SetType(NotificationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
192 inline NotificationOutput& WithType(const NotificationType& value) { SetType(value); return *this;}
193 inline NotificationOutput& WithType(NotificationType&& value) { SetType(std::move(value)); return *this;}
195 private:
196
197 Aws::String m_actionLink;
198 bool m_actionLinkHasBeenSet = false;
199
200 Aws::Utils::DateTime m_creationTimestamp;
201 bool m_creationTimestampHasBeenSet = false;
202
203 Aws::String m_domainIdentifier;
204 bool m_domainIdentifierHasBeenSet = false;
205
206 Aws::String m_identifier;
207 bool m_identifierHasBeenSet = false;
208
209 Aws::Utils::DateTime m_lastUpdatedTimestamp;
210 bool m_lastUpdatedTimestampHasBeenSet = false;
211
212 Aws::String m_message;
213 bool m_messageHasBeenSet = false;
214
216 bool m_metadataHasBeenSet = false;
217
218 TaskStatus m_status;
219 bool m_statusHasBeenSet = false;
220
221 Aws::String m_title;
222 bool m_titleHasBeenSet = false;
223
224 Topic m_topic;
225 bool m_topicHasBeenSet = false;
226
227 NotificationType m_type;
228 bool m_typeHasBeenSet = false;
229 };
230
231} // namespace Model
232} // namespace DataZone
233} // namespace Aws
void SetIdentifier(const Aws::String &value)
AWS_DATAZONE_API NotificationOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
NotificationOutput & WithActionLink(const Aws::String &value)
NotificationOutput & WithStatus(const TaskStatus &value)
const Aws::String & GetActionLink() const
void SetDomainIdentifier(Aws::String &&value)
NotificationOutput & WithMessage(const char *value)
NotificationOutput & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
NotificationOutput & WithTopic(Topic &&value)
void SetActionLink(const Aws::String &value)
void SetLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
NotificationOutput & WithMessage(const Aws::String &value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
const Aws::String & GetIdentifier() const
void SetType(const NotificationType &value)
NotificationOutput & AddMetadata(const Aws::String &key, const Aws::String &value)
NotificationOutput & WithTitle(const char *value)
NotificationOutput & WithType(const NotificationType &value)
NotificationOutput & AddMetadata(const char *key, Aws::String &&value)
NotificationOutput & AddMetadata(const char *key, const char *value)
void SetType(NotificationType &&value)
NotificationOutput & AddMetadata(Aws::String &&key, const Aws::String &value)
NotificationOutput & WithDomainIdentifier(const char *value)
void SetTitle(const Aws::String &value)
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
NotificationOutput & WithIdentifier(const char *value)
NotificationOutput & WithActionLink(const char *value)
void SetStatus(const TaskStatus &value)
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
NotificationOutput & AddMetadata(const Aws::String &key, Aws::String &&value)
void SetLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
void SetMessage(const Aws::String &value)
NotificationOutput & WithIdentifier(const Aws::String &value)
NotificationOutput & WithTopic(const Topic &value)
NotificationOutput & WithCreationTimestamp(Aws::Utils::DateTime &&value)
NotificationOutput & WithLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
NotificationOutput & WithLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
NotificationOutput & WithTitle(Aws::String &&value)
NotificationOutput & WithTitle(const Aws::String &value)
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
NotificationOutput & WithType(NotificationType &&value)
NotificationOutput & WithActionLink(Aws::String &&value)
NotificationOutput & AddMetadata(Aws::String &&key, const char *value)
NotificationOutput & AddMetadata(Aws::String &&key, Aws::String &&value)
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
NotificationOutput & WithDomainIdentifier(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
NotificationOutput & WithIdentifier(Aws::String &&value)
void SetDomainIdentifier(const Aws::String &value)
AWS_DATAZONE_API NotificationOutput(Aws::Utils::Json::JsonView jsonValue)
NotificationOutput & WithMessage(Aws::String &&value)
NotificationOutput & WithDomainIdentifier(Aws::String &&value)
NotificationOutput & WithStatus(TaskStatus &&value)
NotificationOutput & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
const NotificationType & GetType() const
const Aws::String & GetDomainIdentifier() const
NotificationOutput & WithCreationTimestamp(const Aws::Utils::DateTime &value)
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