7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/eventbridge/EventBridgeRequest.h>
10#include <aws/eventbridge/EventBridge_EXPORTS.h>
11#include <aws/eventbridge/model/EndpointEventBus.h>
12#include <aws/eventbridge/model/ReplicationConfig.h>
13#include <aws/eventbridge/model/RoutingConfig.h>
18namespace EventBridge {
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
62 template <
typename DescriptionT = Aws::String>
64 m_descriptionHasBeenSet =
true;
65 m_description = std::forward<DescriptionT>(value);
67 template <
typename DescriptionT = Aws::String>
81 template <
typename RoutingConfigT = RoutingConfig>
83 m_routingConfigHasBeenSet =
true;
84 m_routingConfig = std::forward<RoutingConfigT>(value);
86 template <
typename RoutingConfigT = RoutingConfig>
102 template <
typename ReplicationConfigT = ReplicationConfig>
104 m_replicationConfigHasBeenSet =
true;
105 m_replicationConfig = std::forward<ReplicationConfigT>(value);
107 template <
typename ReplicationConfigT = ReplicationConfig>
121 template <
typename EventBusesT = Aws::Vector<Endpo
intEventBus>>
123 m_eventBusesHasBeenSet =
true;
124 m_eventBuses = std::forward<EventBusesT>(value);
126 template <
typename EventBusesT = Aws::Vector<Endpo
intEventBus>>
131 template <
typename EventBusesT = Endpo
intEventBus>
133 m_eventBusesHasBeenSet =
true;
134 m_eventBuses.emplace_back(std::forward<EventBusesT>(value));
145 template <
typename RoleArnT = Aws::String>
147 m_roleArnHasBeenSet =
true;
148 m_roleArn = std::forward<RoleArnT>(value);
150 template <
typename RoleArnT = Aws::String>
168 bool m_nameHasBeenSet =
false;
169 bool m_descriptionHasBeenSet =
false;
170 bool m_routingConfigHasBeenSet =
false;
171 bool m_replicationConfigHasBeenSet =
false;
172 bool m_eventBusesHasBeenSet =
false;
173 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