/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ForecastService { namespace Model { class CreateWhatIfForecastResult { public: AWS_FORECASTSERVICE_API CreateWhatIfForecastResult(); AWS_FORECASTSERVICE_API CreateWhatIfForecastResult(const Aws::AmazonWebServiceResult& result); AWS_FORECASTSERVICE_API CreateWhatIfForecastResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the what-if forecast.

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

The Amazon Resource Name (ARN) of the what-if forecast.

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

The Amazon Resource Name (ARN) of the what-if forecast.

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

The Amazon Resource Name (ARN) of the what-if forecast.

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

The Amazon Resource Name (ARN) of the what-if forecast.

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

The Amazon Resource Name (ARN) of the what-if forecast.

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

The Amazon Resource Name (ARN) of the what-if forecast.

*/ inline CreateWhatIfForecastResult& WithWhatIfForecastArn(const char* value) { SetWhatIfForecastArn(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateWhatIfForecastResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateWhatIfForecastResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateWhatIfForecastResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_whatIfForecastArn; Aws::String m_requestId; }; } // namespace Model } // namespace ForecastService } // namespace Aws