AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeApiDestinationResult.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/eventbridge/EventBridge_EXPORTS.h>
11#include <aws/eventbridge/model/ApiDestinationHttpMethod.h>
12#include <aws/eventbridge/model/ApiDestinationState.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 EventBridge {
26namespace Model {
28 public:
29 AWS_EVENTBRIDGE_API DescribeApiDestinationResult() = default;
32
34
37 inline const Aws::String& GetApiDestinationArn() const { return m_apiDestinationArn; }
38 template <typename ApiDestinationArnT = Aws::String>
39 void SetApiDestinationArn(ApiDestinationArnT&& value) {
40 m_apiDestinationArnHasBeenSet = true;
41 m_apiDestinationArn = std::forward<ApiDestinationArnT>(value);
42 }
43 template <typename ApiDestinationArnT = Aws::String>
45 SetApiDestinationArn(std::forward<ApiDestinationArnT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetName() const { return m_name; }
55 template <typename NameT = Aws::String>
56 void SetName(NameT&& value) {
57 m_nameHasBeenSet = true;
58 m_name = std::forward<NameT>(value);
59 }
60 template <typename NameT = Aws::String>
62 SetName(std::forward<NameT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetDescription() const { return m_description; }
72 template <typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) {
74 m_descriptionHasBeenSet = true;
75 m_description = std::forward<DescriptionT>(value);
76 }
77 template <typename DescriptionT = Aws::String>
79 SetDescription(std::forward<DescriptionT>(value));
80 return *this;
81 }
83
85
88 inline ApiDestinationState GetApiDestinationState() const { return m_apiDestinationState; }
90 m_apiDestinationStateHasBeenSet = true;
91 m_apiDestinationState = value;
92 }
95 return *this;
96 }
98
100
103 inline const Aws::String& GetConnectionArn() const { return m_connectionArn; }
104 template <typename ConnectionArnT = Aws::String>
105 void SetConnectionArn(ConnectionArnT&& value) {
106 m_connectionArnHasBeenSet = true;
107 m_connectionArn = std::forward<ConnectionArnT>(value);
108 }
109 template <typename ConnectionArnT = Aws::String>
111 SetConnectionArn(std::forward<ConnectionArnT>(value));
112 return *this;
113 }
115
117
120 inline const Aws::String& GetInvocationEndpoint() const { return m_invocationEndpoint; }
121 template <typename InvocationEndpointT = Aws::String>
122 void SetInvocationEndpoint(InvocationEndpointT&& value) {
123 m_invocationEndpointHasBeenSet = true;
124 m_invocationEndpoint = std::forward<InvocationEndpointT>(value);
125 }
126 template <typename InvocationEndpointT = Aws::String>
128 SetInvocationEndpoint(std::forward<InvocationEndpointT>(value));
129 return *this;
130 }
132
134
137 inline ApiDestinationHttpMethod GetHttpMethod() const { return m_httpMethod; }
139 m_httpMethodHasBeenSet = true;
140 m_httpMethod = value;
141 }
143 SetHttpMethod(value);
144 return *this;
145 }
147
149
158 inline int GetInvocationRateLimitPerSecond() const { return m_invocationRateLimitPerSecond; }
159 inline void SetInvocationRateLimitPerSecond(int value) {
160 m_invocationRateLimitPerSecondHasBeenSet = true;
161 m_invocationRateLimitPerSecond = value;
162 }
165 return *this;
166 }
168
170
173 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
174 template <typename CreationTimeT = Aws::Utils::DateTime>
175 void SetCreationTime(CreationTimeT&& value) {
176 m_creationTimeHasBeenSet = true;
177 m_creationTime = std::forward<CreationTimeT>(value);
178 }
179 template <typename CreationTimeT = Aws::Utils::DateTime>
181 SetCreationTime(std::forward<CreationTimeT>(value));
182 return *this;
183 }
185
187
190 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
191 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
192 void SetLastModifiedTime(LastModifiedTimeT&& value) {
193 m_lastModifiedTimeHasBeenSet = true;
194 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
195 }
196 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
198 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
199 return *this;
200 }
202
204
205 inline const Aws::String& GetRequestId() const { return m_requestId; }
206 template <typename RequestIdT = Aws::String>
207 void SetRequestId(RequestIdT&& value) {
208 m_requestIdHasBeenSet = true;
209 m_requestId = std::forward<RequestIdT>(value);
210 }
211 template <typename RequestIdT = Aws::String>
213 SetRequestId(std::forward<RequestIdT>(value));
214 return *this;
215 }
217 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
218
219 private:
220 Aws::String m_apiDestinationArn;
221
222 Aws::String m_name;
223
224 Aws::String m_description;
225
227
228 Aws::String m_connectionArn;
229
230 Aws::String m_invocationEndpoint;
231
233
234 int m_invocationRateLimitPerSecond{0};
235
236 Aws::Utils::DateTime m_creationTime{};
237
238 Aws::Utils::DateTime m_lastModifiedTime{};
239
240 Aws::String m_requestId;
241 Aws::Http::HttpResponseCode m_HttpResponseCode;
242 bool m_apiDestinationArnHasBeenSet = false;
243 bool m_nameHasBeenSet = false;
244 bool m_descriptionHasBeenSet = false;
245 bool m_apiDestinationStateHasBeenSet = false;
246 bool m_connectionArnHasBeenSet = false;
247 bool m_invocationEndpointHasBeenSet = false;
248 bool m_httpMethodHasBeenSet = false;
249 bool m_invocationRateLimitPerSecondHasBeenSet = false;
250 bool m_creationTimeHasBeenSet = false;
251 bool m_lastModifiedTimeHasBeenSet = false;
252 bool m_requestIdHasBeenSet = false;
253};
254
255} // namespace Model
256} // namespace EventBridge
257} // namespace Aws
DescribeApiDestinationResult & WithApiDestinationState(ApiDestinationState value)
DescribeApiDestinationResult & WithInvocationEndpoint(InvocationEndpointT &&value)
DescribeApiDestinationResult & WithConnectionArn(ConnectionArnT &&value)
DescribeApiDestinationResult & WithHttpMethod(ApiDestinationHttpMethod value)
DescribeApiDestinationResult & WithInvocationRateLimitPerSecond(int value)
DescribeApiDestinationResult & WithRequestId(RequestIdT &&value)
DescribeApiDestinationResult & WithDescription(DescriptionT &&value)
AWS_EVENTBRIDGE_API DescribeApiDestinationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeApiDestinationResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeApiDestinationResult & WithCreationTime(CreationTimeT &&value)
AWS_EVENTBRIDGE_API DescribeApiDestinationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeApiDestinationResult & WithApiDestinationArn(ApiDestinationArnT &&value)
AWS_EVENTBRIDGE_API DescribeApiDestinationResult()=default
DescribeApiDestinationResult & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue