7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/shield/Shield_EXPORTS.h>
9#include <aws/shield/model/Protection.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
35 template <
typename ProtectionT = Protection>
37 m_protectionHasBeenSet =
true;
38 m_protection = std::forward<ProtectionT>(value);
40 template <
typename ProtectionT = Protection>
50 template <
typename RequestIdT = Aws::String>
52 m_requestIdHasBeenSet =
true;
53 m_requestId = std::forward<RequestIdT>(value);
55 template <
typename RequestIdT = Aws::String>
65 bool m_protectionHasBeenSet =
false;
66 bool m_requestIdHasBeenSet =
false;
DescribeProtectionResult & WithRequestId(RequestIdT &&value)
const Protection & GetProtection() const
AWS_SHIELD_API DescribeProtectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SHIELD_API DescribeProtectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetProtection(ProtectionT &&value)
void SetRequestId(RequestIdT &&value)
DescribeProtectionResult & WithProtection(ProtectionT &&value)
const Aws::String & GetRequestId() const
AWS_SHIELD_API DescribeProtectionResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue