7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dataexchange/DataExchange_EXPORTS.h>
9#include <aws/dataexchange/model/Code.h>
10#include <aws/dataexchange/model/Details.h>
11#include <aws/dataexchange/model/JobErrorLimitName.h>
12#include <aws/dataexchange/model/JobErrorResourceTypes.h>
23namespace DataExchange {
45 m_codeHasBeenSet =
true;
60 template <
typename DetailsT = Details>
62 m_detailsHasBeenSet =
true;
63 m_details = std::forward<DetailsT>(value);
65 template <
typename DetailsT = Details>
79 m_limitNameHasBeenSet =
true;
95 m_limitValueHasBeenSet =
true;
110 template <
typename MessageT = Aws::String>
112 m_messageHasBeenSet =
true;
113 m_message = std::forward<MessageT>(value);
115 template <
typename MessageT = Aws::String>
128 template <
typename ResourceIdT = Aws::String>
130 m_resourceIdHasBeenSet =
true;
131 m_resourceId = std::forward<ResourceIdT>(value);
133 template <
typename ResourceIdT = Aws::String>
147 m_resourceTypeHasBeenSet =
true;
148 m_resourceType = value;
162 double m_limitValue{0.0};
169 bool m_codeHasBeenSet =
false;
170 bool m_detailsHasBeenSet =
false;
171 bool m_limitNameHasBeenSet =
false;
172 bool m_limitValueHasBeenSet =
false;
173 bool m_messageHasBeenSet =
false;
174 bool m_resourceIdHasBeenSet =
false;
175 bool m_resourceTypeHasBeenSet =
false;
JobError & WithResourceId(ResourceIdT &&value)
JobError & WithMessage(MessageT &&value)
JobError & WithLimitValue(double value)
void SetLimitName(JobErrorLimitName value)
bool CodeHasBeenSet() const
bool LimitNameHasBeenSet() const
void SetResourceId(ResourceIdT &&value)
void SetResourceType(JobErrorResourceTypes value)
AWS_DATAEXCHANGE_API JobError()=default
bool DetailsHasBeenSet() const
JobError & WithCode(Code value)
const Aws::String & GetMessage() const
double GetLimitValue() const
const Details & GetDetails() const
JobErrorLimitName GetLimitName() const
JobErrorResourceTypes GetResourceType() const
const Aws::String & GetResourceId() const
void SetMessage(MessageT &&value)
JobError & WithResourceType(JobErrorResourceTypes value)
bool LimitValueHasBeenSet() const
JobError & WithLimitName(JobErrorLimitName value)
JobError & WithDetails(DetailsT &&value)
bool ResourceIdHasBeenSet() const
void SetLimitValue(double value)
bool ResourceTypeHasBeenSet() const
AWS_DATAEXCHANGE_API JobError(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAEXCHANGE_API JobError & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDetails(DetailsT &&value)
bool MessageHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue