7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/drs/model/DataReplicationErrorString.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
61 inline void SetRawError(
const char* value) { m_rawErrorHasBeenSet =
true; m_rawError.assign(value); }
69 bool m_errorHasBeenSet =
false;
72 bool m_rawErrorHasBeenSet =
false;
DataReplicationError & WithRawError(const char *value)
DataReplicationError & WithError(const DataReplicationErrorString &value)
bool ErrorHasBeenSet() const
bool RawErrorHasBeenSet() const
DataReplicationError & WithError(DataReplicationErrorString &&value)
AWS_DRS_API DataReplicationError(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRawError() const
void SetRawError(const char *value)
AWS_DRS_API DataReplicationError()
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRawError(Aws::String &&value)
AWS_DRS_API DataReplicationError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetError(const DataReplicationErrorString &value)
DataReplicationError & WithRawError(Aws::String &&value)
void SetError(DataReplicationErrorString &&value)
void SetRawError(const Aws::String &value)
const DataReplicationErrorString & GetError() const
DataReplicationError & WithRawError(const Aws::String &value)
DataReplicationErrorString
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue