7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/shield/ShieldRequest.h>
9#include <aws/shield/Shield_EXPORTS.h>
41 template <
typename ProtectionIdT = Aws::String>
43 m_protectionIdHasBeenSet =
true;
44 m_protectionId = std::forward<ProtectionIdT>(value);
46 template <
typename ProtectionIdT = Aws::String>
61 template <
typename ResourceArnT = Aws::String>
63 m_resourceArnHasBeenSet =
true;
64 m_resourceArn = std::forward<ResourceArnT>(value);
66 template <
typename ResourceArnT = Aws::String>
76 bool m_protectionIdHasBeenSet =
false;
77 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