public ModifyTapeSpectraS3Request WithState(TapeState? state) { this._state = state; if (state != null) { this.QueryParams.Add("state", state.ToString()); } else { this.QueryParams.Remove("state"); } return this; }
public GetBucketCapacitySummarySpectraS3Request WithTapeState(TapeState? tapeState) { this._tapeState = tapeState; if (tapeState != null) { this.QueryParams.Add("tape_state", tapeState.ToString()); } else { this.QueryParams.Remove("tape_state"); } return this; }
public GetTapesSpectraS3Request WithPreviousState(TapeState? previousState) { this._previousState = previousState; if (previousState != null) { this.QueryParams.Add("previous_state", previousState.ToString()); } else { this.QueryParams.Remove("previous_state"); } return this; }