AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StandardsStatusReason.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/StatusReasonCode.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 SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API StandardsStatusReason();
36 AWS_SECURITYHUB_API StandardsStatusReason(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const StatusReasonCode& GetStatusReasonCode() const{ return m_statusReasonCode; }
47 inline bool StatusReasonCodeHasBeenSet() const { return m_statusReasonCodeHasBeenSet; }
48 inline void SetStatusReasonCode(const StatusReasonCode& value) { m_statusReasonCodeHasBeenSet = true; m_statusReasonCode = value; }
49 inline void SetStatusReasonCode(StatusReasonCode&& value) { m_statusReasonCodeHasBeenSet = true; m_statusReasonCode = std::move(value); }
51 inline StandardsStatusReason& WithStatusReasonCode(StatusReasonCode&& value) { SetStatusReasonCode(std::move(value)); return *this;}
53 private:
54
55 StatusReasonCode m_statusReasonCode;
56 bool m_statusReasonCodeHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace SecurityHub
61} // namespace Aws
const StatusReasonCode & GetStatusReasonCode() const
StandardsStatusReason & WithStatusReasonCode(StatusReasonCode &&value)
void SetStatusReasonCode(const StatusReasonCode &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API StandardsStatusReason(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API StandardsStatusReason & operator=(Aws::Utils::Json::JsonView jsonValue)
StandardsStatusReason & WithStatusReasonCode(const StatusReasonCode &value)
Aws::Utils::Json::JsonValue JsonValue