7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
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;
PutTargetsResultEntry & WithTargetId(const char *value)
AWS_EVENTBRIDGE_API PutTargetsResultEntry()
PutTargetsResultEntry & WithErrorMessage(Aws::String &&value)
void SetTargetId(const char *value)
void SetErrorCode(Aws::String &&value)
const Aws::String & GetErrorMessage() const
bool TargetIdHasBeenSet() const
PutTargetsResultEntry & WithErrorMessage(const Aws::String &value)
void SetTargetId(Aws::String &&value)
bool ErrorCodeHasBeenSet() const
AWS_EVENTBRIDGE_API PutTargetsResultEntry(Aws::Utils::Json::JsonView jsonValue)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorMessage(Aws::String &&value)
PutTargetsResultEntry & WithErrorCode(const Aws::String &value)
PutTargetsResultEntry & WithErrorCode(Aws::String &&value)
void SetErrorCode(const char *value)
PutTargetsResultEntry & WithTargetId(const Aws::String &value)
const Aws::String & GetTargetId() const
PutTargetsResultEntry & WithTargetId(Aws::String &&value)
const Aws::String & GetErrorCode() const
void SetErrorMessage(const char *value)
void SetErrorCode(const Aws::String &value)
AWS_EVENTBRIDGE_API PutTargetsResultEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ErrorMessageHasBeenSet() const
void SetErrorMessage(const Aws::String &value)
PutTargetsResultEntry & WithErrorCode(const char *value)
void SetTargetId(const Aws::String &value)
PutTargetsResultEntry & WithErrorMessage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue