7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/eventbridge/EventBridgeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/eventbridge/model/RoutingConfig.h>
11#include <aws/eventbridge/model/ReplicationConfig.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/eventbridge/model/EndpointEventBus.h>
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
60 template<
typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
62 template<
typename DescriptionT = Aws::String>
73 template<
typename RoutingConfigT = RoutingConfig>
74 void SetRoutingConfig(RoutingConfigT&& value) { m_routingConfigHasBeenSet =
true; m_routingConfig = std::forward<RoutingConfigT>(value); }
75 template<
typename RoutingConfigT = RoutingConfig>
88 template<
typename ReplicationConfigT = ReplicationConfig>
89 void SetReplicationConfig(ReplicationConfigT&& value) { m_replicationConfigHasBeenSet =
true; m_replicationConfig = std::forward<ReplicationConfigT>(value); }
90 template<
typename ReplicationConfigT = ReplicationConfig>
101 template<
typename EventBusesT = Aws::Vector<Endpo
intEventBus>>
102 void SetEventBuses(EventBusesT&& value) { m_eventBusesHasBeenSet =
true; m_eventBuses = std::forward<EventBusesT>(value); }
103 template<
typename EventBusesT = Aws::Vector<Endpo
intEventBus>>
105 template<
typename EventBusesT = Endpo
intEventBus>
115 template<
typename RoleArnT = Aws::String>
116 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
117 template<
typename RoleArnT = Aws::String>
123 bool m_nameHasBeenSet =
false;
126 bool m_descriptionHasBeenSet =
false;
129 bool m_routingConfigHasBeenSet =
false;
132 bool m_replicationConfigHasBeenSet =
false;
135 bool m_eventBusesHasBeenSet =
false;
138 bool m_roleArnHasBeenSet =
false;
CreateEndpointRequest & WithEventBuses(EventBusesT &&value)
CreateEndpointRequest & WithName(NameT &&value)
AWS_EVENTBRIDGE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool RoutingConfigHasBeenSet() const
void SetEventBuses(EventBusesT &&value)
void SetRoutingConfig(RoutingConfigT &&value)
const ReplicationConfig & GetReplicationConfig() const
const Aws::String & GetName() const
bool NameHasBeenSet() const
AWS_EVENTBRIDGE_API Aws::String SerializePayload() const override
void SetRoleArn(RoleArnT &&value)
CreateEndpointRequest & WithRoutingConfig(RoutingConfigT &&value)
const Aws::String & GetRoleArn() const
void SetReplicationConfig(ReplicationConfigT &&value)
const Aws::String & GetDescription() const
bool RoleArnHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateEndpointRequest & WithRoleArn(RoleArnT &&value)
void SetDescription(DescriptionT &&value)
const RoutingConfig & GetRoutingConfig() const
bool DescriptionHasBeenSet() const
bool ReplicationConfigHasBeenSet() const
bool EventBusesHasBeenSet() const
const Aws::Vector< EndpointEventBus > & GetEventBuses() const
CreateEndpointRequest & WithDescription(DescriptionT &&value)
CreateEndpointRequest & AddEventBuses(EventBusesT &&value)
void SetName(NameT &&value)
AWS_EVENTBRIDGE_API CreateEndpointRequest()=default
CreateEndpointRequest & WithReplicationConfig(ReplicationConfigT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector