7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CloudWatchEvidently
50 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
65 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
79 inline void SetEventId(
const char* value) { m_eventIdHasBeenSet =
true; m_eventId.assign(value); }
87 bool m_errorCodeHasBeenSet =
false;
90 bool m_errorMessageHasBeenSet =
false;
93 bool m_eventIdHasBeenSet =
false;
PutProjectEventsResultEntry & WithErrorMessage(const Aws::String &value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorCode(const Aws::String &value)
const Aws::String & GetEventId() const
void SetErrorMessage(Aws::String &&value)
void SetEventId(const char *value)
void SetEventId(Aws::String &&value)
AWS_CLOUDWATCHEVIDENTLY_API PutProjectEventsResultEntry()
void SetErrorCode(const char *value)
const Aws::String & GetErrorMessage() const
PutProjectEventsResultEntry & WithErrorCode(const Aws::String &value)
bool ErrorMessageHasBeenSet() const
void SetEventId(const Aws::String &value)
PutProjectEventsResultEntry & WithErrorCode(const char *value)
PutProjectEventsResultEntry & WithEventId(Aws::String &&value)
bool ErrorCodeHasBeenSet() const
AWS_CLOUDWATCHEVIDENTLY_API PutProjectEventsResultEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
PutProjectEventsResultEntry & WithErrorMessage(Aws::String &&value)
void SetErrorMessage(const Aws::String &value)
PutProjectEventsResultEntry & WithErrorMessage(const char *value)
void SetErrorCode(Aws::String &&value)
PutProjectEventsResultEntry & WithEventId(const char *value)
AWS_CLOUDWATCHEVIDENTLY_API PutProjectEventsResultEntry(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetErrorCode() const
void SetErrorMessage(const char *value)
bool EventIdHasBeenSet() const
PutProjectEventsResultEntry & WithEventId(const Aws::String &value)
PutProjectEventsResultEntry & WithErrorCode(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue