|
| Outcome () |
|
| Outcome (const R &r) |
|
| Outcome (const E &e) |
|
| Outcome (R &&r) |
|
| Outcome (E &&e) |
|
| Outcome (const Outcome &o) |
|
template<typename RT , typename ET , enable_if_t< std::is_convertible< RT, R >::value &&std::is_convertible< ET, E >::value, int > = 0> |
| Outcome (Outcome< RT, ET > &&o) |
|
template<typename RT , typename ET , enable_if_t< std::is_convertible< RT, R >::value &&!std::is_convertible< ET, E >::value, int > = 0> |
| Outcome (Outcome< RT, ET > &&o) |
|
template<typename RT , typename ET , enable_if_t<!std::is_convertible< RT, R >::value &&std::is_convertible< ET, E >::value, int > = 0> |
| Outcome (Outcome< RT, ET > &&o) |
|
template<typename ET , enable_if_t< std::is_convertible< ET, E >::value, int > = 0> |
| Outcome (ET &&e) |
|
Outcome & | operator= (const Outcome &o) |
|
| Outcome (Outcome &&o) |
|
Outcome & | operator= (Outcome &&o) |
|
const R & | GetResult () const |
|
R & | GetResult () |
|
R && | GetResultWithOwnership () |
|
const E & | GetError () const |
|
template<typename T > |
T | GetError () |
|
bool | IsSuccess () const |
|
template<typename R, typename E>
class Aws::Utils::Outcome< R, E >
Template class representing the outcome of making a request. It will contain either a successful result or the failure error. The caller must check whether the outcome of the request was a success before attempting to access the result or the error.
Definition at line 25 of file Outcome.h.
template<typename R , typename E >
template<typename RT , typename ET , enable_if_t< std::is_convertible< RT, R >::value &&std::is_convertible< ET, E >::value, int > = 0>
template<typename R , typename E >
template<typename RT , typename ET , enable_if_t< std::is_convertible< RT, R >::value &&!std::is_convertible< ET, E >::value, int > = 0>
template<typename R , typename E >
template<typename RT , typename ET , enable_if_t<!std::is_convertible< RT, R >::value &&std::is_convertible< ET, E >::value, int > = 0>