7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/ReasonCode.h>
21namespace AccessAnalyzer
51 inline void SetCode(
ReasonCode&& value) { m_codeHasBeenSet =
true; m_code = std::move(value); }
58 bool m_codeHasBeenSet =
false;
void SetCode(const ReasonCode &value)
AWS_ACCESSANALYZER_API StatusReason(Aws::Utils::Json::JsonView jsonValue)
StatusReason & WithCode(ReasonCode &&value)
bool CodeHasBeenSet() const
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
const ReasonCode & GetCode() const
void SetCode(ReasonCode &&value)
StatusReason & WithCode(const ReasonCode &value)
AWS_ACCESSANALYZER_API StatusReason & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API StatusReason()
Aws::Utils::Json::JsonValue JsonValue