7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsEventsEndpointEventBusesDetails.h>
11#include <aws/securityhub/model/AwsEventsEndpointReplicationConfigDetails.h>
12#include <aws/securityhub/model/AwsEventsEndpointRoutingConfigDetails.h>
46 template <
typename ArnT = Aws::String>
48 m_arnHasBeenSet =
true;
49 m_arn = std::forward<ArnT>(value);
51 template <
typename ArnT = Aws::String>
53 SetArn(std::forward<ArnT>(value));
64 template <
typename DescriptionT = Aws::String>
66 m_descriptionHasBeenSet =
true;
67 m_description = std::forward<DescriptionT>(value);
69 template <
typename DescriptionT = Aws::String>
84 template <
typename Endpo
intIdT = Aws::String>
86 m_endpointIdHasBeenSet =
true;
87 m_endpointId = std::forward<EndpointIdT>(value);
89 template <
typename Endpo
intIdT = Aws::String>
102 template <
typename Endpo
intUrlT = Aws::String>
104 m_endpointUrlHasBeenSet =
true;
105 m_endpointUrl = std::forward<EndpointUrlT>(value);
107 template <
typename Endpo
intUrlT = Aws::String>
120 template <
typename EventBusesT = Aws::Vector<AwsEventsEndpo
intEventBusesDetails>>
122 m_eventBusesHasBeenSet =
true;
123 m_eventBuses = std::forward<EventBusesT>(value);
125 template <
typename EventBusesT = Aws::Vector<AwsEventsEndpo
intEventBusesDetails>>
130 template <
typename EventBusesT = AwsEventsEndpo
intEventBusesDetails>
132 m_eventBusesHasBeenSet =
true;
133 m_eventBuses.emplace_back(std::forward<EventBusesT>(value));
144 template <
typename NameT = Aws::String>
146 m_nameHasBeenSet =
true;
147 m_name = std::forward<NameT>(value);
149 template <
typename NameT = Aws::String>
151 SetName(std::forward<NameT>(value));
165 template <
typename ReplicationConfigT = AwsEventsEndpo
intReplicationConfigDetails>
167 m_replicationConfigHasBeenSet =
true;
168 m_replicationConfig = std::forward<ReplicationConfigT>(value);
170 template <
typename ReplicationConfigT = AwsEventsEndpo
intReplicationConfigDetails>
183 template <
typename RoleArnT = Aws::String>
185 m_roleArnHasBeenSet =
true;
186 m_roleArn = std::forward<RoleArnT>(value);
188 template <
typename RoleArnT = Aws::String>
201 template <
typename RoutingConfigT = AwsEventsEndpo
intRoutingConfigDetails>
203 m_routingConfigHasBeenSet =
true;
204 m_routingConfig = std::forward<RoutingConfigT>(value);
206 template <
typename RoutingConfigT = AwsEventsEndpo
intRoutingConfigDetails>
219 template <
typename StateT = Aws::String>
221 m_stateHasBeenSet =
true;
222 m_state = std::forward<StateT>(value);
224 template <
typename StateT = Aws::String>
226 SetState(std::forward<StateT>(value));
237 template <
typename StateReasonT = Aws::String>
239 m_stateReasonHasBeenSet =
true;
240 m_stateReason = std::forward<StateReasonT>(value);
242 template <
typename StateReasonT = Aws::String>
270 bool m_arnHasBeenSet =
false;
271 bool m_descriptionHasBeenSet =
false;
272 bool m_endpointIdHasBeenSet =
false;
273 bool m_endpointUrlHasBeenSet =
false;
274 bool m_eventBusesHasBeenSet =
false;
275 bool m_nameHasBeenSet =
false;
276 bool m_replicationConfigHasBeenSet =
false;
277 bool m_roleArnHasBeenSet =
false;
278 bool m_routingConfigHasBeenSet =
false;
279 bool m_stateHasBeenSet =
false;
280 bool m_stateReasonHasBeenSet =
false;
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetEndpointId() const
bool ReplicationConfigHasBeenSet() const
bool DescriptionHasBeenSet() const
AwsEventsEndpointDetails & WithName(NameT &&value)
bool RoleArnHasBeenSet() const
const Aws::Vector< AwsEventsEndpointEventBusesDetails > & GetEventBuses() const
void SetArn(ArnT &&value)
void SetState(StateT &&value)
void SetName(NameT &&value)
AwsEventsEndpointDetails & WithState(StateT &&value)
void SetDescription(DescriptionT &&value)
void SetRoleArn(RoleArnT &&value)
AwsEventsEndpointDetails & WithEventBuses(EventBusesT &&value)
bool EndpointUrlHasBeenSet() const
AwsEventsEndpointDetails & WithStateReason(StateReasonT &&value)
const Aws::String & GetDescription() const
const AwsEventsEndpointReplicationConfigDetails & GetReplicationConfig() const
AwsEventsEndpointDetails & WithEndpointId(EndpointIdT &&value)
void SetEndpointId(EndpointIdT &&value)
void SetEndpointUrl(EndpointUrlT &&value)
bool StateHasBeenSet() const
AwsEventsEndpointDetails & WithArn(ArnT &&value)
bool RoutingConfigHasBeenSet() const
AwsEventsEndpointDetails & WithRoleArn(RoleArnT &&value)
const Aws::String & GetRoleArn() const
void SetEventBuses(EventBusesT &&value)
void SetReplicationConfig(ReplicationConfigT &&value)
void SetRoutingConfig(RoutingConfigT &&value)
AwsEventsEndpointDetails & WithReplicationConfig(ReplicationConfigT &&value)
AwsEventsEndpointDetails & WithRoutingConfig(RoutingConfigT &&value)
const Aws::String & GetEndpointUrl() const
bool NameHasBeenSet() const
bool StateReasonHasBeenSet() const
const Aws::String & GetStateReason() const
AwsEventsEndpointDetails & WithDescription(DescriptionT &&value)
bool EventBusesHasBeenSet() const
bool ArnHasBeenSet() const
const Aws::String & GetArn() const
const AwsEventsEndpointRoutingConfigDetails & GetRoutingConfig() const
AwsEventsEndpointDetails & AddEventBuses(EventBusesT &&value)
bool EndpointIdHasBeenSet() const
void SetStateReason(StateReasonT &&value)
AWS_SECURITYHUB_API AwsEventsEndpointDetails()=default
const Aws::String & GetState() const
AWS_SECURITYHUB_API AwsEventsEndpointDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
AWS_SECURITYHUB_API AwsEventsEndpointDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEventsEndpointDetails & WithEndpointUrl(EndpointUrlT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue