AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServerCertificateConfiguration.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/network-firewall/model/CheckCertificateRevocationStatusActions.h>
11#include <aws/network-firewall/model/ServerCertificate.h>
12#include <aws/network-firewall/model/ServerCertificateScope.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace NetworkFirewall
26{
27namespace Model
28{
29
47 {
48 public:
49 AWS_NETWORKFIREWALL_API ServerCertificateConfiguration();
52 AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const;
53
54
56
59 inline const Aws::Vector<ServerCertificate>& GetServerCertificates() const{ return m_serverCertificates; }
60 inline bool ServerCertificatesHasBeenSet() const { return m_serverCertificatesHasBeenSet; }
61 inline void SetServerCertificates(const Aws::Vector<ServerCertificate>& value) { m_serverCertificatesHasBeenSet = true; m_serverCertificates = value; }
62 inline void SetServerCertificates(Aws::Vector<ServerCertificate>&& value) { m_serverCertificatesHasBeenSet = true; m_serverCertificates = std::move(value); }
65 inline ServerCertificateConfiguration& AddServerCertificates(const ServerCertificate& value) { m_serverCertificatesHasBeenSet = true; m_serverCertificates.push_back(value); return *this; }
66 inline ServerCertificateConfiguration& AddServerCertificates(ServerCertificate&& value) { m_serverCertificatesHasBeenSet = true; m_serverCertificates.push_back(std::move(value)); return *this; }
68
70
73 inline const Aws::Vector<ServerCertificateScope>& GetScopes() const{ return m_scopes; }
74 inline bool ScopesHasBeenSet() const { return m_scopesHasBeenSet; }
75 inline void SetScopes(const Aws::Vector<ServerCertificateScope>& value) { m_scopesHasBeenSet = true; m_scopes = value; }
76 inline void SetScopes(Aws::Vector<ServerCertificateScope>&& value) { m_scopesHasBeenSet = true; m_scopes = std::move(value); }
79 inline ServerCertificateConfiguration& AddScopes(const ServerCertificateScope& value) { m_scopesHasBeenSet = true; m_scopes.push_back(value); return *this; }
80 inline ServerCertificateConfiguration& AddScopes(ServerCertificateScope&& value) { m_scopesHasBeenSet = true; m_scopes.push_back(std::move(value)); return *this; }
82
84
99 inline const Aws::String& GetCertificateAuthorityArn() const{ return m_certificateAuthorityArn; }
100 inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; }
101 inline void SetCertificateAuthorityArn(const Aws::String& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = value; }
102 inline void SetCertificateAuthorityArn(Aws::String&& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = std::move(value); }
103 inline void SetCertificateAuthorityArn(const char* value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn.assign(value); }
108
110
118 inline const CheckCertificateRevocationStatusActions& GetCheckCertificateRevocationStatus() const{ return m_checkCertificateRevocationStatus; }
119 inline bool CheckCertificateRevocationStatusHasBeenSet() const { return m_checkCertificateRevocationStatusHasBeenSet; }
120 inline void SetCheckCertificateRevocationStatus(const CheckCertificateRevocationStatusActions& value) { m_checkCertificateRevocationStatusHasBeenSet = true; m_checkCertificateRevocationStatus = value; }
121 inline void SetCheckCertificateRevocationStatus(CheckCertificateRevocationStatusActions&& value) { m_checkCertificateRevocationStatusHasBeenSet = true; m_checkCertificateRevocationStatus = std::move(value); }
125 private:
126
127 Aws::Vector<ServerCertificate> m_serverCertificates;
128 bool m_serverCertificatesHasBeenSet = false;
129
131 bool m_scopesHasBeenSet = false;
132
133 Aws::String m_certificateAuthorityArn;
134 bool m_certificateAuthorityArnHasBeenSet = false;
135
136 CheckCertificateRevocationStatusActions m_checkCertificateRevocationStatus;
137 bool m_checkCertificateRevocationStatusHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace NetworkFirewall
142} // namespace Aws
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NETWORKFIREWALL_API ServerCertificateConfiguration(Aws::Utils::Json::JsonView jsonValue)
ServerCertificateConfiguration & WithCheckCertificateRevocationStatus(const CheckCertificateRevocationStatusActions &value)
const Aws::Vector< ServerCertificate > & GetServerCertificates() const
ServerCertificateConfiguration & WithServerCertificates(Aws::Vector< ServerCertificate > &&value)
const CheckCertificateRevocationStatusActions & GetCheckCertificateRevocationStatus() const
ServerCertificateConfiguration & WithCertificateAuthorityArn(const Aws::String &value)
ServerCertificateConfiguration & WithCertificateAuthorityArn(const char *value)
ServerCertificateConfiguration & WithCertificateAuthorityArn(Aws::String &&value)
void SetCheckCertificateRevocationStatus(const CheckCertificateRevocationStatusActions &value)
ServerCertificateConfiguration & WithServerCertificates(const Aws::Vector< ServerCertificate > &value)
ServerCertificateConfiguration & AddScopes(ServerCertificateScope &&value)
ServerCertificateConfiguration & AddScopes(const ServerCertificateScope &value)
ServerCertificateConfiguration & AddServerCertificates(ServerCertificate &&value)
AWS_NETWORKFIREWALL_API ServerCertificateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetScopes(const Aws::Vector< ServerCertificateScope > &value)
ServerCertificateConfiguration & AddServerCertificates(const ServerCertificate &value)
void SetServerCertificates(Aws::Vector< ServerCertificate > &&value)
ServerCertificateConfiguration & WithScopes(Aws::Vector< ServerCertificateScope > &&value)
const Aws::Vector< ServerCertificateScope > & GetScopes() const
ServerCertificateConfiguration & WithScopes(const Aws::Vector< ServerCertificateScope > &value)
void SetServerCertificates(const Aws::Vector< ServerCertificate > &value)
void SetCheckCertificateRevocationStatus(CheckCertificateRevocationStatusActions &&value)
void SetScopes(Aws::Vector< ServerCertificateScope > &&value)
ServerCertificateConfiguration & WithCheckCertificateRevocationStatus(CheckCertificateRevocationStatusActions &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue