7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/dataexchange/model/Code.h>
9#include <aws/dataexchange/model/Details.h>
10#include <aws/dataexchange/model/JobErrorLimitName.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/dataexchange/model/JobErrorResourceTypes.h>
50 inline void SetCode(
const Code& value) { m_codeHasBeenSet =
true; m_code = value; }
51 inline void SetCode(
Code&& value) { m_codeHasBeenSet =
true; m_code = std::move(value); }
62 inline void SetDetails(
const Details& value) { m_detailsHasBeenSet =
true; m_details = value; }
63 inline void SetDetails(
Details&& value) { m_detailsHasBeenSet =
true; m_details = std::move(value); }
86 inline void SetLimitValue(
double value) { m_limitValueHasBeenSet =
true; m_limitValue = value; }
98 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
112 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
132 bool m_codeHasBeenSet =
false;
135 bool m_detailsHasBeenSet =
false;
138 bool m_limitNameHasBeenSet =
false;
141 bool m_limitValueHasBeenSet =
false;
144 bool m_messageHasBeenSet =
false;
147 bool m_resourceIdHasBeenSet =
false;
150 bool m_resourceTypeHasBeenSet =
false;
JobError & WithCode(Code &&value)
JobError & WithResourceId(Aws::String &&value)
JobError & WithLimitValue(double value)
JobError & WithMessage(const Aws::String &value)
void SetMessage(const Aws::String &value)
void SetDetails(const Details &value)
bool CodeHasBeenSet() const
JobError & WithResourceType(const JobErrorResourceTypes &value)
bool LimitNameHasBeenSet() const
void SetCode(const Code &value)
bool DetailsHasBeenSet() const
AWS_DATAEXCHANGE_API JobError()
JobError & WithLimitName(JobErrorLimitName &&value)
JobError & WithDetails(const Details &value)
void SetLimitName(const JobErrorLimitName &value)
void SetDetails(Details &&value)
const Aws::String & GetMessage() const
double GetLimitValue() const
const Details & GetDetails() const
void SetResourceId(const char *value)
const Aws::String & GetResourceId() const
const Code & GetCode() const
JobError & WithMessage(Aws::String &&value)
bool LimitValueHasBeenSet() const
void SetMessage(const char *value)
void SetResourceId(const Aws::String &value)
JobError & WithDetails(Details &&value)
void SetResourceType(JobErrorResourceTypes &&value)
void SetLimitName(JobErrorLimitName &&value)
bool ResourceIdHasBeenSet() const
void SetCode(Code &&value)
void SetResourceType(const JobErrorResourceTypes &value)
void SetLimitValue(double value)
void SetResourceId(Aws::String &&value)
JobError & WithMessage(const char *value)
JobError & WithCode(const Code &value)
JobError & WithResourceId(const Aws::String &value)
const JobErrorResourceTypes & GetResourceType() const
JobError & WithResourceType(JobErrorResourceTypes &&value)
bool ResourceTypeHasBeenSet() const
AWS_DATAEXCHANGE_API JobError(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAEXCHANGE_API JobError & operator=(Aws::Utils::Json::JsonView jsonValue)
const JobErrorLimitName & GetLimitName() const
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
JobError & WithLimitName(const JobErrorLimitName &value)
JobError & WithResourceId(const char *value)
void SetMessage(Aws::String &&value)
bool MessageHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue