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/core/utils/DateTime.h>
14#include <aws/eventbridge/model/EndpointEventBus.h>
57 template<
typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
59 template<
typename NameT = Aws::String>
69 template<
typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
71 template<
typename DescriptionT = Aws::String>
81 template<
typename ArnT = Aws::String>
82 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
83 template<
typename ArnT = Aws::String>
93 template<
typename RoutingConfigT = RoutingConfig>
94 void SetRoutingConfig(RoutingConfigT&& value) { m_routingConfigHasBeenSet =
true; m_routingConfig = std::forward<RoutingConfigT>(value); }
95 template<
typename RoutingConfigT = RoutingConfig>
108 template<
typename ReplicationConfigT = ReplicationConfig>
109 void SetReplicationConfig(ReplicationConfigT&& value) { m_replicationConfigHasBeenSet =
true; m_replicationConfig = std::forward<ReplicationConfigT>(value); }
110 template<
typename ReplicationConfigT = ReplicationConfig>
120 template<
typename EventBusesT = Aws::Vector<Endpo
intEventBus>>
121 void SetEventBuses(EventBusesT&& value) { m_eventBusesHasBeenSet =
true; m_eventBuses = std::forward<EventBusesT>(value); }
122 template<
typename EventBusesT = Aws::Vector<Endpo
intEventBus>>
124 template<
typename EventBusesT = Endpo
intEventBus>
125 Endpoint&
AddEventBuses(EventBusesT&& value) { m_eventBusesHasBeenSet =
true; m_eventBuses.emplace_back(std::forward<EventBusesT>(value));
return *
this; }
134 template<
typename RoleArnT = Aws::String>
135 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
136 template<
typename RoleArnT = Aws::String>
148 template<
typename Endpo
intIdT = Aws::String>
149 void SetEndpointId(EndpointIdT&& value) { m_endpointIdHasBeenSet =
true; m_endpointId = std::forward<EndpointIdT>(value); }
150 template<
typename Endpo
intIdT = Aws::String>
160 template<
typename Endpo
intUrlT = Aws::String>
161 void SetEndpointUrl(EndpointUrlT&& value) { m_endpointUrlHasBeenSet =
true; m_endpointUrl = std::forward<EndpointUrlT>(value); }
162 template<
typename Endpo
intUrlT = Aws::String>
182 template<
typename StateReasonT = Aws::String>
183 void SetStateReason(StateReasonT&& value) { m_stateReasonHasBeenSet =
true; m_stateReason = std::forward<StateReasonT>(value); }
184 template<
typename StateReasonT = Aws::String>
194 template<
typename CreationTimeT = Aws::Utils::DateTime>
195 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
196 template<
typename CreationTimeT = Aws::Utils::DateTime>
206 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
207 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
208 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
214 bool m_nameHasBeenSet =
false;
217 bool m_descriptionHasBeenSet =
false;
220 bool m_arnHasBeenSet =
false;
223 bool m_routingConfigHasBeenSet =
false;
226 bool m_replicationConfigHasBeenSet =
false;
229 bool m_eventBusesHasBeenSet =
false;
232 bool m_roleArnHasBeenSet =
false;
235 bool m_endpointIdHasBeenSet =
false;
238 bool m_endpointUrlHasBeenSet =
false;
241 bool m_stateHasBeenSet =
false;
244 bool m_stateReasonHasBeenSet =
false;
247 bool m_creationTimeHasBeenSet =
false;
250 bool m_lastModifiedTimeHasBeenSet =
false;
Endpoint & WithArn(ArnT &&value)
const RoutingConfig & GetRoutingConfig() const
void SetArn(ArnT &&value)
Endpoint & WithEndpointId(EndpointIdT &&value)
void SetEventBuses(EventBusesT &&value)
void SetState(EndpointState value)
const Aws::String & GetEndpointId() const
bool ArnHasBeenSet() const
Endpoint & WithStateReason(StateReasonT &&value)
void SetRoleArn(RoleArnT &&value)
const ReplicationConfig & GetReplicationConfig() const
Endpoint & WithName(NameT &&value)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetDescription(DescriptionT &&value)
bool EndpointUrlHasBeenSet() const
bool EndpointIdHasBeenSet() const
AWS_EVENTBRIDGE_API Endpoint()=default
const Aws::String & GetName() const
bool RoleArnHasBeenSet() const
Endpoint & WithLastModifiedTime(LastModifiedTimeT &&value)
Endpoint & WithRoutingConfig(RoutingConfigT &&value)
void SetCreationTime(CreationTimeT &&value)
bool CreationTimeHasBeenSet() const
AWS_EVENTBRIDGE_API Endpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRoutingConfig(RoutingConfigT &&value)
void SetStateReason(StateReasonT &&value)
void SetReplicationConfig(ReplicationConfigT &&value)
bool DescriptionHasBeenSet() const
bool ReplicationConfigHasBeenSet() const
bool StateHasBeenSet() const
Endpoint & WithDescription(DescriptionT &&value)
const Aws::String & GetRoleArn() const
Endpoint & WithState(EndpointState value)
const Aws::String & GetEndpointUrl() const
const Aws::String & GetDescription() const
bool RoutingConfigHasBeenSet() const
bool LastModifiedTimeHasBeenSet() const
Endpoint & WithEndpointUrl(EndpointUrlT &&value)
EndpointState GetState() const
Endpoint & WithCreationTime(CreationTimeT &&value)
bool EventBusesHasBeenSet() const
const Aws::String & GetArn() const
Endpoint & WithReplicationConfig(ReplicationConfigT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
bool NameHasBeenSet() const
Endpoint & AddEventBuses(EventBusesT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetStateReason() const
void SetEndpointId(EndpointIdT &&value)
void SetEndpointUrl(EndpointUrlT &&value)
const Aws::Vector< EndpointEventBus > & GetEventBuses() const
Endpoint & WithEventBuses(EventBusesT &&value)
Endpoint & WithRoleArn(RoleArnT &&value)
AWS_EVENTBRIDGE_API Endpoint(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
bool StateReasonHasBeenSet() 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