7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eventbridge/model/RoutingConfig.h>
10#include <aws/eventbridge/model/ReplicationConfig.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/eventbridge/model/EndpointState.h>
13#include <aws/eventbridge/model/EndpointEventBus.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
45 template<
typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
47 template<
typename NameT = Aws::String>
56 template<
typename ArnT = Aws::String>
57 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
58 template<
typename ArnT = Aws::String>
67 template<
typename RoutingConfigT = RoutingConfig>
68 void SetRoutingConfig(RoutingConfigT&& value) { m_routingConfigHasBeenSet =
true; m_routingConfig = std::forward<RoutingConfigT>(value); }
69 template<
typename RoutingConfigT = RoutingConfig>
78 template<
typename ReplicationConfigT = ReplicationConfig>
79 void SetReplicationConfig(ReplicationConfigT&& value) { m_replicationConfigHasBeenSet =
true; m_replicationConfig = std::forward<ReplicationConfigT>(value); }
80 template<
typename ReplicationConfigT = ReplicationConfig>
89 template<
typename EventBusesT = Aws::Vector<Endpo
intEventBus>>
90 void SetEventBuses(EventBusesT&& value) { m_eventBusesHasBeenSet =
true; m_eventBuses = std::forward<EventBusesT>(value); }
91 template<
typename EventBusesT = Aws::Vector<Endpo
intEventBus>>
93 template<
typename EventBusesT = Endpo
intEventBus>
102 template<
typename RoleArnT = Aws::String>
103 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
104 template<
typename RoleArnT = Aws::String>
120 template<
typename RequestIdT = Aws::String>
121 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
122 template<
typename RequestIdT = Aws::String>
128 bool m_nameHasBeenSet =
false;
131 bool m_arnHasBeenSet =
false;
134 bool m_routingConfigHasBeenSet =
false;
137 bool m_replicationConfigHasBeenSet =
false;
140 bool m_eventBusesHasBeenSet =
false;
143 bool m_roleArnHasBeenSet =
false;
146 bool m_stateHasBeenSet =
false;
149 bool m_requestIdHasBeenSet =
false;
const ReplicationConfig & GetReplicationConfig() const
void SetRoutingConfig(RoutingConfigT &&value)
void SetReplicationConfig(ReplicationConfigT &&value)
const Aws::String & GetRoleArn() const
AWS_EVENTBRIDGE_API CreateEndpointResult()=default
const Aws::String & GetRequestId() const
void SetArn(ArnT &&value)
CreateEndpointResult & WithName(NameT &&value)
CreateEndpointResult & WithEventBuses(EventBusesT &&value)
void SetRoleArn(RoleArnT &&value)
CreateEndpointResult & WithRoleArn(RoleArnT &&value)
const Aws::String & GetName() const
void SetName(NameT &&value)
const Aws::String & GetArn() const
const Aws::Vector< EndpointEventBus > & GetEventBuses() const
CreateEndpointResult & WithReplicationConfig(ReplicationConfigT &&value)
const RoutingConfig & GetRoutingConfig() const
CreateEndpointResult & WithState(EndpointState value)
AWS_EVENTBRIDGE_API CreateEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEventBuses(EventBusesT &&value)
void SetRequestId(RequestIdT &&value)
CreateEndpointResult & AddEventBuses(EventBusesT &&value)
AWS_EVENTBRIDGE_API CreateEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetState(EndpointState value)
CreateEndpointResult & WithRoutingConfig(RoutingConfigT &&value)
CreateEndpointResult & WithArn(ArnT &&value)
CreateEndpointResult & WithRequestId(RequestIdT &&value)
EndpointState GetState() 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