7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetFailureCode(
const char* value) { m_failureCodeHasBeenSet =
true; m_failureCode.assign(value); }
63 inline void SetFailureReason(
const char* value) { m_failureReasonHasBeenSet =
true; m_failureReason.assign(value); }
71 bool m_failureCodeHasBeenSet =
false;
74 bool m_failureReasonHasBeenSet =
false;
AWS_S3CONTROL_API JobFailure()
JobFailure & WithFailureReason(const Aws::String &value)
void SetFailureReason(Aws::String &&value)
JobFailure & WithFailureReason(const char *value)
const Aws::String & GetFailureReason() const
void SetFailureReason(const char *value)
JobFailure & WithFailureCode(const Aws::String &value)
JobFailure & WithFailureReason(Aws::String &&value)
AWS_S3CONTROL_API JobFailure(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetFailureCode(Aws::String &&value)
const Aws::String & GetFailureCode() const
void SetFailureReason(const Aws::String &value)
bool FailureCodeHasBeenSet() const
void SetFailureCode(const Aws::String &value)
JobFailure & WithFailureCode(const char *value)
AWS_S3CONTROL_API JobFailure & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool FailureReasonHasBeenSet() const
JobFailure & WithFailureCode(Aws::String &&value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetFailureCode(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String