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/core/utils/memory/stl/AWSVector.h>
11#include <aws/eventbridge/EventBridge_EXPORTS.h>
12#include <aws/eventbridge/model/EndpointEventBus.h>
13#include <aws/eventbridge/model/EndpointState.h>
14#include <aws/eventbridge/model/ReplicationConfig.h>
15#include <aws/eventbridge/model/RoutingConfig.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace EventBridge {
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
58 template <
typename DescriptionT = Aws::String>
60 m_descriptionHasBeenSet =
true;
61 m_description = std::forward<DescriptionT>(value);
63 template <
typename DescriptionT = Aws::String>
75 template <
typename ArnT = Aws::String>
77 m_arnHasBeenSet =
true;
78 m_arn = std::forward<ArnT>(value);
80 template <
typename ArnT = Aws::String>
82 SetArn(std::forward<ArnT>(value));
93 template <
typename RoutingConfigT = RoutingConfig>
95 m_routingConfigHasBeenSet =
true;
96 m_routingConfig = std::forward<RoutingConfigT>(value);
98 template <
typename RoutingConfigT = RoutingConfig>
111 template <
typename ReplicationConfigT = ReplicationConfig>
113 m_replicationConfigHasBeenSet =
true;
114 m_replicationConfig = std::forward<ReplicationConfigT>(value);
116 template <
typename ReplicationConfigT = ReplicationConfig>
129 template <
typename EventBusesT = Aws::Vector<Endpo
intEventBus>>
131 m_eventBusesHasBeenSet =
true;
132 m_eventBuses = std::forward<EventBusesT>(value);
134 template <
typename EventBusesT = Aws::Vector<Endpo
intEventBus>>
139 template <
typename EventBusesT = Endpo
intEventBus>
141 m_eventBusesHasBeenSet =
true;
142 m_eventBuses.emplace_back(std::forward<EventBusesT>(value));
152 template <
typename RoleArnT = Aws::String>
154 m_roleArnHasBeenSet =
true;
155 m_roleArn = std::forward<RoleArnT>(value);
157 template <
typename RoleArnT = Aws::String>
169 template <
typename Endpo
intIdT = Aws::String>
171 m_endpointIdHasBeenSet =
true;
172 m_endpointId = std::forward<EndpointIdT>(value);
174 template <
typename Endpo
intIdT = Aws::String>
186 template <
typename Endpo
intUrlT = Aws::String>
188 m_endpointUrlHasBeenSet =
true;
189 m_endpointUrl = std::forward<EndpointUrlT>(value);
191 template <
typename Endpo
intUrlT = Aws::String>
204 m_stateHasBeenSet =
true;
219 template <
typename StateReasonT = Aws::String>
221 m_stateReasonHasBeenSet =
true;
222 m_stateReason = std::forward<StateReasonT>(value);
224 template <
typename StateReasonT = Aws::String>
236 template <
typename CreationTimeT = Aws::Utils::DateTime>
238 m_creationTimeHasBeenSet =
true;
239 m_creationTime = std::forward<CreationTimeT>(value);
241 template <
typename CreationTimeT = Aws::Utils::DateTime>
253 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
255 m_lastModifiedTimeHasBeenSet =
true;
256 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
258 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
268 template <
typename RequestIdT = Aws::String>
270 m_requestIdHasBeenSet =
true;
271 m_requestId = std::forward<RequestIdT>(value);
273 template <
typename RequestIdT = Aws::String>
310 bool m_nameHasBeenSet =
false;
311 bool m_descriptionHasBeenSet =
false;
312 bool m_arnHasBeenSet =
false;
313 bool m_routingConfigHasBeenSet =
false;
314 bool m_replicationConfigHasBeenSet =
false;
315 bool m_eventBusesHasBeenSet =
false;
316 bool m_roleArnHasBeenSet =
false;
317 bool m_endpointIdHasBeenSet =
false;
318 bool m_endpointUrlHasBeenSet =
false;
319 bool m_stateHasBeenSet =
false;
320 bool m_stateReasonHasBeenSet =
false;
321 bool m_creationTimeHasBeenSet =
false;
322 bool m_lastModifiedTimeHasBeenSet =
false;
323 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetEndpointId() const
void SetRoleArn(RoleArnT &&value)
void SetEndpointUrl(EndpointUrlT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
DescribeEndpointResult & WithEndpointUrl(EndpointUrlT &&value)
const Aws::String & GetEndpointUrl() const
DescribeEndpointResult & WithStateReason(StateReasonT &&value)
void SetState(EndpointState value)
const ReplicationConfig & GetReplicationConfig() const
DescribeEndpointResult & AddEventBuses(EventBusesT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRoleArn() const
DescribeEndpointResult & WithArn(ArnT &&value)
DescribeEndpointResult & WithState(EndpointState value)
DescribeEndpointResult & WithEndpointId(EndpointIdT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetDescription() const
DescribeEndpointResult & WithRoutingConfig(RoutingConfigT &&value)
DescribeEndpointResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetName() const
const RoutingConfig & GetRoutingConfig() const
void SetEndpointId(EndpointIdT &&value)
void SetEventBuses(EventBusesT &&value)
void SetStateReason(StateReasonT &&value)
EndpointState GetState() const
AWS_EVENTBRIDGE_API DescribeEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDescription(DescriptionT &&value)
void SetReplicationConfig(ReplicationConfigT &&value)
const Aws::String & GetStateReason() const
DescribeEndpointResult & WithEventBuses(EventBusesT &&value)
const Aws::Vector< EndpointEventBus > & GetEventBuses() const
AWS_EVENTBRIDGE_API DescribeEndpointResult()=default
void SetName(NameT &&value)
DescribeEndpointResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeEndpointResult & WithCreationTime(CreationTimeT &&value)
DescribeEndpointResult & WithReplicationConfig(ReplicationConfigT &&value)
void SetCreationTime(CreationTimeT &&value)
void SetRoutingConfig(RoutingConfigT &&value)
DescribeEndpointResult & WithName(NameT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeEndpointResult & WithRoleArn(RoleArnT &&value)
DescribeEndpointResult & WithDescription(DescriptionT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetRequestId() const
AWS_EVENTBRIDGE_API DescribeEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetArn(ArnT &&value)
const Aws::String & GetArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue