AWS SDK for C++  1.9.17
AWS SDK for C++
VirtualGatewayTlsValidationContext.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace AppMesh
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline const SubjectAlternativeNames& GetSubjectAlternativeNames() const{ return m_subjectAlternativeNames; }
47 
52  inline bool SubjectAlternativeNamesHasBeenSet() const { return m_subjectAlternativeNamesHasBeenSet; }
53 
58  inline void SetSubjectAlternativeNames(const SubjectAlternativeNames& value) { m_subjectAlternativeNamesHasBeenSet = true; m_subjectAlternativeNames = value; }
59 
64  inline void SetSubjectAlternativeNames(SubjectAlternativeNames&& value) { m_subjectAlternativeNamesHasBeenSet = true; m_subjectAlternativeNames = std::move(value); }
65 
70  inline VirtualGatewayTlsValidationContext& WithSubjectAlternativeNames(const SubjectAlternativeNames& value) { SetSubjectAlternativeNames(value); return *this;}
71 
76  inline VirtualGatewayTlsValidationContext& WithSubjectAlternativeNames(SubjectAlternativeNames&& value) { SetSubjectAlternativeNames(std::move(value)); return *this;}
77 
78 
83  inline const VirtualGatewayTlsValidationContextTrust& GetTrust() const{ return m_trust; }
84 
89  inline bool TrustHasBeenSet() const { return m_trustHasBeenSet; }
90 
95  inline void SetTrust(const VirtualGatewayTlsValidationContextTrust& value) { m_trustHasBeenSet = true; m_trust = value; }
96 
101  inline void SetTrust(VirtualGatewayTlsValidationContextTrust&& value) { m_trustHasBeenSet = true; m_trust = std::move(value); }
102 
107  inline VirtualGatewayTlsValidationContext& WithTrust(const VirtualGatewayTlsValidationContextTrust& value) { SetTrust(value); return *this;}
108 
113  inline VirtualGatewayTlsValidationContext& WithTrust(VirtualGatewayTlsValidationContextTrust&& value) { SetTrust(std::move(value)); return *this;}
114 
115  private:
116 
117  SubjectAlternativeNames m_subjectAlternativeNames;
118  bool m_subjectAlternativeNamesHasBeenSet;
119 
121  bool m_trustHasBeenSet;
122  };
123 
124 } // namespace Model
125 } // namespace AppMesh
126 } // namespace Aws
Aws::AppMesh::Model::VirtualGatewayTlsValidationContext::SubjectAlternativeNamesHasBeenSet
bool SubjectAlternativeNamesHasBeenSet() const
Definition: VirtualGatewayTlsValidationContext.h:52
Aws::AppMesh::Model::VirtualGatewayTlsValidationContext::GetSubjectAlternativeNames
const SubjectAlternativeNames & GetSubjectAlternativeNames() const
Definition: VirtualGatewayTlsValidationContext.h:46
Aws::AppMesh::Model::VirtualGatewayTlsValidationContext::WithSubjectAlternativeNames
VirtualGatewayTlsValidationContext & WithSubjectAlternativeNames(SubjectAlternativeNames &&value)
Definition: VirtualGatewayTlsValidationContext.h:76
Aws::AppMesh::Model::VirtualGatewayTlsValidationContext::GetTrust
const VirtualGatewayTlsValidationContextTrust & GetTrust() const
Definition: VirtualGatewayTlsValidationContext.h:83
SubjectAlternativeNames.h
Aws::AppMesh::Model::VirtualGatewayTlsValidationContext::SetSubjectAlternativeNames
void SetSubjectAlternativeNames(const SubjectAlternativeNames &value)
Definition: VirtualGatewayTlsValidationContext.h:58
Aws::AppMesh::Model::VirtualGatewayTlsValidationContext::VirtualGatewayTlsValidationContext
VirtualGatewayTlsValidationContext(Aws::Utils::Json::JsonView jsonValue)
AppMesh_EXPORTS.h
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextTrust
Definition: VirtualGatewayTlsValidationContextTrust.h:35
Aws::AppMesh::Model::VirtualGatewayTlsValidationContext::SetSubjectAlternativeNames
void SetSubjectAlternativeNames(SubjectAlternativeNames &&value)
Definition: VirtualGatewayTlsValidationContext.h:64
Aws::AppMesh::Model::VirtualGatewayTlsValidationContext::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
VirtualGatewayTlsValidationContextTrust.h
Aws::AppMesh::Model::SubjectAlternativeNames
Definition: SubjectAlternativeNames.h:33
Aws::AppMesh::Model::VirtualGatewayTlsValidationContext::SetTrust
void SetTrust(const VirtualGatewayTlsValidationContextTrust &value)
Definition: VirtualGatewayTlsValidationContext.h:95
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::VirtualGatewayTlsValidationContext::operator=
VirtualGatewayTlsValidationContext & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualGatewayTlsValidationContext::TrustHasBeenSet
bool TrustHasBeenSet() const
Definition: VirtualGatewayTlsValidationContext.h:89
Aws::AppMesh::Model::VirtualGatewayTlsValidationContext
Definition: VirtualGatewayTlsValidationContext.h:34
Aws::AppMesh::Model::VirtualGatewayTlsValidationContext::WithTrust
VirtualGatewayTlsValidationContext & WithTrust(const VirtualGatewayTlsValidationContextTrust &value)
Definition: VirtualGatewayTlsValidationContext.h:107
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::VirtualGatewayTlsValidationContext::VirtualGatewayTlsValidationContext
VirtualGatewayTlsValidationContext()
Aws::AppMesh::Model::VirtualGatewayTlsValidationContext::WithTrust
VirtualGatewayTlsValidationContext & WithTrust(VirtualGatewayTlsValidationContextTrust &&value)
Definition: VirtualGatewayTlsValidationContext.h:113
Aws::AppMesh::Model::VirtualGatewayTlsValidationContext::SetTrust
void SetTrust(VirtualGatewayTlsValidationContextTrust &&value)
Definition: VirtualGatewayTlsValidationContext.h:101
Aws::AppMesh::Model::VirtualGatewayTlsValidationContext::WithSubjectAlternativeNames
VirtualGatewayTlsValidationContext & WithSubjectAlternativeNames(const SubjectAlternativeNames &value)
Definition: VirtualGatewayTlsValidationContext.h:70
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28