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>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace EventBridge {
40 template <
typename NameT = Aws::String>
42 m_nameHasBeenSet =
true;
43 m_name = std::forward<NameT>(value);
45 template <
typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
57 template <
typename DescriptionT = Aws::String>
59 m_descriptionHasBeenSet =
true;
60 m_description = std::forward<DescriptionT>(value);
62 template <
typename DescriptionT = Aws::String>
74 template <
typename ArnT = Aws::String>
76 m_arnHasBeenSet =
true;
77 m_arn = std::forward<ArnT>(value);
79 template <
typename ArnT = Aws::String>
81 SetArn(std::forward<ArnT>(value));
92 template <
typename RoutingConfigT = RoutingConfig>
94 m_routingConfigHasBeenSet =
true;
95 m_routingConfig = std::forward<RoutingConfigT>(value);
97 template <
typename RoutingConfigT = RoutingConfig>
110 template <
typename ReplicationConfigT = ReplicationConfig>
112 m_replicationConfigHasBeenSet =
true;
113 m_replicationConfig = std::forward<ReplicationConfigT>(value);
115 template <
typename ReplicationConfigT = ReplicationConfig>
128 template <
typename EventBusesT = Aws::Vector<Endpo
intEventBus>>
130 m_eventBusesHasBeenSet =
true;
131 m_eventBuses = std::forward<EventBusesT>(value);
133 template <
typename EventBusesT = Aws::Vector<Endpo
intEventBus>>
138 template <
typename EventBusesT = Endpo
intEventBus>
140 m_eventBusesHasBeenSet =
true;
141 m_eventBuses.emplace_back(std::forward<EventBusesT>(value));
151 template <
typename RoleArnT = Aws::String>
153 m_roleArnHasBeenSet =
true;
154 m_roleArn = std::forward<RoleArnT>(value);
156 template <
typename RoleArnT = Aws::String>
168 template <
typename Endpo
intIdT = Aws::String>
170 m_endpointIdHasBeenSet =
true;
171 m_endpointId = std::forward<EndpointIdT>(value);
173 template <
typename Endpo
intIdT = Aws::String>
185 template <
typename Endpo
intUrlT = Aws::String>
187 m_endpointUrlHasBeenSet =
true;
188 m_endpointUrl = std::forward<EndpointUrlT>(value);
190 template <
typename Endpo
intUrlT = Aws::String>
203 m_stateHasBeenSet =
true;
218 template <
typename StateReasonT = Aws::String>
220 m_stateReasonHasBeenSet =
true;
221 m_stateReason = std::forward<StateReasonT>(value);
223 template <
typename StateReasonT = Aws::String>
235 template <
typename CreationTimeT = Aws::Utils::DateTime>
237 m_creationTimeHasBeenSet =
true;
238 m_creationTime = std::forward<CreationTimeT>(value);
240 template <
typename CreationTimeT = Aws::Utils::DateTime>
252 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
254 m_lastModifiedTimeHasBeenSet =
true;
255 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
257 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
267 template <
typename RequestIdT = Aws::String>
269 m_requestIdHasBeenSet =
true;
270 m_requestId = std::forward<RequestIdT>(value);
272 template <
typename RequestIdT = Aws::String>
306 bool m_nameHasBeenSet =
false;
307 bool m_descriptionHasBeenSet =
false;
308 bool m_arnHasBeenSet =
false;
309 bool m_routingConfigHasBeenSet =
false;
310 bool m_replicationConfigHasBeenSet =
false;
311 bool m_eventBusesHasBeenSet =
false;
312 bool m_roleArnHasBeenSet =
false;
313 bool m_endpointIdHasBeenSet =
false;
314 bool m_endpointUrlHasBeenSet =
false;
315 bool m_stateHasBeenSet =
false;
316 bool m_stateReasonHasBeenSet =
false;
317 bool m_creationTimeHasBeenSet =
false;
318 bool m_lastModifiedTimeHasBeenSet =
false;
319 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetEndpointId() const
void SetRoleArn(RoleArnT &&value)
void SetEndpointUrl(EndpointUrlT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
DescribeEndpointResult & WithEndpointUrl(EndpointUrlT &&value)
const Aws::String & GetEndpointUrl() const
DescribeEndpointResult & WithStateReason(StateReasonT &&value)
void SetState(EndpointState value)
const ReplicationConfig & GetReplicationConfig() const
DescribeEndpointResult & AddEventBuses(EventBusesT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRoleArn() const
DescribeEndpointResult & WithArn(ArnT &&value)
DescribeEndpointResult & WithState(EndpointState value)
DescribeEndpointResult & WithEndpointId(EndpointIdT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetDescription() const
DescribeEndpointResult & WithRoutingConfig(RoutingConfigT &&value)
DescribeEndpointResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetName() const
const RoutingConfig & GetRoutingConfig() const
void SetEndpointId(EndpointIdT &&value)
void SetEventBuses(EventBusesT &&value)
void SetStateReason(StateReasonT &&value)
EndpointState GetState() const
AWS_EVENTBRIDGE_API DescribeEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDescription(DescriptionT &&value)
void SetReplicationConfig(ReplicationConfigT &&value)
const Aws::String & GetStateReason() const
DescribeEndpointResult & WithEventBuses(EventBusesT &&value)
const Aws::Vector< EndpointEventBus > & GetEventBuses() const
AWS_EVENTBRIDGE_API DescribeEndpointResult()=default
void SetName(NameT &&value)
DescribeEndpointResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeEndpointResult & WithCreationTime(CreationTimeT &&value)
DescribeEndpointResult & WithReplicationConfig(ReplicationConfigT &&value)
void SetCreationTime(CreationTimeT &&value)
void SetRoutingConfig(RoutingConfigT &&value)
DescribeEndpointResult & WithName(NameT &&value)
DescribeEndpointResult & WithRoleArn(RoleArnT &&value)
DescribeEndpointResult & WithDescription(DescriptionT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetRequestId() const
AWS_EVENTBRIDGE_API DescribeEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetArn(ArnT &&value)
const Aws::String & GetArn() 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