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); }
74 inline void SetConnectionArn(
const char* value) { m_connectionArnHasBeenSet =
true; m_connectionArn.assign(value); }
88 inline void SetInvocationEndpoint(
const char* value) { m_invocationEndpointHasBeenSet =
true; m_invocationEndpoint.assign(value); }
119 bool m_nameHasBeenSet =
false;
122 bool m_descriptionHasBeenSet =
false;
125 bool m_connectionArnHasBeenSet =
false;
128 bool m_invocationEndpointHasBeenSet =
false;
131 bool m_httpMethodHasBeenSet =
false;
133 int m_invocationRateLimitPerSecond;
134 bool m_invocationRateLimitPerSecondHasBeenSet =
false;
UpdateApiDestinationRequest & WithConnectionArn(const Aws::String &value)
UpdateApiDestinationRequest & WithName(Aws::String &&value)
AWS_CLOUDWATCHEVENTS_API UpdateApiDestinationRequest()
void SetDescription(const char *value)
bool ConnectionArnHasBeenSet() const
const Aws::String & GetName() const
const ApiDestinationHttpMethod & GetHttpMethod() const
void SetInvocationRateLimitPerSecond(int value)
bool HttpMethodHasBeenSet() const
UpdateApiDestinationRequest & WithHttpMethod(const ApiDestinationHttpMethod &value)
void SetDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
UpdateApiDestinationRequest & WithHttpMethod(ApiDestinationHttpMethod &&value)
virtual const char * GetServiceRequestName() const override
void SetInvocationEndpoint(Aws::String &&value)
UpdateApiDestinationRequest & WithDescription(Aws::String &&value)
const Aws::String & GetConnectionArn() const
void SetHttpMethod(ApiDestinationHttpMethod &&value)
bool InvocationRateLimitPerSecondHasBeenSet() const
UpdateApiDestinationRequest & WithInvocationEndpoint(const char *value)
UpdateApiDestinationRequest & WithInvocationRateLimitPerSecond(int value)
void SetHttpMethod(const ApiDestinationHttpMethod &value)
void SetName(Aws::String &&value)
void SetName(const Aws::String &value)
UpdateApiDestinationRequest & WithName(const Aws::String &value)
UpdateApiDestinationRequest & WithConnectionArn(Aws::String &&value)
int GetInvocationRateLimitPerSecond() const
AWS_CLOUDWATCHEVENTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateApiDestinationRequest & WithInvocationEndpoint(Aws::String &&value)
const Aws::String & GetDescription() const
bool NameHasBeenSet() const
UpdateApiDestinationRequest & WithConnectionArn(const char *value)
bool InvocationEndpointHasBeenSet() const
UpdateApiDestinationRequest & WithDescription(const char *value)
void SetInvocationEndpoint(const Aws::String &value)
void SetConnectionArn(const Aws::String &value)
void SetInvocationEndpoint(const char *value)
UpdateApiDestinationRequest & WithDescription(const Aws::String &value)
bool DescriptionHasBeenSet() const
UpdateApiDestinationRequest & WithName(const char *value)
AWS_CLOUDWATCHEVENTS_API Aws::String SerializePayload() const override
void SetConnectionArn(const char *value)
void SetName(const char *value)
UpdateApiDestinationRequest & WithInvocationEndpoint(const Aws::String &value)
void SetConnectionArn(Aws::String &&value)
const Aws::String & GetInvocationEndpoint() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String