AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetNotificationConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/notifications/Notifications_EXPORTS.h>
11#include <aws/notifications/model/AggregationDuration.h>
12#include <aws/notifications/model/NotificationConfigurationStatus.h>
13#include <aws/notifications/model/NotificationConfigurationSubtype.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Notifications {
27namespace Model {
29 public:
30 AWS_NOTIFICATIONS_API GetNotificationConfigurationResult() = default;
34
36
39 inline const Aws::String& GetArn() const { return m_arn; }
40 template <typename ArnT = Aws::String>
41 void SetArn(ArnT&& value) {
42 m_arnHasBeenSet = true;
43 m_arn = std::forward<ArnT>(value);
44 }
45 template <typename ArnT = Aws::String>
47 SetArn(std::forward<ArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetName() const { return m_name; }
57 template <typename NameT = Aws::String>
58 void SetName(NameT&& value) {
59 m_nameHasBeenSet = true;
60 m_name = std::forward<NameT>(value);
61 }
62 template <typename NameT = Aws::String>
64 SetName(std::forward<NameT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 template <typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) {
76 m_descriptionHasBeenSet = true;
77 m_description = std::forward<DescriptionT>(value);
78 }
79 template <typename DescriptionT = Aws::String>
81 SetDescription(std::forward<DescriptionT>(value));
82 return *this;
83 }
85
87
90 inline NotificationConfigurationStatus GetStatus() const { return m_status; }
92 m_statusHasBeenSet = true;
93 m_status = value;
94 }
96 SetStatus(value);
97 return *this;
98 }
100
102
105 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
106 template <typename CreationTimeT = Aws::Utils::DateTime>
107 void SetCreationTime(CreationTimeT&& value) {
108 m_creationTimeHasBeenSet = true;
109 m_creationTime = std::forward<CreationTimeT>(value);
110 }
111 template <typename CreationTimeT = Aws::Utils::DateTime>
113 SetCreationTime(std::forward<CreationTimeT>(value));
114 return *this;
115 }
117
119
128 inline AggregationDuration GetAggregationDuration() const { return m_aggregationDuration; }
130 m_aggregationDurationHasBeenSet = true;
131 m_aggregationDuration = value;
132 }
135 return *this;
136 }
138
140
143 inline NotificationConfigurationSubtype GetSubtype() const { return m_subtype; }
145 m_subtypeHasBeenSet = true;
146 m_subtype = value;
147 }
149 SetSubtype(value);
150 return *this;
151 }
153
155
156 inline const Aws::String& GetRequestId() const { return m_requestId; }
157 template <typename RequestIdT = Aws::String>
158 void SetRequestId(RequestIdT&& value) {
159 m_requestIdHasBeenSet = true;
160 m_requestId = std::forward<RequestIdT>(value);
161 }
162 template <typename RequestIdT = Aws::String>
164 SetRequestId(std::forward<RequestIdT>(value));
165 return *this;
166 }
168 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
169
170 private:
171 Aws::String m_arn;
172
173 Aws::String m_name;
174
175 Aws::String m_description;
176
178
179 Aws::Utils::DateTime m_creationTime{};
180
182
184
185 Aws::String m_requestId;
186 Aws::Http::HttpResponseCode m_HttpResponseCode;
187 bool m_arnHasBeenSet = false;
188 bool m_nameHasBeenSet = false;
189 bool m_descriptionHasBeenSet = false;
190 bool m_statusHasBeenSet = false;
191 bool m_creationTimeHasBeenSet = false;
192 bool m_aggregationDurationHasBeenSet = false;
193 bool m_subtypeHasBeenSet = false;
194 bool m_requestIdHasBeenSet = false;
195};
196
197} // namespace Model
198} // namespace Notifications
199} // 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