/** * 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 DeleteForecastRequest : public ForecastServiceRequest { public: AWS_FORECASTSERVICE_API DeleteForecastRequest(); // 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 "DeleteForecast"; } AWS_FORECASTSERVICE_API Aws::String SerializePayload() const override; AWS_FORECASTSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Resource Name (ARN) of the forecast to delete.

*/ inline const Aws::String& GetForecastArn() const{ return m_forecastArn; } /** *

The Amazon Resource Name (ARN) of the forecast to delete.

*/ inline bool ForecastArnHasBeenSet() const { return m_forecastArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the forecast to delete.

*/ inline void SetForecastArn(const Aws::String& value) { m_forecastArnHasBeenSet = true; m_forecastArn = value; } /** *

The Amazon Resource Name (ARN) of the forecast to delete.

*/ inline void SetForecastArn(Aws::String&& value) { m_forecastArnHasBeenSet = true; m_forecastArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the forecast to delete.

*/ inline void SetForecastArn(const char* value) { m_forecastArnHasBeenSet = true; m_forecastArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the forecast to delete.

*/ inline DeleteForecastRequest& WithForecastArn(const Aws::String& value) { SetForecastArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the forecast to delete.

*/ inline DeleteForecastRequest& WithForecastArn(Aws::String&& value) { SetForecastArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the forecast to delete.

*/ inline DeleteForecastRequest& WithForecastArn(const char* value) { SetForecastArn(value); return *this;} private: Aws::String m_forecastArn; bool m_forecastArnHasBeenSet = false; }; } // namespace Model } // namespace ForecastService } // namespace Aws