7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/eventbridge/EventBridge_EXPORTS.h>
11#include <aws/eventbridge/model/EndpointEventBus.h>
12#include <aws/eventbridge/model/EndpointState.h>
13#include <aws/eventbridge/model/ReplicationConfig.h>
14#include <aws/eventbridge/model/RoutingConfig.h>
25namespace EventBridge {
51 template <
typename NameT = Aws::String>
53 m_nameHasBeenSet =
true;
54 m_name = std::forward<NameT>(value);
56 template <
typename NameT = Aws::String>
58 SetName(std::forward<NameT>(value));
69 template <
typename DescriptionT = Aws::String>
71 m_descriptionHasBeenSet =
true;
72 m_description = std::forward<DescriptionT>(value);
74 template <
typename DescriptionT = Aws::String>
87 template <
typename ArnT = Aws::String>
89 m_arnHasBeenSet =
true;
90 m_arn = std::forward<ArnT>(value);
92 template <
typename ArnT = Aws::String>
94 SetArn(std::forward<ArnT>(value));
105 template <
typename RoutingConfigT = RoutingConfig>
107 m_routingConfigHasBeenSet =
true;
108 m_routingConfig = std::forward<RoutingConfigT>(value);
110 template <
typename RoutingConfigT = RoutingConfig>
126 template <
typename ReplicationConfigT = ReplicationConfig>
128 m_replicationConfigHasBeenSet =
true;
129 m_replicationConfig = std::forward<ReplicationConfigT>(value);
131 template <
typename ReplicationConfigT = ReplicationConfig>
144 template <
typename EventBusesT = Aws::Vector<Endpo
intEventBus>>
146 m_eventBusesHasBeenSet =
true;
147 m_eventBuses = std::forward<EventBusesT>(value);
149 template <
typename EventBusesT = Aws::Vector<Endpo
intEventBus>>
154 template <
typename EventBusesT = Endpo
intEventBus>
156 m_eventBusesHasBeenSet =
true;
157 m_eventBuses.emplace_back(std::forward<EventBusesT>(value));
168 template <
typename RoleArnT = Aws::String>
170 m_roleArnHasBeenSet =
true;
171 m_roleArn = std::forward<RoleArnT>(value);
173 template <
typename RoleArnT = Aws::String>
188 template <
typename Endpo
intIdT = Aws::String>
190 m_endpointIdHasBeenSet =
true;
191 m_endpointId = std::forward<EndpointIdT>(value);
193 template <
typename Endpo
intIdT = Aws::String>
206 template <
typename Endpo
intUrlT = Aws::String>
208 m_endpointUrlHasBeenSet =
true;
209 m_endpointUrl = std::forward<EndpointUrlT>(value);
211 template <
typename Endpo
intUrlT = Aws::String>
225 m_stateHasBeenSet =
true;
240 template <
typename StateReasonT = Aws::String>
242 m_stateReasonHasBeenSet =
true;
243 m_stateReason = std::forward<StateReasonT>(value);
245 template <
typename StateReasonT = Aws::String>
258 template <
typename CreationTimeT = Aws::Utils::DateTime>
260 m_creationTimeHasBeenSet =
true;
261 m_creationTime = std::forward<CreationTimeT>(value);
263 template <
typename CreationTimeT = Aws::Utils::DateTime>
276 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
278 m_lastModifiedTimeHasBeenSet =
true;
279 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
281 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
313 bool m_nameHasBeenSet =
false;
314 bool m_descriptionHasBeenSet =
false;
315 bool m_arnHasBeenSet =
false;
316 bool m_routingConfigHasBeenSet =
false;
317 bool m_replicationConfigHasBeenSet =
false;
318 bool m_eventBusesHasBeenSet =
false;
319 bool m_roleArnHasBeenSet =
false;
320 bool m_endpointIdHasBeenSet =
false;
321 bool m_endpointUrlHasBeenSet =
false;
322 bool m_stateHasBeenSet =
false;
323 bool m_stateReasonHasBeenSet =
false;
324 bool m_creationTimeHasBeenSet =
false;
325 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