7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CloudWatchEvents
49 inline void SetEventId(
const char* value) { m_eventIdHasBeenSet =
true; m_eventId.assign(value); }
63 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
77 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
85 bool m_eventIdHasBeenSet =
false;
88 bool m_errorCodeHasBeenSet =
false;
91 bool m_errorMessageHasBeenSet =
false;
const Aws::String & GetErrorMessage() const
void SetEventId(const Aws::String &value)
PutEventsResultEntry & WithErrorCode(const Aws::String &value)
void SetErrorCode(Aws::String &&value)
void SetErrorMessage(const Aws::String &value)
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEventId(Aws::String &&value)
AWS_CLOUDWATCHEVENTS_API PutEventsResultEntry()
bool EventIdHasBeenSet() const
const Aws::String & GetEventId() const
bool ErrorCodeHasBeenSet() const
PutEventsResultEntry & WithEventId(const Aws::String &value)
PutEventsResultEntry & WithEventId(Aws::String &&value)
bool ErrorMessageHasBeenSet() const
PutEventsResultEntry & WithErrorMessage(Aws::String &&value)
PutEventsResultEntry & WithEventId(const char *value)
const Aws::String & GetErrorCode() const
void SetErrorMessage(const char *value)
void SetEventId(const char *value)
AWS_CLOUDWATCHEVENTS_API PutEventsResultEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorCode(const char *value)
PutEventsResultEntry & WithErrorCode(Aws::String &&value)
AWS_CLOUDWATCHEVENTS_API PutEventsResultEntry(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMessage(Aws::String &&value)
PutEventsResultEntry & WithErrorMessage(const Aws::String &value)
PutEventsResultEntry & WithErrorMessage(const char *value)
PutEventsResultEntry & WithErrorCode(const char *value)
void SetErrorCode(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue