7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/eventbridge/EventBridge_EXPORTS.h>
10#include <aws/eventbridge/model/EndpointEventBus.h>
11#include <aws/eventbridge/model/EndpointState.h>
12#include <aws/eventbridge/model/ReplicationConfig.h>
13#include <aws/eventbridge/model/RoutingConfig.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace EventBridge {
39 template <
typename NameT = Aws::String>
41 m_nameHasBeenSet =
true;
42 m_name = std::forward<NameT>(value);
44 template <
typename NameT = Aws::String>
46 SetName(std::forward<NameT>(value));
56 template <
typename ArnT = Aws::String>
58 m_arnHasBeenSet =
true;
59 m_arn = std::forward<ArnT>(value);
61 template <
typename ArnT = Aws::String>
63 SetArn(std::forward<ArnT>(value));
73 template <
typename RoutingConfigT = RoutingConfig>
75 m_routingConfigHasBeenSet =
true;
76 m_routingConfig = std::forward<RoutingConfigT>(value);
78 template <
typename RoutingConfigT = RoutingConfig>
91 template <
typename ReplicationConfigT = ReplicationConfig>
93 m_replicationConfigHasBeenSet =
true;
94 m_replicationConfig = std::forward<ReplicationConfigT>(value);
96 template <
typename ReplicationConfigT = ReplicationConfig>
109 template <
typename EventBusesT = Aws::Vector<Endpo
intEventBus>>
111 m_eventBusesHasBeenSet =
true;
112 m_eventBuses = std::forward<EventBusesT>(value);
114 template <
typename EventBusesT = Aws::Vector<Endpo
intEventBus>>
119 template <
typename EventBusesT = Endpo
intEventBus>
121 m_eventBusesHasBeenSet =
true;
122 m_eventBuses.emplace_back(std::forward<EventBusesT>(value));
133 template <
typename RoleArnT = Aws::String>
135 m_roleArnHasBeenSet =
true;
136 m_roleArn = std::forward<RoleArnT>(value);
138 template <
typename RoleArnT = Aws::String>
150 template <
typename Endpo
intIdT = Aws::String>
152 m_endpointIdHasBeenSet =
true;
153 m_endpointId = std::forward<EndpointIdT>(value);
155 template <
typename Endpo
intIdT = Aws::String>
167 template <
typename Endpo
intUrlT = Aws::String>
169 m_endpointUrlHasBeenSet =
true;
170 m_endpointUrl = std::forward<EndpointUrlT>(value);
172 template <
typename Endpo
intUrlT = Aws::String>
185 m_stateHasBeenSet =
true;
197 template <
typename RequestIdT = Aws::String>
199 m_requestIdHasBeenSet =
true;
200 m_requestId = std::forward<RequestIdT>(value);
202 template <
typename RequestIdT = Aws::String>
228 bool m_nameHasBeenSet =
false;
229 bool m_arnHasBeenSet =
false;
230 bool m_routingConfigHasBeenSet =
false;
231 bool m_replicationConfigHasBeenSet =
false;
232 bool m_eventBusesHasBeenSet =
false;
233 bool m_roleArnHasBeenSet =
false;
234 bool m_endpointIdHasBeenSet =
false;
235 bool m_endpointUrlHasBeenSet =
false;
236 bool m_stateHasBeenSet =
false;
237 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)
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