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"; }
46 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
71 bool m_resourceArnHasBeenSet =
false;
74 bool m_actionHasBeenSet =
false;
void SetResourceArn(const char *value)
bool ActionHasBeenSet() const
const ResponseAction & GetAction() const
EnableApplicationLayerAutomaticResponseRequest & WithResourceArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_SHIELD_API EnableApplicationLayerAutomaticResponseRequest()
EnableApplicationLayerAutomaticResponseRequest & WithAction(const ResponseAction &value)
EnableApplicationLayerAutomaticResponseRequest & WithResourceArn(Aws::String &&value)
EnableApplicationLayerAutomaticResponseRequest & WithAction(ResponseAction &&value)
AWS_SHIELD_API Aws::String SerializePayload() const override
void SetResourceArn(const Aws::String &value)
void SetAction(const ResponseAction &value)
EnableApplicationLayerAutomaticResponseRequest & WithResourceArn(const char *value)
void SetResourceArn(Aws::String &&value)
bool ResourceArnHasBeenSet() const
const Aws::String & GetResourceArn() const
void SetAction(ResponseAction &&value)
AWS_SHIELD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String