AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TlsValidationContext.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/SubjectAlternativeNames.h>
9#include <aws/appmesh/model/TlsValidationContextTrust.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:
36 AWS_APPMESH_API TlsValidationContext();
39 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
53 inline const SubjectAlternativeNames& GetSubjectAlternativeNames() const{ return m_subjectAlternativeNames; }
54 inline bool SubjectAlternativeNamesHasBeenSet() const { return m_subjectAlternativeNamesHasBeenSet; }
55 inline void SetSubjectAlternativeNames(const SubjectAlternativeNames& value) { m_subjectAlternativeNamesHasBeenSet = true; m_subjectAlternativeNames = value; }
56 inline void SetSubjectAlternativeNames(SubjectAlternativeNames&& value) { m_subjectAlternativeNamesHasBeenSet = true; m_subjectAlternativeNames = std::move(value); }
60
62
66 inline const TlsValidationContextTrust& GetTrust() const{ return m_trust; }
67 inline bool TrustHasBeenSet() const { return m_trustHasBeenSet; }
68 inline void SetTrust(const TlsValidationContextTrust& value) { m_trustHasBeenSet = true; m_trust = value; }
69 inline void SetTrust(TlsValidationContextTrust&& value) { m_trustHasBeenSet = true; m_trust = std::move(value); }
70 inline TlsValidationContext& WithTrust(const TlsValidationContextTrust& value) { SetTrust(value); return *this;}
71 inline TlsValidationContext& WithTrust(TlsValidationContextTrust&& value) { SetTrust(std::move(value)); return *this;}
73 private:
74
75 SubjectAlternativeNames m_subjectAlternativeNames;
76 bool m_subjectAlternativeNamesHasBeenSet = false;
77
79 bool m_trustHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace AppMesh
84} // namespace Aws
void SetTrust(TlsValidationContextTrust &&value)
void SetTrust(const TlsValidationContextTrust &value)
void SetSubjectAlternativeNames(const SubjectAlternativeNames &value)
TlsValidationContext & WithSubjectAlternativeNames(SubjectAlternativeNames &&value)
TlsValidationContext & WithTrust(const TlsValidationContextTrust &value)
const TlsValidationContextTrust & GetTrust() const
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
TlsValidationContext & WithTrust(TlsValidationContextTrust &&value)
TlsValidationContext & WithSubjectAlternativeNames(const SubjectAlternativeNames &value)
AWS_APPMESH_API TlsValidationContext(Aws::Utils::Json::JsonView jsonValue)
const SubjectAlternativeNames & GetSubjectAlternativeNames() const
AWS_APPMESH_API TlsValidationContext & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubjectAlternativeNames(SubjectAlternativeNames &&value)
Aws::Utils::Json::JsonValue JsonValue