7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
61 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
75 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
83 bool m_messageHasBeenSet =
false;
86 bool m_resourceIdHasBeenSet =
false;
89 bool m_resourceArnHasBeenSet =
false;
void SetMessage(const Aws::String &value)
PreconditionFailedException & WithResourceArn(const char *value)
AWS_IOTSITEWISE_API PreconditionFailedException()
void SetResourceArn(Aws::String &&value)
bool ResourceIdHasBeenSet() const
PreconditionFailedException & WithResourceArn(Aws::String &&value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(const char *value)
void SetResourceArn(const Aws::String &value)
PreconditionFailedException & WithMessage(const char *value)
const Aws::String & GetResourceId() const
const Aws::String & GetResourceArn() const
PreconditionFailedException & WithMessage(const Aws::String &value)
bool MessageHasBeenSet() const
bool ResourceArnHasBeenSet() const
AWS_IOTSITEWISE_API PreconditionFailedException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(Aws::String &&value)
void SetResourceArn(const char *value)
PreconditionFailedException & WithResourceArn(const Aws::String &value)
void SetResourceId(const Aws::String &value)
PreconditionFailedException & WithResourceId(Aws::String &&value)
const Aws::String & GetMessage() const
AWS_IOTSITEWISE_API PreconditionFailedException(Aws::Utils::Json::JsonView jsonValue)
PreconditionFailedException & WithResourceId(const char *value)
void SetResourceId(Aws::String &&value)
PreconditionFailedException & WithMessage(Aws::String &&value)
void SetResourceId(const char *value)
PreconditionFailedException & WithResourceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue