7#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ResourceGroups
50 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
64 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
78 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
86 bool m_resourceArnHasBeenSet =
false;
89 bool m_errorMessageHasBeenSet =
false;
92 bool m_errorCodeHasBeenSet =
false;
FailedResource & WithResourceArn(const Aws::String &value)
AWS_RESOURCEGROUPS_API FailedResource()
void SetResourceArn(Aws::String &&value)
const Aws::String & GetResourceArn() const
void SetErrorMessage(const Aws::String &value)
FailedResource & WithErrorCode(Aws::String &&value)
void SetErrorMessage(Aws::String &&value)
FailedResource & WithErrorMessage(const Aws::String &value)
FailedResource & WithResourceArn(Aws::String &&value)
void SetErrorMessage(const char *value)
const Aws::String & GetErrorCode() const
void SetErrorCode(Aws::String &&value)
FailedResource & WithResourceArn(const char *value)
bool ErrorMessageHasBeenSet() const
void SetErrorCode(const char *value)
const Aws::String & GetErrorMessage() const
void SetErrorCode(const Aws::String &value)
AWS_RESOURCEGROUPS_API Aws::Utils::Json::JsonValue Jsonize() const
bool ErrorCodeHasBeenSet() const
void SetResourceArn(const char *value)
FailedResource & WithErrorMessage(Aws::String &&value)
AWS_RESOURCEGROUPS_API FailedResource & operator=(Aws::Utils::Json::JsonView jsonValue)
FailedResource & WithErrorCode(const char *value)
void SetResourceArn(const Aws::String &value)
bool ResourceArnHasBeenSet() const
FailedResource & WithErrorMessage(const char *value)
AWS_RESOURCEGROUPS_API FailedResource(Aws::Utils::Json::JsonView jsonValue)
FailedResource & WithErrorCode(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue