AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStatusType(const Aws::String& value) { m_statusTypeHasBeenSet = true; m_statusType = value; }
48 inline void SetStatusType(Aws::String&& value) { m_statusTypeHasBeenSet = true; m_statusType = std::move(value); }
49 inline void SetStatusType(const char* value) { m_statusTypeHasBeenSet = true; m_statusType.assign(value); }
50 inline AwsRdsDbStatusInfo& WithStatusType(const Aws::String& value) { SetStatusType(value); return *this;}
51 inline AwsRdsDbStatusInfo& WithStatusType(Aws::String&& value) { SetStatusType(std::move(value)); return *this;}
52 inline AwsRdsDbStatusInfo& WithStatusType(const char* value) { SetStatusType(value); return *this;}
54
56
59 inline bool GetNormal() const{ return m_normal; }
60 inline bool NormalHasBeenSet() const { return m_normalHasBeenSet; }
61 inline void SetNormal(bool value) { m_normalHasBeenSet = true; m_normal = value; }
62 inline AwsRdsDbStatusInfo& WithNormal(bool value) { SetNormal(value); return *this;}
64
66
69 inline const Aws::String& GetStatus() const{ return m_status; }
70 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
71 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
72 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
73 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
74 inline AwsRdsDbStatusInfo& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
75 inline AwsRdsDbStatusInfo& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
76 inline AwsRdsDbStatusInfo& WithStatus(const char* value) { SetStatus(value); return *this;}
78
80
84 inline const Aws::String& GetMessage() const{ return m_message; }
85 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
86 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
87 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
88 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
89 inline AwsRdsDbStatusInfo& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
90 inline AwsRdsDbStatusInfo& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
91 inline AwsRdsDbStatusInfo& WithMessage(const char* value) { SetMessage(value); return *this;}
93 private:
94
95 Aws::String m_statusType;
96 bool m_statusTypeHasBeenSet = false;
97
98 bool m_normal;
99 bool m_normalHasBeenSet = false;
100
101 Aws::String m_status;
102 bool m_statusHasBeenSet = false;
103
104 Aws::String m_message;
105 bool m_messageHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace SecurityHub
110} // namespace Aws
AwsRdsDbStatusInfo & WithMessage(const char *value)
void SetStatusType(const Aws::String &value)
AwsRdsDbStatusInfo & WithNormal(bool value)
AWS_SECURITYHUB_API AwsRdsDbStatusInfo(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbStatusInfo & WithStatusType(const Aws::String &value)
AwsRdsDbStatusInfo & WithStatus(const char *value)
AwsRdsDbStatusInfo & WithMessage(Aws::String &&value)
AwsRdsDbStatusInfo & WithStatus(Aws::String &&value)
AwsRdsDbStatusInfo & WithMessage(const Aws::String &value)
void SetMessage(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsRdsDbStatusInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbStatusInfo & WithStatusType(Aws::String &&value)
AwsRdsDbStatusInfo & WithStatus(const Aws::String &value)
AwsRdsDbStatusInfo & WithStatusType(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue