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>
53 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
54 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
68 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
84 inline void SetEndpointId(
const char* value) { m_endpointIdHasBeenSet =
true; m_endpointId.assign(value); }
98 inline void SetEndpointUrl(
const char* value) { m_endpointUrlHasBeenSet =
true; m_endpointUrl.assign(value); }
126 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
155 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
181 inline void SetState(
const char* value) { m_stateHasBeenSet =
true; m_state.assign(value); }
195 inline void SetStateReason(
const char* value) { m_stateReasonHasBeenSet =
true; m_stateReason.assign(value); }
203 bool m_arnHasBeenSet =
false;
206 bool m_descriptionHasBeenSet =
false;
209 bool m_endpointIdHasBeenSet =
false;
212 bool m_endpointUrlHasBeenSet =
false;
215 bool m_eventBusesHasBeenSet =
false;
218 bool m_nameHasBeenSet =
false;
221 bool m_replicationConfigHasBeenSet =
false;
224 bool m_roleArnHasBeenSet =
false;
227 bool m_routingConfigHasBeenSet =
false;
230 bool m_stateHasBeenSet =
false;
233 bool m_stateReasonHasBeenSet =
false;
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(const char *value)
void SetArn(Aws::String &&value)
AwsEventsEndpointDetails & WithState(const char *value)
const Aws::String & GetEndpointId() const
bool ReplicationConfigHasBeenSet() const
void SetName(const char *value)
bool DescriptionHasBeenSet() const
void SetArn(const Aws::String &value)
AwsEventsEndpointDetails & WithEventBuses(Aws::Vector< AwsEventsEndpointEventBusesDetails > &&value)
bool RoleArnHasBeenSet() const
const Aws::Vector< AwsEventsEndpointEventBusesDetails > & GetEventBuses() const
AwsEventsEndpointDetails & WithEndpointId(Aws::String &&value)
AwsEventsEndpointDetails & WithState(Aws::String &&value)
AwsEventsEndpointDetails & WithReplicationConfig(const AwsEventsEndpointReplicationConfigDetails &value)
void SetName(const Aws::String &value)
AwsEventsEndpointDetails & WithName(const Aws::String &value)
AWS_SECURITYHUB_API AwsEventsEndpointDetails()
AwsEventsEndpointDetails & WithRoleArn(Aws::String &&value)
AwsEventsEndpointDetails & AddEventBuses(const AwsEventsEndpointEventBusesDetails &value)
AwsEventsEndpointDetails & WithArn(const char *value)
AwsEventsEndpointDetails & WithEndpointId(const char *value)
AwsEventsEndpointDetails & WithDescription(const Aws::String &value)
void SetRoutingConfig(AwsEventsEndpointRoutingConfigDetails &&value)
void SetRoutingConfig(const AwsEventsEndpointRoutingConfigDetails &value)
bool EndpointUrlHasBeenSet() const
AwsEventsEndpointDetails & WithName(Aws::String &&value)
void SetStateReason(const char *value)
void SetRoleArn(Aws::String &&value)
void SetEndpointId(const char *value)
AwsEventsEndpointDetails & WithRoleArn(const Aws::String &value)
const Aws::String & GetDescription() const
const AwsEventsEndpointReplicationConfigDetails & GetReplicationConfig() const
AwsEventsEndpointDetails & WithEndpointUrl(Aws::String &&value)
void SetRoleArn(const Aws::String &value)
void SetState(Aws::String &&value)
AwsEventsEndpointDetails & WithReplicationConfig(AwsEventsEndpointReplicationConfigDetails &&value)
bool StateHasBeenSet() const
void SetEndpointUrl(const char *value)
bool RoutingConfigHasBeenSet() const
void SetState(const Aws::String &value)
AwsEventsEndpointDetails & WithRoutingConfig(const AwsEventsEndpointRoutingConfigDetails &value)
void SetDescription(const Aws::String &value)
void SetEndpointId(const Aws::String &value)
const Aws::String & GetRoleArn() const
AwsEventsEndpointDetails & WithName(const char *value)
void SetEndpointId(Aws::String &&value)
AwsEventsEndpointDetails & WithStateReason(Aws::String &&value)
void SetStateReason(Aws::String &&value)
void SetEventBuses(const Aws::Vector< AwsEventsEndpointEventBusesDetails > &value)
void SetName(Aws::String &&value)
AwsEventsEndpointDetails & WithDescription(const char *value)
const Aws::String & GetEndpointUrl() const
void SetRoleArn(const char *value)
bool NameHasBeenSet() const
AwsEventsEndpointDetails & WithArn(Aws::String &&value)
bool StateReasonHasBeenSet() const
const Aws::String & GetStateReason() const
void SetState(const char *value)
AwsEventsEndpointDetails & WithRoutingConfig(AwsEventsEndpointRoutingConfigDetails &&value)
void SetStateReason(const Aws::String &value)
AwsEventsEndpointDetails & AddEventBuses(AwsEventsEndpointEventBusesDetails &&value)
AwsEventsEndpointDetails & WithDescription(Aws::String &&value)
bool EventBusesHasBeenSet() const
void SetDescription(Aws::String &&value)
bool ArnHasBeenSet() const
void SetArn(const char *value)
void SetEndpointUrl(Aws::String &&value)
AwsEventsEndpointDetails & WithEndpointUrl(const char *value)
const Aws::String & GetArn() const
void SetEndpointUrl(const Aws::String &value)
const AwsEventsEndpointRoutingConfigDetails & GetRoutingConfig() const
void SetReplicationConfig(const AwsEventsEndpointReplicationConfigDetails &value)
AwsEventsEndpointDetails & WithArn(const Aws::String &value)
bool EndpointIdHasBeenSet() const
AwsEventsEndpointDetails & WithEventBuses(const Aws::Vector< AwsEventsEndpointEventBusesDetails > &value)
AwsEventsEndpointDetails & WithEndpointUrl(const Aws::String &value)
void SetEventBuses(Aws::Vector< AwsEventsEndpointEventBusesDetails > &&value)
AwsEventsEndpointDetails & WithState(const Aws::String &value)
AwsEventsEndpointDetails & WithStateReason(const Aws::String &value)
AwsEventsEndpointDetails & WithStateReason(const char *value)
const Aws::String & GetState() const
AWS_SECURITYHUB_API AwsEventsEndpointDetails(Aws::Utils::Json::JsonView jsonValue)
AwsEventsEndpointDetails & WithEndpointId(const Aws::String &value)
const Aws::String & GetName() const
AWS_SECURITYHUB_API AwsEventsEndpointDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEventsEndpointDetails & WithRoleArn(const char *value)
void SetReplicationConfig(AwsEventsEndpointReplicationConfigDetails &&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