public GetGeneratedTemplateResult withStatus(GeneratedTemplateStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
The status of the template generation. Supported values are:
</p>
<ul>
<li>
<p>
<code>CreatePending</code> - the creation of the template is pending.
</p>
</li>
<li>
<p>
<code>CreateInProgress</code> - the creation of the template is in progress.
</p>
</li>
<li>
<p>
<code>DeletePending</code> - the deletion of the template is pending.
</p>
</li>
<li>
<p>
<code>DeleteInProgress</code> - the deletion of the template is in progress.
</p>
</li>
<li>
<p>
<code>UpdatePending</code> - the update of the template is pending.
</p>
</li>
<li>
<p>
<code>UpdateInProgress</code> - the update of the template is in progress.
</p>
</li>
<li>
<p>
<code>Failed</code> - the template operation failed.
</p>
</li>
<li>
<p>
<code>Complete</code> - the template operation is complete.
</p>
</li>
</ul>

@param status
       The status of the template generation. Supported values are:</p>
       <ul>
       <li>
       <p>
       <code>CreatePending</code> - the creation of the template is pending.
       </p>
       </li>
       <li>
       <p>
       <code>CreateInProgress</code> - the creation of the template is in progress.
       </p>
       </li>
       <li>
       <p>
       <code>DeletePending</code> - the deletion of the template is pending.
       </p>
       </li>
       <li>
       <p>
       <code>DeleteInProgress</code> - the deletion of the template is in progress.
       </p>
       </li>
       <li>
       <p>
       <code>UpdatePending</code> - the update of the template is pending.
       </p>
       </li>
       <li>
       <p>
       <code>UpdateInProgress</code> - the update of the template is in progress.
       </p>
       </li>
       <li>
       <p>
       <code>Failed</code> - the template operation failed.
       </p>
       </li>
       <li>
       <p>
       <code>Complete</code> - the template operation is complete.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see GeneratedTemplateStatus
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/GetGeneratedTemplateResult.java