7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CloudWatchEvents
49 inline void SetTargetId(
const char* value) { m_targetIdHasBeenSet =
true; m_targetId.assign(value); }
65 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
79 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
87 bool m_targetIdHasBeenSet =
false;
90 bool m_errorCodeHasBeenSet =
false;
93 bool m_errorMessageHasBeenSet =
false;
void SetErrorMessage(const Aws::String &value)
AWS_CLOUDWATCHEVENTS_API PutTargetsResultEntry(Aws::Utils::Json::JsonView jsonValue)
PutTargetsResultEntry & WithErrorCode(Aws::String &&value)
void SetTargetId(const Aws::String &value)
PutTargetsResultEntry & WithErrorMessage(const char *value)
bool ErrorMessageHasBeenSet() const
const Aws::String & GetTargetId() const
AWS_CLOUDWATCHEVENTS_API PutTargetsResultEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
PutTargetsResultEntry & WithErrorCode(const char *value)
PutTargetsResultEntry & WithTargetId(const char *value)
PutTargetsResultEntry & WithErrorMessage(Aws::String &&value)
const Aws::String & GetErrorCode() const
void SetErrorCode(Aws::String &&value)
bool TargetIdHasBeenSet() const
void SetTargetId(const char *value)
AWS_CLOUDWATCHEVENTS_API PutTargetsResultEntry()
void SetErrorMessage(Aws::String &&value)
PutTargetsResultEntry & WithErrorCode(const Aws::String &value)
bool ErrorCodeHasBeenSet() const
void SetErrorCode(const Aws::String &value)
void SetErrorCode(const char *value)
const Aws::String & GetErrorMessage() const
PutTargetsResultEntry & WithErrorMessage(const Aws::String &value)
PutTargetsResultEntry & WithTargetId(Aws::String &&value)
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
PutTargetsResultEntry & WithTargetId(const Aws::String &value)
void SetTargetId(Aws::String &&value)
void SetErrorMessage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue