AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TlsCertificateData.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_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 NetworkFirewall
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_NETWORKFIREWALL_API TlsCertificateData();
36 AWS_NETWORKFIREWALL_API TlsCertificateData(Aws::Utils::Json::JsonView jsonValue);
37 AWS_NETWORKFIREWALL_API TlsCertificateData& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
46 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
47 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
48 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
49 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
50 inline TlsCertificateData& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
51 inline TlsCertificateData& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
52 inline TlsCertificateData& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
54
56
59 inline const Aws::String& GetCertificateSerial() const{ return m_certificateSerial; }
60 inline bool CertificateSerialHasBeenSet() const { return m_certificateSerialHasBeenSet; }
61 inline void SetCertificateSerial(const Aws::String& value) { m_certificateSerialHasBeenSet = true; m_certificateSerial = value; }
62 inline void SetCertificateSerial(Aws::String&& value) { m_certificateSerialHasBeenSet = true; m_certificateSerial = std::move(value); }
63 inline void SetCertificateSerial(const char* value) { m_certificateSerialHasBeenSet = true; m_certificateSerial.assign(value); }
64 inline TlsCertificateData& WithCertificateSerial(const Aws::String& value) { SetCertificateSerial(value); return *this;}
65 inline TlsCertificateData& WithCertificateSerial(Aws::String&& value) { SetCertificateSerial(std::move(value)); return *this;}
66 inline TlsCertificateData& WithCertificateSerial(const char* value) { SetCertificateSerial(value); return *this;}
68
70
73 inline const Aws::String& GetStatus() const{ return m_status; }
74 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
75 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
76 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
77 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
78 inline TlsCertificateData& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
79 inline TlsCertificateData& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
80 inline TlsCertificateData& WithStatus(const char* value) { SetStatus(value); return *this;}
82
84
88 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
89 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
90 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
91 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
92 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
93 inline TlsCertificateData& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
94 inline TlsCertificateData& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
95 inline TlsCertificateData& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
97 private:
98
99 Aws::String m_certificateArn;
100 bool m_certificateArnHasBeenSet = false;
101
102 Aws::String m_certificateSerial;
103 bool m_certificateSerialHasBeenSet = false;
104
105 Aws::String m_status;
106 bool m_statusHasBeenSet = false;
107
108 Aws::String m_statusMessage;
109 bool m_statusMessageHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace NetworkFirewall
114} // namespace Aws
TlsCertificateData & WithCertificateSerial(Aws::String &&value)
TlsCertificateData & WithCertificateSerial(const char *value)
TlsCertificateData & WithCertificateSerial(const Aws::String &value)
TlsCertificateData & WithCertificateArn(const char *value)
TlsCertificateData & WithStatusMessage(const Aws::String &value)
TlsCertificateData & WithStatus(const char *value)
TlsCertificateData & WithStatus(Aws::String &&value)
AWS_NETWORKFIREWALL_API TlsCertificateData(Aws::Utils::Json::JsonView jsonValue)
TlsCertificateData & WithStatus(const Aws::String &value)
TlsCertificateData & WithCertificateArn(const Aws::String &value)
void SetCertificateSerial(const Aws::String &value)
TlsCertificateData & WithStatusMessage(const char *value)
TlsCertificateData & WithCertificateArn(Aws::String &&value)
AWS_NETWORKFIREWALL_API TlsCertificateData & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
TlsCertificateData & WithStatusMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue