/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/ce/CostExplorer_EXPORTS.h> #include <aws/ce/CostExplorerRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace CostExplorer { namespace Model { /** */ class DeleteAnomalySubscriptionRequest : public CostExplorerRequest { public: AWS_COSTEXPLORER_API DeleteAnomalySubscriptionRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteAnomalySubscription"; } AWS_COSTEXPLORER_API Aws::String SerializePayload() const override; AWS_COSTEXPLORER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** * <p>The unique identifier of the cost anomaly subscription that you want to * delete. </p> */ inline const Aws::String& GetSubscriptionArn() const{ return m_subscriptionArn; } /** * <p>The unique identifier of the cost anomaly subscription that you want to * delete. </p> */ inline bool SubscriptionArnHasBeenSet() const { return m_subscriptionArnHasBeenSet; } /** * <p>The unique identifier of the cost anomaly subscription that you want to * delete. </p> */ inline void SetSubscriptionArn(const Aws::String& value) { m_subscriptionArnHasBeenSet = true; m_subscriptionArn = value; } /** * <p>The unique identifier of the cost anomaly subscription that you want to * delete. </p> */ inline void SetSubscriptionArn(Aws::String&& value) { m_subscriptionArnHasBeenSet = true; m_subscriptionArn = std::move(value); } /** * <p>The unique identifier of the cost anomaly subscription that you want to * delete. </p> */ inline void SetSubscriptionArn(const char* value) { m_subscriptionArnHasBeenSet = true; m_subscriptionArn.assign(value); } /** * <p>The unique identifier of the cost anomaly subscription that you want to * delete. </p> */ inline DeleteAnomalySubscriptionRequest& WithSubscriptionArn(const Aws::String& value) { SetSubscriptionArn(value); return *this;} /** * <p>The unique identifier of the cost anomaly subscription that you want to * delete. </p> */ inline DeleteAnomalySubscriptionRequest& WithSubscriptionArn(Aws::String&& value) { SetSubscriptionArn(std::move(value)); return *this;} /** * <p>The unique identifier of the cost anomaly subscription that you want to * delete. </p> */ inline DeleteAnomalySubscriptionRequest& WithSubscriptionArn(const char* value) { SetSubscriptionArn(value); return *this;} private: Aws::String m_subscriptionArn; bool m_subscriptionArnHasBeenSet = false; }; } // namespace Model } // namespace CostExplorer } // namespace Aws