AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ForecastResult

import "github.com/aws/aws-sdk-go/service/costexplorer"

type ForecastResult struct { MeanValue *string `type:"string"` PredictionIntervalLowerBound *string `type:"string"` PredictionIntervalUpperBound *string `type:"string"` TimePeriod *DateInterval `type:"structure"` }

The forecast created for your query.

MeanValue

Type: *string

The mean value of the forecast.

PredictionIntervalLowerBound

Type: *string

The lower limit for the prediction interval.

PredictionIntervalUpperBound

Type: *string

The upper limit for the prediction interval.

TimePeriod

The time period that you want the usage and costs for.

Method

GoString

func (s ForecastResult) GoString() string

GoString returns the string representation

SetMeanValue

func (s *ForecastResult) SetMeanValue(v string) *ForecastResult

SetMeanValue sets the MeanValue field's value.

SetPredictionIntervalLowerBound

func (s *ForecastResult) SetPredictionIntervalLowerBound(v string) *ForecastResult

SetPredictionIntervalLowerBound sets the PredictionIntervalLowerBound field's value.

SetPredictionIntervalUpperBound

func (s *ForecastResult) SetPredictionIntervalUpperBound(v string) *ForecastResult

SetPredictionIntervalUpperBound sets the PredictionIntervalUpperBound field's value.

SetTimePeriod

func (s *ForecastResult) SetTimePeriod(v *DateInterval) *ForecastResult

SetTimePeriod sets the TimePeriod field's value.

String

func (s ForecastResult) String() string

String returns the string representation

On this page: