7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/InstrumentationErrorCause.h>
9#include <aws/core/utils/DateTime.h>
20namespace ApplicationSignals {
43 template <
typename TimeT = Aws::Utils::DateTime>
45 m_timeHasBeenSet =
true;
46 m_time = std::forward<TimeT>(value);
48 template <
typename TimeT = Aws::Utils::DateTime>
50 SetTime(std::forward<TimeT>(value));
62 m_errorCauseHasBeenSet =
true;
74 bool m_timeHasBeenSet =
false;
75 bool m_errorCauseHasBeenSet =
false;
bool ErrorCauseHasBeenSet() const
void SetErrorCause(InstrumentationErrorCause value)
InstrumentationStatusEvent & WithErrorCause(InstrumentationErrorCause value)
bool TimeHasBeenSet() const
void SetTime(TimeT &&value)
const Aws::Utils::DateTime & GetTime() const
AWS_APPLICATIONSIGNALS_API InstrumentationStatusEvent()=default
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
InstrumentationStatusEvent & WithTime(TimeT &&value)
InstrumentationErrorCause GetErrorCause() const
AWS_APPLICATIONSIGNALS_API InstrumentationStatusEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONSIGNALS_API InstrumentationStatusEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
InstrumentationErrorCause
Aws::Utils::Json::JsonValue JsonValue