/** * 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 CreateWhatIfAnalysisResult { public: AWS_FORECASTSERVICE_API CreateWhatIfAnalysisResult(); AWS_FORECASTSERVICE_API CreateWhatIfAnalysisResult(const Aws::AmazonWebServiceResult& result); AWS_FORECASTSERVICE_API CreateWhatIfAnalysisResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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

*/ inline const Aws::String& GetWhatIfAnalysisArn() const{ return m_whatIfAnalysisArn; } /** *

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

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

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

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

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

*/ inline void SetWhatIfAnalysisArn(const char* value) { m_whatIfAnalysisArn.assign(value); } /** *

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

*/ inline CreateWhatIfAnalysisResult& WithWhatIfAnalysisArn(const Aws::String& value) { SetWhatIfAnalysisArn(value); return *this;} /** *

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

*/ inline CreateWhatIfAnalysisResult& WithWhatIfAnalysisArn(Aws::String&& value) { SetWhatIfAnalysisArn(std::move(value)); return *this;} /** *

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

*/ inline CreateWhatIfAnalysisResult& WithWhatIfAnalysisArn(const char* value) { SetWhatIfAnalysisArn(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 CreateWhatIfAnalysisResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateWhatIfAnalysisResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateWhatIfAnalysisResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_whatIfAnalysisArn; Aws::String m_requestId; }; } // namespace Model } // namespace ForecastService } // namespace Aws