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
44 template<
typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
46 template<
typename NameT = Aws::String>
56 template<
typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
58 template<
typename DescriptionT = Aws::String>
68 template<
typename ConnectionArnT = Aws::String>
69 void SetConnectionArn(ConnectionArnT&& value) { m_connectionArnHasBeenSet =
true; m_connectionArn = std::forward<ConnectionArnT>(value); }
70 template<
typename ConnectionArnT = Aws::String>
80 template<
typename InvocationEndpo
intT = Aws::String>
81 void SetInvocationEndpoint(InvocationEndpointT&& value) { m_invocationEndpointHasBeenSet =
true; m_invocationEndpoint = std::forward<InvocationEndpointT>(value); }
82 template<
typename InvocationEndpo
intT = Aws::String>
109 bool m_nameHasBeenSet =
false;
112 bool m_descriptionHasBeenSet =
false;
115 bool m_connectionArnHasBeenSet =
false;
118 bool m_invocationEndpointHasBeenSet =
false;
121 bool m_httpMethodHasBeenSet =
false;
123 int m_invocationRateLimitPerSecond{0};
124 bool m_invocationRateLimitPerSecondHasBeenSet =
false;
UpdateApiDestinationRequest & WithDescription(DescriptionT &&value)
bool ConnectionArnHasBeenSet() const
const Aws::String & GetName() const
UpdateApiDestinationRequest & WithHttpMethod(ApiDestinationHttpMethod value)
void SetInvocationRateLimitPerSecond(int value)
bool HttpMethodHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetConnectionArn() const
void SetHttpMethod(ApiDestinationHttpMethod value)
void SetDescription(DescriptionT &&value)
bool InvocationRateLimitPerSecondHasBeenSet() const
void SetInvocationEndpoint(InvocationEndpointT &&value)
UpdateApiDestinationRequest & WithName(NameT &&value)
void SetConnectionArn(ConnectionArnT &&value)
UpdateApiDestinationRequest & WithInvocationRateLimitPerSecond(int value)
void SetName(NameT &&value)
UpdateApiDestinationRequest & WithInvocationEndpoint(InvocationEndpointT &&value)
int GetInvocationRateLimitPerSecond() const
AWS_CLOUDWATCHEVENTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetDescription() const
bool NameHasBeenSet() const
bool InvocationEndpointHasBeenSet() const
UpdateApiDestinationRequest & WithConnectionArn(ConnectionArnT &&value)
ApiDestinationHttpMethod GetHttpMethod() const
AWS_CLOUDWATCHEVENTS_API UpdateApiDestinationRequest()=default
bool DescriptionHasBeenSet() const
AWS_CLOUDWATCHEVENTS_API Aws::String SerializePayload() const override
const Aws::String & GetInvocationEndpoint() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String