AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VirtualGatewayTlsValidationContext.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/SubjectAlternativeNames.h>
9#include <aws/appmesh/model/VirtualGatewayTlsValidationContextTrust.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppMesh
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const SubjectAlternativeNames& GetSubjectAlternativeNames() const{ return m_subjectAlternativeNames; }
48 inline bool SubjectAlternativeNamesHasBeenSet() const { return m_subjectAlternativeNamesHasBeenSet; }
49 inline void SetSubjectAlternativeNames(const SubjectAlternativeNames& value) { m_subjectAlternativeNamesHasBeenSet = true; m_subjectAlternativeNames = value; }
50 inline void SetSubjectAlternativeNames(SubjectAlternativeNames&& value) { m_subjectAlternativeNamesHasBeenSet = true; m_subjectAlternativeNames = std::move(value); }
54
56
60 inline const VirtualGatewayTlsValidationContextTrust& GetTrust() const{ return m_trust; }
61 inline bool TrustHasBeenSet() const { return m_trustHasBeenSet; }
62 inline void SetTrust(const VirtualGatewayTlsValidationContextTrust& value) { m_trustHasBeenSet = true; m_trust = value; }
63 inline void SetTrust(VirtualGatewayTlsValidationContextTrust&& value) { m_trustHasBeenSet = true; m_trust = std::move(value); }
67 private:
68
69 SubjectAlternativeNames m_subjectAlternativeNames;
70 bool m_subjectAlternativeNamesHasBeenSet = false;
71
73 bool m_trustHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace AppMesh
78} // namespace Aws
VirtualGatewayTlsValidationContext & WithTrust(const VirtualGatewayTlsValidationContextTrust &value)
VirtualGatewayTlsValidationContext & WithTrust(VirtualGatewayTlsValidationContextTrust &&value)
VirtualGatewayTlsValidationContext & WithSubjectAlternativeNames(const SubjectAlternativeNames &value)
void SetTrust(VirtualGatewayTlsValidationContextTrust &&value)
AWS_APPMESH_API VirtualGatewayTlsValidationContext(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API VirtualGatewayTlsValidationContext & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
VirtualGatewayTlsValidationContext & WithSubjectAlternativeNames(SubjectAlternativeNames &&value)
void SetTrust(const VirtualGatewayTlsValidationContextTrust &value)
const VirtualGatewayTlsValidationContextTrust & GetTrust() const
Aws::Utils::Json::JsonValue JsonValue