7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/AwsEventsEndpointReplicationConfigDetails.h>
11#include <aws/securityhub/model/AwsEventsEndpointRoutingConfigDetails.h>
12#include <aws/securityhub/model/AwsEventsEndpointEventBusesDetails.h>
52 template<
typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
54 template<
typename ArnT = Aws::String>
64 template<
typename DescriptionT = Aws::String>
65 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
66 template<
typename DescriptionT = Aws::String>
78 template<
typename Endpo
intIdT = Aws::String>
79 void SetEndpointId(EndpointIdT&& value) { m_endpointIdHasBeenSet =
true; m_endpointId = std::forward<EndpointIdT>(value); }
80 template<
typename Endpo
intIdT = Aws::String>
90 template<
typename Endpo
intUrlT = Aws::String>
91 void SetEndpointUrl(EndpointUrlT&& value) { m_endpointUrlHasBeenSet =
true; m_endpointUrl = std::forward<EndpointUrlT>(value); }
92 template<
typename Endpo
intUrlT = Aws::String>
102 template<
typename EventBusesT = Aws::Vector<AwsEventsEndpo
intEventBusesDetails>>
103 void SetEventBuses(EventBusesT&& value) { m_eventBusesHasBeenSet =
true; m_eventBuses = std::forward<EventBusesT>(value); }
104 template<
typename EventBusesT = Aws::Vector<AwsEventsEndpo
intEventBusesDetails>>
106 template<
typename EventBusesT = AwsEventsEndpo
intEventBusesDetails>
116 template<
typename NameT = Aws::String>
117 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
118 template<
typename NameT = Aws::String>
131 template<
typename ReplicationConfigT = AwsEventsEndpo
intReplicationConfigDetails>
132 void SetReplicationConfig(ReplicationConfigT&& value) { m_replicationConfigHasBeenSet =
true; m_replicationConfig = std::forward<ReplicationConfigT>(value); }
133 template<
typename ReplicationConfigT = AwsEventsEndpo
intReplicationConfigDetails>
143 template<
typename RoleArnT = Aws::String>
144 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
145 template<
typename RoleArnT = Aws::String>
155 template<
typename RoutingConfigT = AwsEventsEndpo
intRoutingConfigDetails>
156 void SetRoutingConfig(RoutingConfigT&& value) { m_routingConfigHasBeenSet =
true; m_routingConfig = std::forward<RoutingConfigT>(value); }
157 template<
typename RoutingConfigT = AwsEventsEndpo
intRoutingConfigDetails>
167 template<
typename StateT = Aws::String>
168 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
169 template<
typename StateT = Aws::String>
179 template<
typename StateReasonT = Aws::String>
180 void SetStateReason(StateReasonT&& value) { m_stateReasonHasBeenSet =
true; m_stateReason = std::forward<StateReasonT>(value); }
181 template<
typename StateReasonT = Aws::String>
187 bool m_arnHasBeenSet =
false;
190 bool m_descriptionHasBeenSet =
false;
193 bool m_endpointIdHasBeenSet =
false;
196 bool m_endpointUrlHasBeenSet =
false;
199 bool m_eventBusesHasBeenSet =
false;
202 bool m_nameHasBeenSet =
false;
205 bool m_replicationConfigHasBeenSet =
false;
208 bool m_roleArnHasBeenSet =
false;
211 bool m_routingConfigHasBeenSet =
false;
214 bool m_stateHasBeenSet =
false;
217 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