7#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
8#include <aws/observabilityadmin/model/PipelineOutputError.h>
9#include <aws/observabilityadmin/model/Record.h>
20namespace ObservabilityAdmin {
42 template <
typename RecordT = Record>
44 m_recordHasBeenSet =
true;
45 m_record = std::forward<RecordT>(value);
47 template <
typename RecordT = Record>
61 template <
typename ErrorT = PipelineOutputError>
63 m_errorHasBeenSet =
true;
64 m_error = std::forward<ErrorT>(value);
66 template <
typename ErrorT = PipelineOutputError>
68 SetError(std::forward<ErrorT>(value));
76 bool m_recordHasBeenSet =
false;
77 bool m_errorHasBeenSet =
false;
AWS_OBSERVABILITYADMIN_API PipelineOutput()=default
AWS_OBSERVABILITYADMIN_API PipelineOutput(Aws::Utils::Json::JsonView jsonValue)
const PipelineOutputError & GetError() const
void SetError(ErrorT &&value)
PipelineOutput & WithError(ErrorT &&value)
PipelineOutput & WithRecord(RecordT &&value)
const Record & GetRecord() const
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
bool RecordHasBeenSet() const
AWS_OBSERVABILITYADMIN_API PipelineOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRecord(RecordT &&value)
bool ErrorHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue