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