7#include <aws/securitylake/SecurityLake_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
51 inline void SetCode(
const char* value) { m_codeHasBeenSet =
true; m_code.assign(value); }
66 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
74 bool m_codeHasBeenSet =
false;
77 bool m_reasonHasBeenSet =
false;
AWS_SECURITYLAKE_API DataLakeUpdateException()
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
DataLakeUpdateException & WithReason(const char *value)
void SetCode(const char *value)
DataLakeUpdateException & WithReason(const Aws::String &value)
AWS_SECURITYLAKE_API DataLakeUpdateException(Aws::Utils::Json::JsonView jsonValue)
void SetCode(Aws::String &&value)
DataLakeUpdateException & WithReason(Aws::String &&value)
void SetReason(Aws::String &&value)
const Aws::String & GetReason() const
void SetReason(const char *value)
AWS_SECURITYLAKE_API DataLakeUpdateException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCode() const
void SetCode(const Aws::String &value)
bool ReasonHasBeenSet() const
DataLakeUpdateException & WithCode(const char *value)
DataLakeUpdateException & WithCode(const Aws::String &value)
void SetReason(const Aws::String &value)
bool CodeHasBeenSet() const
DataLakeUpdateException & WithCode(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue