7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/events/model/ApiDestinationState.h>
10#include <aws/events/model/ApiDestinationHttpMethod.h>
11#include <aws/core/utils/DateTime.h>
24namespace CloudWatchEvents
51 inline void SetApiDestinationArn(
const char* value) { m_apiDestinationArnHasBeenSet =
true; m_apiDestinationArn.assign(value); }
65 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
91 inline void SetConnectionArn(
const char* value) { m_connectionArnHasBeenSet =
true; m_connectionArn.assign(value); }
105 inline void SetInvocationEndpoint(
const char* value) { m_invocationEndpointHasBeenSet =
true; m_invocationEndpoint.assign(value); }
160 bool m_apiDestinationArnHasBeenSet =
false;
163 bool m_nameHasBeenSet =
false;
166 bool m_apiDestinationStateHasBeenSet =
false;
169 bool m_connectionArnHasBeenSet =
false;
172 bool m_invocationEndpointHasBeenSet =
false;
175 bool m_httpMethodHasBeenSet =
false;
177 int m_invocationRateLimitPerSecond;
178 bool m_invocationRateLimitPerSecondHasBeenSet =
false;
181 bool m_creationTimeHasBeenSet =
false;
184 bool m_lastModifiedTimeHasBeenSet =
false;
const ApiDestinationState & GetApiDestinationState() const
ApiDestination & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetInvocationEndpoint(const Aws::String &value)
AWS_CLOUDWATCHEVENTS_API ApiDestination()
ApiDestination & WithName(const char *value)
const ApiDestinationHttpMethod & GetHttpMethod() const
void SetConnectionArn(Aws::String &&value)
bool ApiDestinationArnHasBeenSet() const
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetApiDestinationArn(const char *value)
ApiDestination & WithName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetConnectionArn() const
const Aws::String & GetApiDestinationArn() const
ApiDestination & WithInvocationRateLimitPerSecond(int value)
ApiDestination & WithInvocationEndpoint(const Aws::String &value)
const Aws::String & GetInvocationEndpoint() const
ApiDestination & WithApiDestinationArn(const Aws::String &value)
const Aws::String & GetName() const
void SetInvocationEndpoint(Aws::String &&value)
void SetName(Aws::String &&value)
bool InvocationEndpointHasBeenSet() const
void SetApiDestinationArn(const Aws::String &value)
ApiDestination & WithInvocationEndpoint(Aws::String &&value)
ApiDestination & WithApiDestinationState(const ApiDestinationState &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetInvocationEndpoint(const char *value)
int GetInvocationRateLimitPerSecond() const
ApiDestination & WithConnectionArn(const Aws::String &value)
bool LastModifiedTimeHasBeenSet() const
AWS_CLOUDWATCHEVENTS_API ApiDestination(Aws::Utils::Json::JsonView jsonValue)
bool CreationTimeHasBeenSet() const
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
ApiDestination & WithApiDestinationState(ApiDestinationState &&value)
void SetName(const char *value)
AWS_CLOUDWATCHEVENTS_API ApiDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(Aws::Utils::DateTime &&value)
ApiDestination & WithCreationTime(const Aws::Utils::DateTime &value)
void SetApiDestinationState(ApiDestinationState &&value)
void SetName(const Aws::String &value)
ApiDestination & WithInvocationEndpoint(const char *value)
ApiDestination & WithLastModifiedTime(const Aws::Utils::DateTime &value)
bool ConnectionArnHasBeenSet() const
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetInvocationRateLimitPerSecond(int value)
ApiDestination & WithName(Aws::String &&value)
bool NameHasBeenSet() const
ApiDestination & WithHttpMethod(const ApiDestinationHttpMethod &value)
ApiDestination & WithHttpMethod(ApiDestinationHttpMethod &&value)
ApiDestination & WithConnectionArn(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
bool InvocationRateLimitPerSecondHasBeenSet() const
void SetConnectionArn(const Aws::String &value)
void SetConnectionArn(const char *value)
ApiDestination & WithCreationTime(Aws::Utils::DateTime &&value)
ApiDestination & WithApiDestinationArn(Aws::String &&value)
bool ApiDestinationStateHasBeenSet() const
void SetApiDestinationArn(Aws::String &&value)
bool HttpMethodHasBeenSet() const
void SetHttpMethod(ApiDestinationHttpMethod &&value)
ApiDestination & WithApiDestinationArn(const char *value)
void SetApiDestinationState(const ApiDestinationState &value)
ApiDestination & WithConnectionArn(Aws::String &&value)
void SetHttpMethod(const ApiDestinationHttpMethod &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue