1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/shield/Shield_EXPORTS.h> 8 #include <aws/shield/ShieldRequest.h> 9 10 namespace Aws 11 { 12 namespace Shield 13 { 14 namespace Model 15 { 16 17 /** 18 */ 19 class AWS_SHIELD_API CreateSubscriptionRequest : public ShieldRequest 20 { 21 public: 22 CreateSubscriptionRequest(); 23 24 // Service request name is the Operation name which will send this request out, 25 // each operation should has unique request name, so that we can get operation's name from this request. 26 // Note: this is not true for response, multiple operations may have the same response name, 27 // so we can not get operation's name from response. GetServiceRequestName()28 inline virtual const char* GetServiceRequestName() const override { return "CreateSubscription"; } 29 30 Aws::String SerializePayload() const override; 31 32 Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; 33 34 }; 35 36 } // namespace Model 37 } // namespace Shield 38 } // namespace Aws 39