/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace ForecastService { namespace Model { /** */ class DeleteWhatIfForecastRequest : public ForecastServiceRequest { public: AWS_FORECASTSERVICE_API DeleteWhatIfForecastRequest(); // 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 "DeleteWhatIfForecast"; } AWS_FORECASTSERVICE_API Aws::String SerializePayload() const override; AWS_FORECASTSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Resource Name (ARN) of the what-if forecast that you want to * delete.

*/ inline const Aws::String& GetWhatIfForecastArn() const{ return m_whatIfForecastArn; } /** *

The Amazon Resource Name (ARN) of the what-if forecast that you want to * delete.

*/ inline bool WhatIfForecastArnHasBeenSet() const { return m_whatIfForecastArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the what-if forecast that you want to * delete.

*/ inline void SetWhatIfForecastArn(const Aws::String& value) { m_whatIfForecastArnHasBeenSet = true; m_whatIfForecastArn = value; } /** *

The Amazon Resource Name (ARN) of the what-if forecast that you want to * delete.

*/ inline void SetWhatIfForecastArn(Aws::String&& value) { m_whatIfForecastArnHasBeenSet = true; m_whatIfForecastArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the what-if forecast that you want to * delete.

*/ inline void SetWhatIfForecastArn(const char* value) { m_whatIfForecastArnHasBeenSet = true; m_whatIfForecastArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the what-if forecast that you want to * delete.

*/ inline DeleteWhatIfForecastRequest& WithWhatIfForecastArn(const Aws::String& value) { SetWhatIfForecastArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the what-if forecast that you want to * delete.

*/ inline DeleteWhatIfForecastRequest& WithWhatIfForecastArn(Aws::String&& value) { SetWhatIfForecastArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the what-if forecast that you want to * delete.

*/ inline DeleteWhatIfForecastRequest& WithWhatIfForecastArn(const char* value) { SetWhatIfForecastArn(value); return *this;} private: Aws::String m_whatIfForecastArn; bool m_whatIfForecastArnHasBeenSet = false; }; } // namespace Model } // namespace ForecastService } // namespace Aws