/**
* 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 forecast properties used in the
* ListWhatIfForecasts operation. To get the complete set of properties,
* call the DescribeWhatIfForecast operation, and provide the
* WhatIfForecastArn
that is listed in the summary.See
* Also:
AWS
* API Reference
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 bool WhatIfForecastArnHasBeenSet() const { return m_whatIfForecastArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the what-if forecast.
*/ inline void SetWhatIfForecastArn(const Aws::String& value) { m_whatIfForecastArnHasBeenSet = true; m_whatIfForecastArn = value; } /** *The Amazon Resource Name (ARN) of the what-if forecast.
*/ inline void SetWhatIfForecastArn(Aws::String&& value) { m_whatIfForecastArnHasBeenSet = true; m_whatIfForecastArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the what-if forecast.
*/ inline void SetWhatIfForecastArn(const char* value) { m_whatIfForecastArnHasBeenSet = true; m_whatIfForecastArn.assign(value); } /** *The Amazon Resource Name (ARN) of the what-if forecast.
*/ inline WhatIfForecastSummary& WithWhatIfForecastArn(const Aws::String& value) { SetWhatIfForecastArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the what-if forecast.
*/ inline WhatIfForecastSummary& WithWhatIfForecastArn(Aws::String&& value) { SetWhatIfForecastArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the what-if forecast.
*/ inline WhatIfForecastSummary& WithWhatIfForecastArn(const char* value) { SetWhatIfForecastArn(value); return *this;} /** *The name of the what-if forecast.
*/ inline const Aws::String& GetWhatIfForecastName() const{ return m_whatIfForecastName; } /** *The name of the what-if forecast.
*/ inline bool WhatIfForecastNameHasBeenSet() const { return m_whatIfForecastNameHasBeenSet; } /** *The name of the what-if forecast.
*/ inline void SetWhatIfForecastName(const Aws::String& value) { m_whatIfForecastNameHasBeenSet = true; m_whatIfForecastName = value; } /** *The name of the what-if forecast.
*/ inline void SetWhatIfForecastName(Aws::String&& value) { m_whatIfForecastNameHasBeenSet = true; m_whatIfForecastName = std::move(value); } /** *The name of the what-if forecast.
*/ inline void SetWhatIfForecastName(const char* value) { m_whatIfForecastNameHasBeenSet = true; m_whatIfForecastName.assign(value); } /** *The name of the what-if forecast.
*/ inline WhatIfForecastSummary& WithWhatIfForecastName(const Aws::String& value) { SetWhatIfForecastName(value); return *this;} /** *The name of the what-if forecast.
*/ inline WhatIfForecastSummary& WithWhatIfForecastName(Aws::String&& value) { SetWhatIfForecastName(std::move(value)); return *this;} /** *The name of the what-if forecast.
*/ inline WhatIfForecastSummary& WithWhatIfForecastName(const char* value) { SetWhatIfForecastName(value); return *this;} /** *The Amazon Resource Name (ARN) of the what-if analysis that contains this * what-if forecast.
*/ inline const Aws::String& GetWhatIfAnalysisArn() const{ return m_whatIfAnalysisArn; } /** *The Amazon Resource Name (ARN) of the what-if analysis that contains this * what-if forecast.
*/ inline bool WhatIfAnalysisArnHasBeenSet() const { return m_whatIfAnalysisArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the what-if analysis that contains this * what-if forecast.
*/ inline void SetWhatIfAnalysisArn(const Aws::String& value) { m_whatIfAnalysisArnHasBeenSet = true; m_whatIfAnalysisArn = value; } /** *The Amazon Resource Name (ARN) of the what-if analysis that contains this * what-if forecast.
*/ inline void SetWhatIfAnalysisArn(Aws::String&& value) { m_whatIfAnalysisArnHasBeenSet = true; m_whatIfAnalysisArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the what-if analysis that contains this * what-if forecast.
*/ inline void SetWhatIfAnalysisArn(const char* value) { m_whatIfAnalysisArnHasBeenSet = true; m_whatIfAnalysisArn.assign(value); } /** *The Amazon Resource Name (ARN) of the what-if analysis that contains this * what-if forecast.
*/ inline WhatIfForecastSummary& WithWhatIfAnalysisArn(const Aws::String& value) { SetWhatIfAnalysisArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the what-if analysis that contains this * what-if forecast.
*/ inline WhatIfForecastSummary& WithWhatIfAnalysisArn(Aws::String&& value) { SetWhatIfAnalysisArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the what-if analysis that contains this * what-if forecast.
*/ inline WhatIfForecastSummary& WithWhatIfAnalysisArn(const char* value) { SetWhatIfAnalysisArn(value); return *this;} /** *The status of the what-if forecast. 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 forecast. 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 forecast. 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 forecast. 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 forecast. 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 forecast. 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 forecast. 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 forecast. 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 WhatIfForecastSummary& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *If an error occurred, an informational message about the error.
*/ inline WhatIfForecastSummary& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *If an error occurred, an informational message about the error.
*/ inline WhatIfForecastSummary& WithMessage(const char* value) { SetMessage(value); return *this;} /** *When the what-if forecast was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *When the what-if forecast was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *When the what-if forecast was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *When the what-if forecast was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *When the what-if forecast was created.
*/ inline WhatIfForecastSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *When the what-if forecast was created.
*/ inline WhatIfForecastSummary& 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.