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>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
46 template<
typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
48 template<
typename NameT = Aws::String>
57 template<
typename DescriptionT = Aws::String>
58 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
59 template<
typename DescriptionT = Aws::String>
68 template<
typename ArnT = Aws::String>
69 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
70 template<
typename ArnT = Aws::String>
80 template<
typename RoutingConfigT = RoutingConfig>
81 void SetRoutingConfig(RoutingConfigT&& value) { m_routingConfigHasBeenSet =
true; m_routingConfig = std::forward<RoutingConfigT>(value); }
82 template<
typename RoutingConfigT = RoutingConfig>
92 template<
typename ReplicationConfigT = ReplicationConfig>
93 void SetReplicationConfig(ReplicationConfigT&& value) { m_replicationConfigHasBeenSet =
true; m_replicationConfig = std::forward<ReplicationConfigT>(value); }
94 template<
typename ReplicationConfigT = ReplicationConfig>
104 template<
typename EventBusesT = Aws::Vector<Endpo
intEventBus>>
105 void SetEventBuses(EventBusesT&& value) { m_eventBusesHasBeenSet =
true; m_eventBuses = std::forward<EventBusesT>(value); }
106 template<
typename EventBusesT = Aws::Vector<Endpo
intEventBus>>
108 template<
typename EventBusesT = Endpo
intEventBus>
117 template<
typename RoleArnT = Aws::String>
118 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
119 template<
typename RoleArnT = Aws::String>
128 template<
typename Endpo
intIdT = Aws::String>
129 void SetEndpointId(EndpointIdT&& value) { m_endpointIdHasBeenSet =
true; m_endpointId = std::forward<EndpointIdT>(value); }
130 template<
typename Endpo
intIdT = Aws::String>
139 template<
typename Endpo
intUrlT = Aws::String>
140 void SetEndpointUrl(EndpointUrlT&& value) { m_endpointUrlHasBeenSet =
true; m_endpointUrl = std::forward<EndpointUrlT>(value); }
141 template<
typename Endpo
intUrlT = Aws::String>
160 template<
typename StateReasonT = Aws::String>
161 void SetStateReason(StateReasonT&& value) { m_stateReasonHasBeenSet =
true; m_stateReason = std::forward<StateReasonT>(value); }
162 template<
typename StateReasonT = Aws::String>
171 template<
typename CreationTimeT = Aws::Utils::DateTime>
172 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
173 template<
typename CreationTimeT = Aws::Utils::DateTime>
182 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
183 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
184 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
191 template<
typename RequestIdT = Aws::String>
192 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
193 template<
typename RequestIdT = Aws::String>
199 bool m_nameHasBeenSet =
false;
202 bool m_descriptionHasBeenSet =
false;
205 bool m_arnHasBeenSet =
false;
208 bool m_routingConfigHasBeenSet =
false;
211 bool m_replicationConfigHasBeenSet =
false;
214 bool m_eventBusesHasBeenSet =
false;
217 bool m_roleArnHasBeenSet =
false;
220 bool m_endpointIdHasBeenSet =
false;
223 bool m_endpointUrlHasBeenSet =
false;
226 bool m_stateHasBeenSet =
false;
229 bool m_stateReasonHasBeenSet =
false;
232 bool m_creationTimeHasBeenSet =
false;
235 bool m_lastModifiedTimeHasBeenSet =
false;
238 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