AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LastRunErrorStatus.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/LastRunErrorStatusCode.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Macie2
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_MACIE2_API LastRunErrorStatus();
42 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
54 inline const LastRunErrorStatusCode& GetCode() const{ return m_code; }
55 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
56 inline void SetCode(const LastRunErrorStatusCode& value) { m_codeHasBeenSet = true; m_code = value; }
57 inline void SetCode(LastRunErrorStatusCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
58 inline LastRunErrorStatus& WithCode(const LastRunErrorStatusCode& value) { SetCode(value); return *this;}
59 inline LastRunErrorStatus& WithCode(LastRunErrorStatusCode&& value) { SetCode(std::move(value)); return *this;}
61 private:
62
64 bool m_codeHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace Macie2
69} // namespace Aws
AWS_MACIE2_API LastRunErrorStatus(Aws::Utils::Json::JsonView jsonValue)
LastRunErrorStatus & WithCode(const LastRunErrorStatusCode &value)
void SetCode(LastRunErrorStatusCode &&value)
const LastRunErrorStatusCode & GetCode() const
AWS_MACIE2_API LastRunErrorStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCode(const LastRunErrorStatusCode &value)
LastRunErrorStatus & WithCode(LastRunErrorStatusCode &&value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue