AWS SDK for C++  1.9.131
AWS SDK for C++
ListenerTlsValidationContext.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 ListenerTlsValidationContext& WithSubjectAlternativeNames(const SubjectAlternativeNames& value) { SetSubjectAlternativeNames(value); return *this;}
71 
76  inline ListenerTlsValidationContext& WithSubjectAlternativeNames(SubjectAlternativeNames&& value) { SetSubjectAlternativeNames(std::move(value)); return *this;}
77 
78 
83  inline const ListenerTlsValidationContextTrust& GetTrust() const{ return m_trust; }
84 
89  inline bool TrustHasBeenSet() const { return m_trustHasBeenSet; }
90 
95  inline void SetTrust(const ListenerTlsValidationContextTrust& value) { m_trustHasBeenSet = true; m_trust = value; }
96 
101  inline void SetTrust(ListenerTlsValidationContextTrust&& value) { m_trustHasBeenSet = true; m_trust = std::move(value); }
102 
107  inline ListenerTlsValidationContext& WithTrust(const ListenerTlsValidationContextTrust& value) { SetTrust(value); return *this;}
108 
113  inline ListenerTlsValidationContext& WithTrust(ListenerTlsValidationContextTrust&& 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::ListenerTlsValidationContext::WithTrust
ListenerTlsValidationContext & WithTrust(const ListenerTlsValidationContextTrust &value)
Definition: ListenerTlsValidationContext.h:107
Aws::AppMesh::Model::ListenerTlsValidationContext::GetTrust
const ListenerTlsValidationContextTrust & GetTrust() const
Definition: ListenerTlsValidationContext.h:83
SubjectAlternativeNames.h
Aws::AppMesh::Model::ListenerTlsValidationContext::SetSubjectAlternativeNames
void SetSubjectAlternativeNames(const SubjectAlternativeNames &value)
Definition: ListenerTlsValidationContext.h:58
Aws::AppMesh::Model::ListenerTlsValidationContext::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AppMesh_EXPORTS.h
Aws::AppMesh::Model::ListenerTlsValidationContext::ListenerTlsValidationContext
ListenerTlsValidationContext(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::ListenerTlsValidationContext::SetTrust
void SetTrust(ListenerTlsValidationContextTrust &&value)
Definition: ListenerTlsValidationContext.h:101
Aws::AppMesh::Model::ListenerTlsValidationContext::WithTrust
ListenerTlsValidationContext & WithTrust(ListenerTlsValidationContextTrust &&value)
Definition: ListenerTlsValidationContext.h:113
Aws::AppMesh::Model::ListenerTlsValidationContext::GetSubjectAlternativeNames
const SubjectAlternativeNames & GetSubjectAlternativeNames() const
Definition: ListenerTlsValidationContext.h:46
Aws::AppMesh::Model::ListenerTlsValidationContext::TrustHasBeenSet
bool TrustHasBeenSet() const
Definition: ListenerTlsValidationContext.h:89
Aws::AppMesh::Model::ListenerTlsValidationContext::operator=
ListenerTlsValidationContext & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::ListenerTlsValidationContext::ListenerTlsValidationContext
ListenerTlsValidationContext()
Aws::AppMesh::Model::ListenerTlsValidationContext::SetSubjectAlternativeNames
void SetSubjectAlternativeNames(SubjectAlternativeNames &&value)
Definition: ListenerTlsValidationContext.h:64
Aws::AppMesh::Model::SubjectAlternativeNames
Definition: SubjectAlternativeNames.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::ListenerTlsValidationContextTrust
Definition: ListenerTlsValidationContextTrust.h:34
Aws::AppMesh::Model::ListenerTlsValidationContext
Definition: ListenerTlsValidationContext.h:34
Aws::AppMesh::Model::ListenerTlsValidationContext::WithSubjectAlternativeNames
ListenerTlsValidationContext & WithSubjectAlternativeNames(SubjectAlternativeNames &&value)
Definition: ListenerTlsValidationContext.h:76
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::ListenerTlsValidationContext::WithSubjectAlternativeNames
ListenerTlsValidationContext & WithSubjectAlternativeNames(const SubjectAlternativeNames &value)
Definition: ListenerTlsValidationContext.h:70
Aws::AppMesh::Model::ListenerTlsValidationContext::SetTrust
void SetTrust(const ListenerTlsValidationContextTrust &value)
Definition: ListenerTlsValidationContext.h:95
Aws::AppMesh::Model::ListenerTlsValidationContext::SubjectAlternativeNamesHasBeenSet
bool SubjectAlternativeNamesHasBeenSet() const
Definition: ListenerTlsValidationContext.h:52
ListenerTlsValidationContextTrust.h
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28