7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/shield/ShieldRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/shield/model/ResponseAction.h>
31 inline virtual const char*
GetServiceRequestName()
const override {
return "EnableApplicationLayerAutomaticResponse"; }
44 template<
typename ResourceArnT = Aws::String>
45 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
46 template<
typename ResourceArnT = Aws::String>
61 template<
typename ActionT = ResponseAction>
62 void SetAction(ActionT&& value) { m_actionHasBeenSet =
true; m_action = std::forward<ActionT>(value); }
63 template<
typename ActionT = ResponseAction>
69 bool m_resourceArnHasBeenSet =
false;
72 bool m_actionHasBeenSet =
false;
bool ActionHasBeenSet() const
const ResponseAction & GetAction() const
void SetAction(ActionT &&value)
void SetResourceArn(ResourceArnT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SHIELD_API Aws::String SerializePayload() const override
EnableApplicationLayerAutomaticResponseRequest & WithAction(ActionT &&value)
AWS_SHIELD_API EnableApplicationLayerAutomaticResponseRequest()=default
bool ResourceArnHasBeenSet() const
const Aws::String & GetResourceArn() const
AWS_SHIELD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
EnableApplicationLayerAutomaticResponseRequest & WithResourceArn(ResourceArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String