AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsRdsDbStatusInfo.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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
32 {
33 public:
34 AWS_SECURITYHUB_API AwsRdsDbStatusInfo() = default;
35 AWS_SECURITYHUB_API AwsRdsDbStatusInfo(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Aws::String& GetStatusType() const { return m_statusType; }
46 inline bool StatusTypeHasBeenSet() const { return m_statusTypeHasBeenSet; }
47 template<typename StatusTypeT = Aws::String>
48 void SetStatusType(StatusTypeT&& value) { m_statusTypeHasBeenSet = true; m_statusType = std::forward<StatusTypeT>(value); }
49 template<typename StatusTypeT = Aws::String>
50 AwsRdsDbStatusInfo& WithStatusType(StatusTypeT&& value) { SetStatusType(std::forward<StatusTypeT>(value)); return *this;}
52
54
57 inline bool GetNormal() const { return m_normal; }
58 inline bool NormalHasBeenSet() const { return m_normalHasBeenSet; }
59 inline void SetNormal(bool value) { m_normalHasBeenSet = true; m_normal = value; }
60 inline AwsRdsDbStatusInfo& WithNormal(bool value) { SetNormal(value); return *this;}
62
64
67 inline const Aws::String& GetStatus() const { return m_status; }
68 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
69 template<typename StatusT = Aws::String>
70 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
71 template<typename StatusT = Aws::String>
72 AwsRdsDbStatusInfo& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
74
76
80 inline const Aws::String& GetMessage() const { return m_message; }
81 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
82 template<typename MessageT = Aws::String>
83 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
84 template<typename MessageT = Aws::String>
85 AwsRdsDbStatusInfo& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
87 private:
88
89 Aws::String m_statusType;
90 bool m_statusTypeHasBeenSet = false;
91
92 bool m_normal{false};
93 bool m_normalHasBeenSet = false;
94
95 Aws::String m_status;
96 bool m_statusHasBeenSet = false;
97
98 Aws::String m_message;
99 bool m_messageHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace SecurityHub
104} // namespace Aws
AwsRdsDbStatusInfo & WithStatus(StatusT &&value)
AwsRdsDbStatusInfo & WithNormal(bool value)
AwsRdsDbStatusInfo & WithStatusType(StatusTypeT &&value)
AWS_SECURITYHUB_API AwsRdsDbStatusInfo(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbStatusInfo & WithMessage(MessageT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsRdsDbStatusInfo()=default
AWS_SECURITYHUB_API AwsRdsDbStatusInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue