7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/shield/model/Protection.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
41 template<
typename ProtectionT = Protection>
42 void SetProtection(ProtectionT&& value) { m_protectionHasBeenSet =
true; m_protection = std::forward<ProtectionT>(value); }
43 template<
typename ProtectionT = Protection>
50 template<
typename RequestIdT = Aws::String>
51 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
52 template<
typename RequestIdT = Aws::String>
58 bool m_protectionHasBeenSet =
false;
61 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