7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/shield/ShieldRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetProtectionId(
const char* value) { m_protectionIdHasBeenSet =
true; m_protectionId.assign(value); }
63 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
71 bool m_protectionIdHasBeenSet =
false;
74 bool m_resourceArnHasBeenSet =
false;
void SetResourceArn(Aws::String &&value)
DescribeProtectionRequest & WithProtectionId(const char *value)
DescribeProtectionRequest & WithResourceArn(Aws::String &&value)
void SetResourceArn(const char *value)
DescribeProtectionRequest & WithProtectionId(const Aws::String &value)
DescribeProtectionRequest & WithResourceArn(const Aws::String &value)
void SetResourceArn(const Aws::String &value)
AWS_SHIELD_API Aws::String SerializePayload() const override
const Aws::String & GetResourceArn() const
virtual const char * GetServiceRequestName() const override
bool ResourceArnHasBeenSet() const
void SetProtectionId(const Aws::String &value)
DescribeProtectionRequest & WithResourceArn(const char *value)
AWS_SHIELD_API DescribeProtectionRequest()
const Aws::String & GetProtectionId() const
bool ProtectionIdHasBeenSet() const
void SetProtectionId(Aws::String &&value)
void SetProtectionId(const char *value)
AWS_SHIELD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeProtectionRequest & WithProtectionId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String