7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
13template<
typename RESULT_TYPE>
14class AmazonWebServiceResult;
41 template<
typename ProtectionIdT = Aws::String>
42 void SetProtectionId(ProtectionIdT&& value) { m_protectionIdHasBeenSet =
true; m_protectionId = std::forward<ProtectionIdT>(value); }
43 template<
typename ProtectionIdT = Aws::String>
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_protectionIdHasBeenSet =
false;
61 bool m_requestIdHasBeenSet =
false;
AWS_SHIELD_API CreateProtectionResult()=default
CreateProtectionResult & WithProtectionId(ProtectionIdT &&value)
AWS_SHIELD_API CreateProtectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateProtectionResult & WithRequestId(RequestIdT &&value)
void SetProtectionId(ProtectionIdT &&value)
const Aws::String & GetProtectionId() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
AWS_SHIELD_API CreateProtectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue