7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/events/CloudWatchEventsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/events/model/ApiDestinationHttpMethod.h>
15namespace CloudWatchEvents
46 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
60 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
75 inline void SetConnectionArn(
const char* value) { m_connectionArnHasBeenSet =
true; m_connectionArn.assign(value); }
89 inline void SetInvocationEndpoint(
const char* value) { m_invocationEndpointHasBeenSet =
true; m_invocationEndpoint.assign(value); }
120 bool m_nameHasBeenSet =
false;
123 bool m_descriptionHasBeenSet =
false;
126 bool m_connectionArnHasBeenSet =
false;
129 bool m_invocationEndpointHasBeenSet =
false;
132 bool m_httpMethodHasBeenSet =
false;
134 int m_invocationRateLimitPerSecond;
135 bool m_invocationRateLimitPerSecondHasBeenSet =
false;
void SetName(Aws::String &&value)
CreateApiDestinationRequest & WithDescription(const char *value)
const ApiDestinationHttpMethod & GetHttpMethod() const
CreateApiDestinationRequest & WithHttpMethod(const ApiDestinationHttpMethod &value)
AWS_CLOUDWATCHEVENTS_API Aws::String SerializePayload() const override
CreateApiDestinationRequest & WithInvocationEndpoint(Aws::String &&value)
bool InvocationRateLimitPerSecondHasBeenSet() const
void SetDescription(const Aws::String &value)
CreateApiDestinationRequest & WithConnectionArn(Aws::String &&value)
CreateApiDestinationRequest & WithName(const Aws::String &value)
CreateApiDestinationRequest & WithHttpMethod(ApiDestinationHttpMethod &&value)
CreateApiDestinationRequest & WithInvocationEndpoint(const char *value)
bool InvocationEndpointHasBeenSet() const
void SetDescription(const char *value)
CreateApiDestinationRequest & WithDescription(Aws::String &&value)
const Aws::String & GetName() const
void SetInvocationEndpoint(const char *value)
CreateApiDestinationRequest & WithInvocationRateLimitPerSecond(int value)
void SetInvocationRateLimitPerSecond(int value)
const Aws::String & GetInvocationEndpoint() const
AWS_CLOUDWATCHEVENTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ConnectionArnHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetHttpMethod(ApiDestinationHttpMethod &&value)
bool HttpMethodHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetHttpMethod(const ApiDestinationHttpMethod &value)
void SetName(const char *value)
const Aws::String & GetConnectionArn() const
void SetInvocationEndpoint(Aws::String &&value)
void SetConnectionArn(const Aws::String &value)
int GetInvocationRateLimitPerSecond() const
void SetInvocationEndpoint(const Aws::String &value)
CreateApiDestinationRequest & WithConnectionArn(const Aws::String &value)
void SetConnectionArn(Aws::String &&value)
const Aws::String & GetDescription() const
void SetDescription(Aws::String &&value)
CreateApiDestinationRequest & WithDescription(const Aws::String &value)
CreateApiDestinationRequest & WithInvocationEndpoint(const Aws::String &value)
bool NameHasBeenSet() const
void SetName(const Aws::String &value)
CreateApiDestinationRequest & WithName(Aws::String &&value)
void SetConnectionArn(const char *value)
CreateApiDestinationRequest & WithConnectionArn(const char *value)
CreateApiDestinationRequest & WithName(const char *value)
AWS_CLOUDWATCHEVENTS_API CreateApiDestinationRequest()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String