AWS SDK for C++  1.9.123
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 
46  inline const TlsValidationContextFileTrust& GetFile() const{ return m_file; }
47 
52  inline bool FileHasBeenSet() const { return m_fileHasBeenSet; }
53 
58  inline void SetFile(const TlsValidationContextFileTrust& value) { m_fileHasBeenSet = true; m_file = value; }
59 
64  inline void SetFile(TlsValidationContextFileTrust&& value) { m_fileHasBeenSet = true; m_file = std::move(value); }
65 
70  inline ListenerTlsValidationContextTrust& WithFile(const TlsValidationContextFileTrust& value) { SetFile(value); return *this;}
71 
76  inline ListenerTlsValidationContextTrust& WithFile(TlsValidationContextFileTrust&& value) { SetFile(std::move(value)); return *this;}
77 
78 
83  inline const TlsValidationContextSdsTrust& GetSds() const{ return m_sds; }
84 
89  inline bool SdsHasBeenSet() const { return m_sdsHasBeenSet; }
90 
95  inline void SetSds(const TlsValidationContextSdsTrust& value) { m_sdsHasBeenSet = true; m_sds = value; }
96 
101  inline void SetSds(TlsValidationContextSdsTrust&& value) { m_sdsHasBeenSet = true; m_sds = std::move(value); }
102 
107  inline ListenerTlsValidationContextTrust& WithSds(const TlsValidationContextSdsTrust& value) { SetSds(value); return *this;}
108 
113  inline ListenerTlsValidationContextTrust& WithSds(TlsValidationContextSdsTrust&& value) { SetSds(std::move(value)); return *this;}
114 
115  private:
116 
118  bool m_fileHasBeenSet;
119 
121  bool m_sdsHasBeenSet;
122  };
123 
124 } // namespace Model
125 } // namespace AppMesh
126 } // namespace Aws
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::GetFile
const TlsValidationContextFileTrust & GetFile() const
Definition: ListenerTlsValidationContextTrust.h:46
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::SetFile
void SetFile(TlsValidationContextFileTrust &&value)
Definition: ListenerTlsValidationContextTrust.h:64
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:107
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::SetSds
void SetSds(const TlsValidationContextSdsTrust &value)
Definition: ListenerTlsValidationContextTrust.h:95
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::WithFile
ListenerTlsValidationContextTrust & WithFile(TlsValidationContextFileTrust &&value)
Definition: ListenerTlsValidationContextTrust.h:76
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:52
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::WithSds
ListenerTlsValidationContextTrust & WithSds(TlsValidationContextSdsTrust &&value)
Definition: ListenerTlsValidationContextTrust.h:113
TlsValidationContextSdsTrust.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::GetSds
const TlsValidationContextSdsTrust & GetSds() const
Definition: ListenerTlsValidationContextTrust.h:83
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::WithFile
ListenerTlsValidationContextTrust & WithFile(const TlsValidationContextFileTrust &value)
Definition: ListenerTlsValidationContextTrust.h:70
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:89
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::SetFile
void SetFile(const TlsValidationContextFileTrust &value)
Definition: ListenerTlsValidationContextTrust.h:58
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::ListenerTlsValidationContextTrust::SetSds
void SetSds(TlsValidationContextSdsTrust &&value)
Definition: ListenerTlsValidationContextTrust.h:101