OperationState<T>
A helper structure passed to  OperationInternal<T> to indicate the current operation state. This structure must be
            instantiated by one of its static methods, depending on the operation state:
            Use  Success when the operation has completed successfully.Use  Failure when the operation has completed with failures.Use  Pending when the operation has not completed yet.
                
public static OperationState<T> Failure(Response rawResponse, RequestFailedException operationFailedException = null)
Instantiates an  OperationState<T> indicating the operation has completed with failures.
            
Instantiates an  OperationState<T> indicating the operation has not completed yet.
            
Instantiates an  OperationState<T> indicating the operation has completed successfully.