7#include <aws/cloudtrail-data/CloudTrailData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CloudTrailData
54 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
69 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
83 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
84 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
92 bool m_errorCodeHasBeenSet =
false;
95 bool m_errorMessageHasBeenSet =
false;
98 bool m_idHasBeenSet =
false;
void SetErrorMessage(const char *value)
void SetErrorMessage(const Aws::String &value)
void SetId(const Aws::String &value)
void SetErrorCode(const Aws::String &value)
ResultErrorEntry & WithErrorCode(const char *value)
ResultErrorEntry & WithErrorMessage(const Aws::String &value)
void SetErrorMessage(Aws::String &&value)
bool ErrorCodeHasBeenSet() const
void SetErrorCode(Aws::String &&value)
ResultErrorEntry & WithErrorMessage(const char *value)
bool IdHasBeenSet() const
bool ErrorMessageHasBeenSet() const
const Aws::String & GetErrorMessage() const
void SetId(const char *value)
AWS_CLOUDTRAILDATA_API ResultErrorEntry(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDTRAILDATA_API Aws::Utils::Json::JsonValue Jsonize() const
ResultErrorEntry & WithId(const char *value)
ResultErrorEntry & WithId(const Aws::String &value)
ResultErrorEntry & WithId(Aws::String &&value)
void SetId(Aws::String &&value)
ResultErrorEntry & WithErrorMessage(Aws::String &&value)
ResultErrorEntry & WithErrorCode(Aws::String &&value)
AWS_CLOUDTRAILDATA_API ResultErrorEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDTRAILDATA_API ResultErrorEntry()
const Aws::String & GetId() const
const Aws::String & GetErrorCode() const
ResultErrorEntry & WithErrorCode(const Aws::String &value)
void SetErrorCode(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue