/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides a summary of the what-if analysis properties used in the
* ListWhatIfAnalyses operation. To get the complete set of properties, call
* the DescribeWhatIfAnalysis operation, and provide the
* WhatIfAnalysisArn
that is listed in the summary.See
* Also:
AWS
* API Reference
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 bool WhatIfAnalysisArnHasBeenSet() const { return m_whatIfAnalysisArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the what-if analysis.
*/ inline void SetWhatIfAnalysisArn(const Aws::String& value) { m_whatIfAnalysisArnHasBeenSet = true; m_whatIfAnalysisArn = value; } /** *The Amazon Resource Name (ARN) of the what-if analysis.
*/ inline void SetWhatIfAnalysisArn(Aws::String&& value) { m_whatIfAnalysisArnHasBeenSet = true; m_whatIfAnalysisArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the what-if analysis.
*/ inline void SetWhatIfAnalysisArn(const char* value) { m_whatIfAnalysisArnHasBeenSet = true; m_whatIfAnalysisArn.assign(value); } /** *The Amazon Resource Name (ARN) of the what-if analysis.
*/ inline WhatIfAnalysisSummary& WithWhatIfAnalysisArn(const Aws::String& value) { SetWhatIfAnalysisArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the what-if analysis.
*/ inline WhatIfAnalysisSummary& WithWhatIfAnalysisArn(Aws::String&& value) { SetWhatIfAnalysisArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the what-if analysis.
*/ inline WhatIfAnalysisSummary& WithWhatIfAnalysisArn(const char* value) { SetWhatIfAnalysisArn(value); return *this;} /** *The name of the what-if analysis.
*/ inline const Aws::String& GetWhatIfAnalysisName() const{ return m_whatIfAnalysisName; } /** *The name of the what-if analysis.
*/ inline bool WhatIfAnalysisNameHasBeenSet() const { return m_whatIfAnalysisNameHasBeenSet; } /** *The name of the what-if analysis.
*/ inline void SetWhatIfAnalysisName(const Aws::String& value) { m_whatIfAnalysisNameHasBeenSet = true; m_whatIfAnalysisName = value; } /** *The name of the what-if analysis.
*/ inline void SetWhatIfAnalysisName(Aws::String&& value) { m_whatIfAnalysisNameHasBeenSet = true; m_whatIfAnalysisName = std::move(value); } /** *The name of the what-if analysis.
*/ inline void SetWhatIfAnalysisName(const char* value) { m_whatIfAnalysisNameHasBeenSet = true; m_whatIfAnalysisName.assign(value); } /** *The name of the what-if analysis.
*/ inline WhatIfAnalysisSummary& WithWhatIfAnalysisName(const Aws::String& value) { SetWhatIfAnalysisName(value); return *this;} /** *The name of the what-if analysis.
*/ inline WhatIfAnalysisSummary& WithWhatIfAnalysisName(Aws::String&& value) { SetWhatIfAnalysisName(std::move(value)); return *this;} /** *The name of the what-if analysis.
*/ inline WhatIfAnalysisSummary& WithWhatIfAnalysisName(const char* value) { SetWhatIfAnalysisName(value); return *this;} /** *The Amazon Resource Name (ARN) of the baseline forecast that is being used in * this what-if analysis.
*/ inline const Aws::String& GetForecastArn() const{ return m_forecastArn; } /** *The Amazon Resource Name (ARN) of the baseline forecast that is being used in * this what-if analysis.
*/ inline bool ForecastArnHasBeenSet() const { return m_forecastArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the baseline forecast that is being used in * this what-if analysis.
*/ inline void SetForecastArn(const Aws::String& value) { m_forecastArnHasBeenSet = true; m_forecastArn = value; } /** *The Amazon Resource Name (ARN) of the baseline forecast that is being used in * this what-if analysis.
*/ inline void SetForecastArn(Aws::String&& value) { m_forecastArnHasBeenSet = true; m_forecastArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the baseline forecast that is being used in * this what-if analysis.
*/ inline void SetForecastArn(const char* value) { m_forecastArnHasBeenSet = true; m_forecastArn.assign(value); } /** *The Amazon Resource Name (ARN) of the baseline forecast that is being used in * this what-if analysis.
*/ inline WhatIfAnalysisSummary& WithForecastArn(const Aws::String& value) { SetForecastArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the baseline forecast that is being used in * this what-if analysis.
*/ inline WhatIfAnalysisSummary& WithForecastArn(Aws::String&& value) { SetForecastArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the baseline forecast that is being used in * this what-if analysis.
*/ inline WhatIfAnalysisSummary& WithForecastArn(const char* value) { SetForecastArn(value); return *this;} /** *The status of the what-if analysis. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* CREATE_STOPPING
, CREATE_STOPPED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
The Status
of
* the what-if analysis must be ACTIVE
before you can access the
* analysis.
The status of the what-if analysis. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* CREATE_STOPPING
, CREATE_STOPPED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
The Status
of
* the what-if analysis must be ACTIVE
before you can access the
* analysis.
The status of the what-if analysis. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* CREATE_STOPPING
, CREATE_STOPPED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
The Status
of
* the what-if analysis must be ACTIVE
before you can access the
* analysis.
The status of the what-if analysis. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* CREATE_STOPPING
, CREATE_STOPPED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
The Status
of
* the what-if analysis must be ACTIVE
before you can access the
* analysis.
The status of the what-if analysis. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* CREATE_STOPPING
, CREATE_STOPPED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
The Status
of
* the what-if analysis must be ACTIVE
before you can access the
* analysis.
The status of the what-if analysis. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* CREATE_STOPPING
, CREATE_STOPPED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
The Status
of
* the what-if analysis must be ACTIVE
before you can access the
* analysis.
The status of the what-if analysis. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* CREATE_STOPPING
, CREATE_STOPPED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
The Status
of
* the what-if analysis must be ACTIVE
before you can access the
* analysis.
The status of the what-if analysis. States include:
* ACTIVE
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* CREATE_STOPPING
, CREATE_STOPPED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
The Status
of
* the what-if analysis must be ACTIVE
before you can access the
* analysis.
If an error occurred, an informational message about the error.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *If an error occurred, an informational message about the error.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *If an error occurred, an informational message about the error.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *If an error occurred, an informational message about the error.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *If an error occurred, an informational message about the error.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *If an error occurred, an informational message about the error.
*/ inline WhatIfAnalysisSummary& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *If an error occurred, an informational message about the error.
*/ inline WhatIfAnalysisSummary& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *If an error occurred, an informational message about the error.
*/ inline WhatIfAnalysisSummary& WithMessage(const char* value) { SetMessage(value); return *this;} /** *When the what-if analysis was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *When the what-if analysis was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *When the what-if analysis was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *When the what-if analysis was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *When the what-if analysis was created.
*/ inline WhatIfAnalysisSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *When the what-if analysis was created.
*/ inline WhatIfAnalysisSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The last time the resource was modified. The timestamp depends on the status * of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
CREATE_STOPPING
- The
* current timestamp.
CREATE_STOPPED
- When the job
* stopped.
ACTIVE
or CREATE_FAILED
-
* When the job finished or failed.
The last time the resource was modified. The timestamp depends on the status * of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
CREATE_STOPPING
- The
* current timestamp.
CREATE_STOPPED
- When the job
* stopped.
ACTIVE
or CREATE_FAILED
-
* When the job finished or failed.
The last time the resource was modified. The timestamp depends on the status * of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
CREATE_STOPPING
- The
* current timestamp.
CREATE_STOPPED
- When the job
* stopped.
ACTIVE
or CREATE_FAILED
-
* When the job finished or failed.
The last time the resource was modified. The timestamp depends on the status * of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
CREATE_STOPPING
- The
* current timestamp.
CREATE_STOPPED
- When the job
* stopped.
ACTIVE
or CREATE_FAILED
-
* When the job finished or failed.
The last time the resource was modified. The timestamp depends on the status * of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
CREATE_STOPPING
- The
* current timestamp.
CREATE_STOPPED
- When the job
* stopped.
ACTIVE
or CREATE_FAILED
-
* When the job finished or failed.
The last time the resource was modified. The timestamp depends on the status * of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
CREATE_STOPPING
- The
* current timestamp.
CREATE_STOPPED
- When the job
* stopped.
ACTIVE
or CREATE_FAILED
-
* When the job finished or failed.