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>
59 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
73 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
86 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
87 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
142 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
158 inline void SetEndpointId(
const char* value) { m_endpointIdHasBeenSet =
true; m_endpointId.assign(value); }
172 inline void SetEndpointUrl(
const char* value) { m_endpointUrlHasBeenSet =
true; m_endpointUrl.assign(value); }
198 inline void SetStateReason(
const char* value) { m_stateReasonHasBeenSet =
true; m_stateReason.assign(value); }
230 bool m_nameHasBeenSet =
false;
233 bool m_descriptionHasBeenSet =
false;
236 bool m_arnHasBeenSet =
false;
239 bool m_routingConfigHasBeenSet =
false;
242 bool m_replicationConfigHasBeenSet =
false;
245 bool m_eventBusesHasBeenSet =
false;
248 bool m_roleArnHasBeenSet =
false;
251 bool m_endpointIdHasBeenSet =
false;
254 bool m_endpointUrlHasBeenSet =
false;
257 bool m_stateHasBeenSet =
false;
260 bool m_stateReasonHasBeenSet =
false;
263 bool m_creationTimeHasBeenSet =
false;
266 bool m_lastModifiedTimeHasBeenSet =
false;
Endpoint & WithRoleArn(Aws::String &&value)
void SetReplicationConfig(const ReplicationConfig &value)
const RoutingConfig & GetRoutingConfig() const
Endpoint & WithArn(const Aws::String &value)
AWS_EVENTBRIDGE_API Endpoint()
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Endpoint & WithArn(const char *value)
void SetRoleArn(Aws::String &&value)
Endpoint & AddEventBuses(const EndpointEventBus &value)
Endpoint & WithRoutingConfig(const RoutingConfig &value)
Endpoint & WithStateReason(Aws::String &&value)
Endpoint & WithRoleArn(const char *value)
void SetArn(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
Endpoint & WithStateReason(const char *value)
Endpoint & WithEndpointId(Aws::String &&value)
void SetStateReason(Aws::String &&value)
Endpoint & WithDescription(const char *value)
const Aws::String & GetEndpointId() const
Endpoint & WithEndpointId(const Aws::String &value)
bool ArnHasBeenSet() const
Endpoint & WithName(Aws::String &&value)
void SetDescription(const char *value)
void SetState(const EndpointState &value)
Endpoint & WithEventBuses(const Aws::Vector< EndpointEventBus > &value)
Endpoint & WithReplicationConfig(const ReplicationConfig &value)
const ReplicationConfig & GetReplicationConfig() const
Endpoint & WithStateReason(const Aws::String &value)
void SetEndpointId(const char *value)
Endpoint & AddEventBuses(EndpointEventBus &&value)
Endpoint & WithState(EndpointState &&value)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
Endpoint & WithLastModifiedTime(const Aws::Utils::DateTime &value)
bool EndpointUrlHasBeenSet() const
Endpoint & WithEndpointUrl(Aws::String &&value)
void SetEndpointUrl(const Aws::String &value)
Endpoint & WithArn(Aws::String &&value)
Endpoint & WithRoleArn(const Aws::String &value)
void SetRoutingConfig(RoutingConfig &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
bool EndpointIdHasBeenSet() const
const Aws::String & GetName() const
void SetEndpointUrl(Aws::String &&value)
bool RoleArnHasBeenSet() const
void SetName(const char *value)
void SetEndpointId(Aws::String &&value)
void SetDescription(Aws::String &&value)
Endpoint & WithName(const Aws::String &value)
void SetReplicationConfig(ReplicationConfig &&value)
bool CreationTimeHasBeenSet() const
AWS_EVENTBRIDGE_API Endpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
Endpoint & WithDescription(Aws::String &&value)
Endpoint & WithDescription(const Aws::String &value)
Endpoint & WithRoutingConfig(RoutingConfig &&value)
bool DescriptionHasBeenSet() const
bool ReplicationConfigHasBeenSet() const
const EndpointState & GetState() const
void SetDescription(const Aws::String &value)
bool StateHasBeenSet() const
const Aws::String & GetRoleArn() const
void SetEventBuses(Aws::Vector< EndpointEventBus > &&value)
Endpoint & WithEndpointId(const char *value)
const Aws::String & GetEndpointUrl() const
const Aws::String & GetDescription() const
Endpoint & WithName(const char *value)
Endpoint & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Endpoint & WithCreationTime(const Aws::Utils::DateTime &value)
void SetEndpointId(const Aws::String &value)
bool RoutingConfigHasBeenSet() const
void SetArn(Aws::String &&value)
Endpoint & WithEventBuses(Aws::Vector< EndpointEventBus > &&value)
void SetRoutingConfig(const RoutingConfig &value)
bool LastModifiedTimeHasBeenSet() const
Endpoint & WithReplicationConfig(ReplicationConfig &&value)
bool EventBusesHasBeenSet() const
void SetState(EndpointState &&value)
void SetName(const Aws::String &value)
void SetEventBuses(const Aws::Vector< EndpointEventBus > &value)
void SetStateReason(const Aws::String &value)
const Aws::String & GetArn() const
bool NameHasBeenSet() const
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetStateReason() const
void SetStateReason(const char *value)
void SetEndpointUrl(const char *value)
Endpoint & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::Vector< EndpointEventBus > & GetEventBuses() const
void SetRoleArn(const Aws::String &value)
Endpoint & WithEndpointUrl(const Aws::String &value)
Endpoint & WithEndpointUrl(const char *value)
void SetArn(const Aws::String &value)
AWS_EVENTBRIDGE_API Endpoint(Aws::Utils::Json::JsonView jsonValue)
bool StateReasonHasBeenSet() const
Endpoint & WithState(const EndpointState &value)
void SetRoleArn(const char *value)
void SetName(Aws::String &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&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