7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/eventbridge/EventBridge_EXPORTS.h>
11#include <aws/eventbridge/model/EndpointEventBus.h>
12#include <aws/eventbridge/model/EndpointState.h>
13#include <aws/eventbridge/model/ReplicationConfig.h>
14#include <aws/eventbridge/model/RoutingConfig.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace EventBridge {
40 template <
typename NameT = Aws::String>
42 m_nameHasBeenSet =
true;
43 m_name = std::forward<NameT>(value);
45 template <
typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
57 template <
typename ArnT = Aws::String>
59 m_arnHasBeenSet =
true;
60 m_arn = std::forward<ArnT>(value);
62 template <
typename ArnT = Aws::String>
64 SetArn(std::forward<ArnT>(value));
74 template <
typename RoutingConfigT = RoutingConfig>
76 m_routingConfigHasBeenSet =
true;
77 m_routingConfig = std::forward<RoutingConfigT>(value);
79 template <
typename RoutingConfigT = RoutingConfig>
92 template <
typename ReplicationConfigT = ReplicationConfig>
94 m_replicationConfigHasBeenSet =
true;
95 m_replicationConfig = std::forward<ReplicationConfigT>(value);
97 template <
typename ReplicationConfigT = ReplicationConfig>
110 template <
typename EventBusesT = Aws::Vector<Endpo
intEventBus>>
112 m_eventBusesHasBeenSet =
true;
113 m_eventBuses = std::forward<EventBusesT>(value);
115 template <
typename EventBusesT = Aws::Vector<Endpo
intEventBus>>
120 template <
typename EventBusesT = Endpo
intEventBus>
122 m_eventBusesHasBeenSet =
true;
123 m_eventBuses.emplace_back(std::forward<EventBusesT>(value));
134 template <
typename RoleArnT = Aws::String>
136 m_roleArnHasBeenSet =
true;
137 m_roleArn = std::forward<RoleArnT>(value);
139 template <
typename RoleArnT = Aws::String>
151 template <
typename Endpo
intIdT = Aws::String>
153 m_endpointIdHasBeenSet =
true;
154 m_endpointId = std::forward<EndpointIdT>(value);
156 template <
typename Endpo
intIdT = Aws::String>
168 template <
typename Endpo
intUrlT = Aws::String>
170 m_endpointUrlHasBeenSet =
true;
171 m_endpointUrl = std::forward<EndpointUrlT>(value);
173 template <
typename Endpo
intUrlT = Aws::String>
186 m_stateHasBeenSet =
true;
198 template <
typename RequestIdT = Aws::String>
200 m_requestIdHasBeenSet =
true;
201 m_requestId = std::forward<RequestIdT>(value);
203 template <
typename RequestIdT = Aws::String>
232 bool m_nameHasBeenSet =
false;
233 bool m_arnHasBeenSet =
false;
234 bool m_routingConfigHasBeenSet =
false;
235 bool m_replicationConfigHasBeenSet =
false;
236 bool m_eventBusesHasBeenSet =
false;
237 bool m_roleArnHasBeenSet =
false;
238 bool m_endpointIdHasBeenSet =
false;
239 bool m_endpointUrlHasBeenSet =
false;
240 bool m_stateHasBeenSet =
false;
241 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
const ReplicationConfig & GetReplicationConfig() const
UpdateEndpointResult & WithState(EndpointState value)
void SetEventBuses(EventBusesT &&value)
const Aws::String & GetRequestId() const
AWS_EVENTBRIDGE_API UpdateEndpointResult()=default
UpdateEndpointResult & WithEndpointId(EndpointIdT &&value)
UpdateEndpointResult & WithRequestId(RequestIdT &&value)
void SetRoleArn(RoleArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetArn(ArnT &&value)
UpdateEndpointResult & WithArn(ArnT &&value)
EndpointState GetState() const
void SetReplicationConfig(ReplicationConfigT &&value)
const Aws::String & GetEndpointUrl() const
UpdateEndpointResult & WithReplicationConfig(ReplicationConfigT &&value)
const Aws::String & GetRoleArn() const
const Aws::String & GetName() const
UpdateEndpointResult & WithRoleArn(RoleArnT &&value)
UpdateEndpointResult & WithEndpointUrl(EndpointUrlT &&value)
void SetState(EndpointState value)
void SetRoutingConfig(RoutingConfigT &&value)
const Aws::String & GetEndpointId() const
const Aws::Vector< EndpointEventBus > & GetEventBuses() const
const RoutingConfig & GetRoutingConfig() const
void SetEndpointUrl(EndpointUrlT &&value)
void SetEndpointId(EndpointIdT &&value)
void SetName(NameT &&value)
UpdateEndpointResult & WithName(NameT &&value)
AWS_EVENTBRIDGE_API UpdateEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_EVENTBRIDGE_API UpdateEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateEndpointResult & WithRoutingConfig(RoutingConfigT &&value)
UpdateEndpointResult & AddEventBuses(EventBusesT &&value)
UpdateEndpointResult & WithEventBuses(EventBusesT &&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