public CloudWatchMetricsDataSummary withStatusCode(CloudWatchMetricDataStatusCode statusCode) {
        this.statusCode = statusCode.toString();
        return this;
    }
<p>
This is an enum of the status showing whether the metric value pair list has partial or complete data, or if
there was an error.
</p>

@param statusCode
       This is an enum of the status showing whether the metric value pair list has partial or complete data, or
       if there was an error.
@return Returns a reference to this object so that method calls can be chained together.
@see CloudWatchMetricDataStatusCode
aws-java-sdk-devopsguru/src/main/java/com/amazonaws/services/devopsguru/model/CloudWatchMetricsDataSummary.java