AWS SDK for C++  1.9.16
AWS SDK for C++
ListenerTlsValidationContextTrust.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 
42 
43  inline const TlsValidationContextFileTrust& GetFile() const{ return m_file; }
44 
45 
46  inline bool FileHasBeenSet() const { return m_fileHasBeenSet; }
47 
48 
49  inline void SetFile(const TlsValidationContextFileTrust& value) { m_fileHasBeenSet = true; m_file = value; }
50 
51 
52  inline void SetFile(TlsValidationContextFileTrust&& value) { m_fileHasBeenSet = true; m_file = std::move(value); }
53 
54 
55  inline ListenerTlsValidationContextTrust& WithFile(const TlsValidationContextFileTrust& value) { SetFile(value); return *this;}
56 
57 
58  inline ListenerTlsValidationContextTrust& WithFile(TlsValidationContextFileTrust&& value) { SetFile(std::move(value)); return *this;}
59 
60 
65  inline const TlsValidationContextSdsTrust& GetSds() const{ return m_sds; }
66 
71  inline bool SdsHasBeenSet() const { return m_sdsHasBeenSet; }
72 
77  inline void SetSds(const TlsValidationContextSdsTrust& value) { m_sdsHasBeenSet = true; m_sds = value; }
78 
83  inline void SetSds(TlsValidationContextSdsTrust&& value) { m_sdsHasBeenSet = true; m_sds = std::move(value); }
84 
89  inline ListenerTlsValidationContextTrust& WithSds(const TlsValidationContextSdsTrust& value) { SetSds(value); return *this;}
90 
95  inline ListenerTlsValidationContextTrust& WithSds(TlsValidationContextSdsTrust&& value) { SetSds(std::move(value)); return *this;}
96 
97  private:
98 
100  bool m_fileHasBeenSet;
101 
103  bool m_sdsHasBeenSet;
104  };
105 
106 } // namespace Model
107 } // namespace AppMesh
108 } // namespace Aws
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::GetFile
const TlsValidationContextFileTrust & GetFile() const
Definition: ListenerTlsValidationContextTrust.h:43
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::SetFile
void SetFile(TlsValidationContextFileTrust &&value)
Definition: ListenerTlsValidationContextTrust.h:52
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::ListenerTlsValidationContextTrust
ListenerTlsValidationContextTrust()
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
TlsValidationContextFileTrust.h
AppMesh_EXPORTS.h
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::operator=
ListenerTlsValidationContextTrust & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::WithSds
ListenerTlsValidationContextTrust & WithSds(const TlsValidationContextSdsTrust &value)
Definition: ListenerTlsValidationContextTrust.h:89
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::SetSds
void SetSds(const TlsValidationContextSdsTrust &value)
Definition: ListenerTlsValidationContextTrust.h:77
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::WithFile
ListenerTlsValidationContextTrust & WithFile(TlsValidationContextFileTrust &&value)
Definition: ListenerTlsValidationContextTrust.h:58
Aws::AppMesh::Model::TlsValidationContextSdsTrust
Definition: TlsValidationContextSdsTrust.h:36
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::ListenerTlsValidationContextTrust
ListenerTlsValidationContextTrust(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::FileHasBeenSet
bool FileHasBeenSet() const
Definition: ListenerTlsValidationContextTrust.h:46
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::WithSds
ListenerTlsValidationContextTrust & WithSds(TlsValidationContextSdsTrust &&value)
Definition: ListenerTlsValidationContextTrust.h:95
TlsValidationContextSdsTrust.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::GetSds
const TlsValidationContextSdsTrust & GetSds() const
Definition: ListenerTlsValidationContextTrust.h:65
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::WithFile
ListenerTlsValidationContextTrust & WithFile(const TlsValidationContextFileTrust &value)
Definition: ListenerTlsValidationContextTrust.h:55
Aws::AppMesh::Model::ListenerTlsValidationContextTrust
Definition: ListenerTlsValidationContextTrust.h:34
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::TlsValidationContextFileTrust
Definition: TlsValidationContextFileTrust.h:33
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::SdsHasBeenSet
bool SdsHasBeenSet() const
Definition: ListenerTlsValidationContextTrust.h:71
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::SetFile
void SetFile(const TlsValidationContextFileTrust &value)
Definition: ListenerTlsValidationContextTrust.h:49
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::SetSds
void SetSds(TlsValidationContextSdsTrust &&value)
Definition: ListenerTlsValidationContextTrust.h:83