7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/shield/Shield_EXPORTS.h>
10#include <aws/shield/model/Protection.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
36 template <
typename ProtectionT = Protection>
38 m_protectionHasBeenSet =
true;
39 m_protection = std::forward<ProtectionT>(value);
41 template <
typename ProtectionT = Protection>
51 template <
typename RequestIdT = Aws::String>
53 m_requestIdHasBeenSet =
true;
54 m_requestId = std::forward<RequestIdT>(value);
56 template <
typename RequestIdT = Aws::String>
69 bool m_protectionHasBeenSet =
false;
70 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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