7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/shield/ShieldRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 template<
typename ProtectionIdT = Aws::String>
46 void SetProtectionId(ProtectionIdT&& value) { m_protectionIdHasBeenSet =
true; m_protectionId = std::forward<ProtectionIdT>(value); }
47 template<
typename ProtectionIdT = Aws::String>
59 template<
typename ResourceArnT = Aws::String>
60 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
61 template<
typename ResourceArnT = Aws::String>
67 bool m_protectionIdHasBeenSet =
false;
70 bool m_resourceArnHasBeenSet =
false;
AWS_SHIELD_API Aws::String SerializePayload() const override
const Aws::String & GetResourceArn() const
virtual const char * GetServiceRequestName() const override
bool ResourceArnHasBeenSet() const
DescribeProtectionRequest & WithResourceArn(ResourceArnT &&value)
const Aws::String & GetProtectionId() const
bool ProtectionIdHasBeenSet() const
void SetProtectionId(ProtectionIdT &&value)
void SetResourceArn(ResourceArnT &&value)
AWS_SHIELD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeProtectionRequest & WithProtectionId(ProtectionIdT &&value)
AWS_SHIELD_API DescribeProtectionRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String