AWS SDK for C++

AWS SDK for C++ Version 1.11.711

Loading...
Searching...
No Matches
GetNotificationConfigurationResult.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/AggregationDuration.h>
11#include <aws/notifications/model/NotificationConfigurationStatus.h>
12#include <aws/notifications/model/NotificationConfigurationSubtype.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Notifications {
26namespace Model {
28 public:
29 AWS_NOTIFICATIONS_API GetNotificationConfigurationResult() = default;
33
35
38 inline const Aws::String& GetArn() const { return m_arn; }
39 template <typename ArnT = Aws::String>
40 void SetArn(ArnT&& value) {
41 m_arnHasBeenSet = true;
42 m_arn = std::forward<ArnT>(value);
43 }
44 template <typename ArnT = Aws::String>
46 SetArn(std::forward<ArnT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 template <typename NameT = Aws::String>
57 void SetName(NameT&& value) {
58 m_nameHasBeenSet = true;
59 m_name = std::forward<NameT>(value);
60 }
61 template <typename NameT = Aws::String>
63 SetName(std::forward<NameT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetDescription() const { return m_description; }
73 template <typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) {
75 m_descriptionHasBeenSet = true;
76 m_description = std::forward<DescriptionT>(value);
77 }
78 template <typename DescriptionT = Aws::String>
80 SetDescription(std::forward<DescriptionT>(value));
81 return *this;
82 }
84
86
89 inline NotificationConfigurationStatus GetStatus() const { return m_status; }
91 m_statusHasBeenSet = true;
92 m_status = value;
93 }
95 SetStatus(value);
96 return *this;
97 }
99
101
104 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
105 template <typename CreationTimeT = Aws::Utils::DateTime>
106 void SetCreationTime(CreationTimeT&& value) {
107 m_creationTimeHasBeenSet = true;
108 m_creationTime = std::forward<CreationTimeT>(value);
109 }
110 template <typename CreationTimeT = Aws::Utils::DateTime>
112 SetCreationTime(std::forward<CreationTimeT>(value));
113 return *this;
114 }
116
118
127 inline AggregationDuration GetAggregationDuration() const { return m_aggregationDuration; }
129 m_aggregationDurationHasBeenSet = true;
130 m_aggregationDuration = value;
131 }
134 return *this;
135 }
137
139
142 inline NotificationConfigurationSubtype GetSubtype() const { return m_subtype; }
144 m_subtypeHasBeenSet = true;
145 m_subtype = value;
146 }
148 SetSubtype(value);
149 return *this;
150 }
152
154
155 inline const Aws::String& GetRequestId() const { return m_requestId; }
156 template <typename RequestIdT = Aws::String>
157 void SetRequestId(RequestIdT&& value) {
158 m_requestIdHasBeenSet = true;
159 m_requestId = std::forward<RequestIdT>(value);
160 }
161 template <typename RequestIdT = Aws::String>
163 SetRequestId(std::forward<RequestIdT>(value));
164 return *this;
165 }
167 private:
168 Aws::String m_arn;
169
170 Aws::String m_name;
171
172 Aws::String m_description;
173
175
176 Aws::Utils::DateTime m_creationTime{};
177
179
181
182 Aws::String m_requestId;
183 bool m_arnHasBeenSet = false;
184 bool m_nameHasBeenSet = false;
185 bool m_descriptionHasBeenSet = false;
186 bool m_statusHasBeenSet = false;
187 bool m_creationTimeHasBeenSet = false;
188 bool m_aggregationDurationHasBeenSet = false;
189 bool m_subtypeHasBeenSet = false;
190 bool m_requestIdHasBeenSet = false;
191};
192
193} // namespace Model
194} // namespace Notifications
195} // namespace Aws
GetNotificationConfigurationResult & WithStatus(NotificationConfigurationStatus value)
GetNotificationConfigurationResult & WithAggregationDuration(AggregationDuration value)
AWS_NOTIFICATIONS_API GetNotificationConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_NOTIFICATIONS_API GetNotificationConfigurationResult()=default
GetNotificationConfigurationResult & WithSubtype(NotificationConfigurationSubtype value)
GetNotificationConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_NOTIFICATIONS_API GetNotificationConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetNotificationConfigurationResult & WithDescription(DescriptionT &&value)
GetNotificationConfigurationResult & WithCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue