AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
GetIngressPointResult.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/mailmanager/MailManager_EXPORTS.h>
11#include <aws/mailmanager/model/IngressPointAuthConfiguration.h>
12#include <aws/mailmanager/model/IngressPointStatus.h>
13#include <aws/mailmanager/model/IngressPointType.h>
14#include <aws/mailmanager/model/NetworkConfiguration.h>
15#include <aws/mailmanager/model/TlsPolicy.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace MailManager {
29namespace Model {
31 public:
32 AWS_MAILMANAGER_API GetIngressPointResult() = default;
35
37
40 inline const Aws::String& GetIngressPointId() const { return m_ingressPointId; }
41 template <typename IngressPointIdT = Aws::String>
42 void SetIngressPointId(IngressPointIdT&& value) {
43 m_ingressPointIdHasBeenSet = true;
44 m_ingressPointId = std::forward<IngressPointIdT>(value);
45 }
46 template <typename IngressPointIdT = Aws::String>
47 GetIngressPointResult& WithIngressPointId(IngressPointIdT&& value) {
48 SetIngressPointId(std::forward<IngressPointIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetIngressPointName() const { return m_ingressPointName; }
58 template <typename IngressPointNameT = Aws::String>
59 void SetIngressPointName(IngressPointNameT&& value) {
60 m_ingressPointNameHasBeenSet = true;
61 m_ingressPointName = std::forward<IngressPointNameT>(value);
62 }
63 template <typename IngressPointNameT = Aws::String>
64 GetIngressPointResult& WithIngressPointName(IngressPointNameT&& value) {
65 SetIngressPointName(std::forward<IngressPointNameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetIngressPointArn() const { return m_ingressPointArn; }
75 template <typename IngressPointArnT = Aws::String>
76 void SetIngressPointArn(IngressPointArnT&& value) {
77 m_ingressPointArnHasBeenSet = true;
78 m_ingressPointArn = std::forward<IngressPointArnT>(value);
79 }
80 template <typename IngressPointArnT = Aws::String>
81 GetIngressPointResult& WithIngressPointArn(IngressPointArnT&& value) {
82 SetIngressPointArn(std::forward<IngressPointArnT>(value));
83 return *this;
84 }
86
88
91 inline IngressPointStatus GetStatus() const { return m_status; }
92 inline void SetStatus(IngressPointStatus value) {
93 m_statusHasBeenSet = true;
94 m_status = value;
95 }
97 SetStatus(value);
98 return *this;
99 }
101
103
106 inline IngressPointType GetType() const { return m_type; }
107 inline void SetType(IngressPointType value) {
108 m_typeHasBeenSet = true;
109 m_type = value;
110 }
112 SetType(value);
113 return *this;
114 }
116
118
122 inline const Aws::String& GetARecord() const { return m_aRecord; }
123 template <typename ARecordT = Aws::String>
124 void SetARecord(ARecordT&& value) {
125 m_aRecordHasBeenSet = true;
126 m_aRecord = std::forward<ARecordT>(value);
127 }
128 template <typename ARecordT = Aws::String>
130 SetARecord(std::forward<ARecordT>(value));
131 return *this;
132 }
134
136
140 inline const Aws::String& GetRuleSetId() const { return m_ruleSetId; }
141 template <typename RuleSetIdT = Aws::String>
142 void SetRuleSetId(RuleSetIdT&& value) {
143 m_ruleSetIdHasBeenSet = true;
144 m_ruleSetId = std::forward<RuleSetIdT>(value);
145 }
146 template <typename RuleSetIdT = Aws::String>
148 SetRuleSetId(std::forward<RuleSetIdT>(value));
149 return *this;
150 }
152
154
158 inline const Aws::String& GetTrafficPolicyId() const { return m_trafficPolicyId; }
159 template <typename TrafficPolicyIdT = Aws::String>
160 void SetTrafficPolicyId(TrafficPolicyIdT&& value) {
161 m_trafficPolicyIdHasBeenSet = true;
162 m_trafficPolicyId = std::forward<TrafficPolicyIdT>(value);
163 }
164 template <typename TrafficPolicyIdT = Aws::String>
165 GetIngressPointResult& WithTrafficPolicyId(TrafficPolicyIdT&& value) {
166 SetTrafficPolicyId(std::forward<TrafficPolicyIdT>(value));
167 return *this;
168 }
170
172
175 inline const IngressPointAuthConfiguration& GetIngressPointAuthConfiguration() const { return m_ingressPointAuthConfiguration; }
176 template <typename IngressPointAuthConfigurationT = IngressPointAuthConfiguration>
177 void SetIngressPointAuthConfiguration(IngressPointAuthConfigurationT&& value) {
178 m_ingressPointAuthConfigurationHasBeenSet = true;
179 m_ingressPointAuthConfiguration = std::forward<IngressPointAuthConfigurationT>(value);
180 }
181 template <typename IngressPointAuthConfigurationT = IngressPointAuthConfiguration>
182 GetIngressPointResult& WithIngressPointAuthConfiguration(IngressPointAuthConfigurationT&& value) {
183 SetIngressPointAuthConfiguration(std::forward<IngressPointAuthConfigurationT>(value));
184 return *this;
185 }
187
189
192 inline const NetworkConfiguration& GetNetworkConfiguration() const { return m_networkConfiguration; }
193 template <typename NetworkConfigurationT = NetworkConfiguration>
194 void SetNetworkConfiguration(NetworkConfigurationT&& value) {
195 m_networkConfigurationHasBeenSet = true;
196 m_networkConfiguration = std::forward<NetworkConfigurationT>(value);
197 }
198 template <typename NetworkConfigurationT = NetworkConfiguration>
199 GetIngressPointResult& WithNetworkConfiguration(NetworkConfigurationT&& value) {
200 SetNetworkConfiguration(std::forward<NetworkConfigurationT>(value));
201 return *this;
202 }
204
206
209 inline TlsPolicy GetTlsPolicy() const { return m_tlsPolicy; }
210 inline void SetTlsPolicy(TlsPolicy value) {
211 m_tlsPolicyHasBeenSet = true;
212 m_tlsPolicy = value;
213 }
215 SetTlsPolicy(value);
216 return *this;
217 }
219
221
224 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
225 template <typename CreatedTimestampT = Aws::Utils::DateTime>
226 void SetCreatedTimestamp(CreatedTimestampT&& value) {
227 m_createdTimestampHasBeenSet = true;
228 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
229 }
230 template <typename CreatedTimestampT = Aws::Utils::DateTime>
231 GetIngressPointResult& WithCreatedTimestamp(CreatedTimestampT&& value) {
232 SetCreatedTimestamp(std::forward<CreatedTimestampT>(value));
233 return *this;
234 }
236
238
241 inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const { return m_lastUpdatedTimestamp; }
242 template <typename LastUpdatedTimestampT = Aws::Utils::DateTime>
243 void SetLastUpdatedTimestamp(LastUpdatedTimestampT&& value) {
244 m_lastUpdatedTimestampHasBeenSet = true;
245 m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value);
246 }
247 template <typename LastUpdatedTimestampT = Aws::Utils::DateTime>
248 GetIngressPointResult& WithLastUpdatedTimestamp(LastUpdatedTimestampT&& value) {
249 SetLastUpdatedTimestamp(std::forward<LastUpdatedTimestampT>(value));
250 return *this;
251 }
253
255
256 inline const Aws::String& GetRequestId() const { return m_requestId; }
257 template <typename RequestIdT = Aws::String>
258 void SetRequestId(RequestIdT&& value) {
259 m_requestIdHasBeenSet = true;
260 m_requestId = std::forward<RequestIdT>(value);
261 }
262 template <typename RequestIdT = Aws::String>
264 SetRequestId(std::forward<RequestIdT>(value));
265 return *this;
266 }
268 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
269
270 private:
271 Aws::String m_ingressPointId;
272
273 Aws::String m_ingressPointName;
274
275 Aws::String m_ingressPointArn;
276
278
280
281 Aws::String m_aRecord;
282
283 Aws::String m_ruleSetId;
284
285 Aws::String m_trafficPolicyId;
286
287 IngressPointAuthConfiguration m_ingressPointAuthConfiguration;
288
289 NetworkConfiguration m_networkConfiguration;
290
291 TlsPolicy m_tlsPolicy{TlsPolicy::NOT_SET};
292
293 Aws::Utils::DateTime m_createdTimestamp{};
294
295 Aws::Utils::DateTime m_lastUpdatedTimestamp{};
296
297 Aws::String m_requestId;
298 Aws::Http::HttpResponseCode m_HttpResponseCode;
299 bool m_ingressPointIdHasBeenSet = false;
300 bool m_ingressPointNameHasBeenSet = false;
301 bool m_ingressPointArnHasBeenSet = false;
302 bool m_statusHasBeenSet = false;
303 bool m_typeHasBeenSet = false;
304 bool m_aRecordHasBeenSet = false;
305 bool m_ruleSetIdHasBeenSet = false;
306 bool m_trafficPolicyIdHasBeenSet = false;
307 bool m_ingressPointAuthConfigurationHasBeenSet = false;
308 bool m_networkConfigurationHasBeenSet = false;
309 bool m_tlsPolicyHasBeenSet = false;
310 bool m_createdTimestampHasBeenSet = false;
311 bool m_lastUpdatedTimestampHasBeenSet = false;
312 bool m_requestIdHasBeenSet = false;
313};
314
315} // namespace Model
316} // namespace MailManager
317} // namespace Aws
const IngressPointAuthConfiguration & GetIngressPointAuthConfiguration() const
GetIngressPointResult & WithTrafficPolicyId(TrafficPolicyIdT &&value)
GetIngressPointResult & WithLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
void SetNetworkConfiguration(NetworkConfigurationT &&value)
GetIngressPointResult & WithStatus(IngressPointStatus value)
GetIngressPointResult & WithIngressPointAuthConfiguration(IngressPointAuthConfigurationT &&value)
AWS_MAILMANAGER_API GetIngressPointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MAILMANAGER_API GetIngressPointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetIngressPointResult & WithType(IngressPointType value)
void SetLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
GetIngressPointResult & WithIngressPointName(IngressPointNameT &&value)
GetIngressPointResult & WithIngressPointArn(IngressPointArnT &&value)
AWS_MAILMANAGER_API GetIngressPointResult()=default
GetIngressPointResult & WithARecord(ARecordT &&value)
GetIngressPointResult & WithIngressPointId(IngressPointIdT &&value)
GetIngressPointResult & WithNetworkConfiguration(NetworkConfigurationT &&value)
void SetIngressPointAuthConfiguration(IngressPointAuthConfigurationT &&value)
GetIngressPointResult & WithRuleSetId(RuleSetIdT &&value)
GetIngressPointResult & WithRequestId(RequestIdT &&value)
GetIngressPointResult & WithTlsPolicy(TlsPolicy value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
const NetworkConfiguration & GetNetworkConfiguration() const
GetIngressPointResult & WithCreatedTimestamp(CreatedTimestampT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetIngressPointName(IngressPointNameT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue