AWS SDK for C++  1.9.123
AWS SDK for C++
TlsValidationContextTrust.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace AppMesh
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
47  inline const TlsValidationContextAcmTrust& GetAcm() const{ return m_acm; }
48 
53  inline bool AcmHasBeenSet() const { return m_acmHasBeenSet; }
54 
59  inline void SetAcm(const TlsValidationContextAcmTrust& value) { m_acmHasBeenSet = true; m_acm = value; }
60 
65  inline void SetAcm(TlsValidationContextAcmTrust&& value) { m_acmHasBeenSet = true; m_acm = std::move(value); }
66 
71  inline TlsValidationContextTrust& WithAcm(const TlsValidationContextAcmTrust& value) { SetAcm(value); return *this;}
72 
77  inline TlsValidationContextTrust& WithAcm(TlsValidationContextAcmTrust&& value) { SetAcm(std::move(value)); return *this;}
78 
79 
84  inline const TlsValidationContextFileTrust& GetFile() const{ return m_file; }
85 
90  inline bool FileHasBeenSet() const { return m_fileHasBeenSet; }
91 
96  inline void SetFile(const TlsValidationContextFileTrust& value) { m_fileHasBeenSet = true; m_file = value; }
97 
102  inline void SetFile(TlsValidationContextFileTrust&& value) { m_fileHasBeenSet = true; m_file = std::move(value); }
103 
108  inline TlsValidationContextTrust& WithFile(const TlsValidationContextFileTrust& value) { SetFile(value); return *this;}
109 
114  inline TlsValidationContextTrust& WithFile(TlsValidationContextFileTrust&& value) { SetFile(std::move(value)); return *this;}
115 
116 
121  inline const TlsValidationContextSdsTrust& GetSds() const{ return m_sds; }
122 
127  inline bool SdsHasBeenSet() const { return m_sdsHasBeenSet; }
128 
133  inline void SetSds(const TlsValidationContextSdsTrust& value) { m_sdsHasBeenSet = true; m_sds = value; }
134 
139  inline void SetSds(TlsValidationContextSdsTrust&& value) { m_sdsHasBeenSet = true; m_sds = std::move(value); }
140 
145  inline TlsValidationContextTrust& WithSds(const TlsValidationContextSdsTrust& value) { SetSds(value); return *this;}
146 
151  inline TlsValidationContextTrust& WithSds(TlsValidationContextSdsTrust&& value) { SetSds(std::move(value)); return *this;}
152 
153  private:
154 
156  bool m_acmHasBeenSet;
157 
159  bool m_fileHasBeenSet;
160 
162  bool m_sdsHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace AppMesh
167 } // namespace Aws
Aws::AppMesh::Model::TlsValidationContextTrust::SetAcm
void SetAcm(TlsValidationContextAcmTrust &&value)
Definition: TlsValidationContextTrust.h:65
Aws::AppMesh::Model::TlsValidationContextTrust::GetFile
const TlsValidationContextFileTrust & GetFile() const
Definition: TlsValidationContextTrust.h:84
Aws::AppMesh::Model::TlsValidationContextTrust::WithFile
TlsValidationContextTrust & WithFile(TlsValidationContextFileTrust &&value)
Definition: TlsValidationContextTrust.h:114
Aws::AppMesh::Model::TlsValidationContextTrust::SdsHasBeenSet
bool SdsHasBeenSet() const
Definition: TlsValidationContextTrust.h:127
Aws::AppMesh::Model::TlsValidationContextTrust::FileHasBeenSet
bool FileHasBeenSet() const
Definition: TlsValidationContextTrust.h:90
Aws::AppMesh::Model::TlsValidationContextTrust::SetAcm
void SetAcm(const TlsValidationContextAcmTrust &value)
Definition: TlsValidationContextTrust.h:59
TlsValidationContextFileTrust.h
Aws::AppMesh::Model::TlsValidationContextTrust::SetSds
void SetSds(TlsValidationContextSdsTrust &&value)
Definition: TlsValidationContextTrust.h:139
Aws::AppMesh::Model::TlsValidationContextAcmTrust
Definition: TlsValidationContextAcmTrust.h:34
AppMesh_EXPORTS.h
Aws::AppMesh::Model::TlsValidationContextTrust::WithSds
TlsValidationContextTrust & WithSds(TlsValidationContextSdsTrust &&value)
Definition: TlsValidationContextTrust.h:151
Aws::AppMesh::Model::TlsValidationContextTrust::GetSds
const TlsValidationContextSdsTrust & GetSds() const
Definition: TlsValidationContextTrust.h:121
Aws::AppMesh::Model::TlsValidationContextTrust::GetAcm
const TlsValidationContextAcmTrust & GetAcm() const
Definition: TlsValidationContextTrust.h:47
Aws::AppMesh::Model::TlsValidationContextSdsTrust
Definition: TlsValidationContextSdsTrust.h:36
Aws::AppMesh::Model::TlsValidationContextTrust
Definition: TlsValidationContextTrust.h:35
Aws::AppMesh::Model::TlsValidationContextTrust::SetSds
void SetSds(const TlsValidationContextSdsTrust &value)
Definition: TlsValidationContextTrust.h:133
TlsValidationContextAcmTrust.h
Aws::AppMesh::Model::TlsValidationContextTrust::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
TlsValidationContextSdsTrust.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::AppMesh::Model::TlsValidationContextTrust::WithAcm
TlsValidationContextTrust & WithAcm(const TlsValidationContextAcmTrust &value)
Definition: TlsValidationContextTrust.h:71
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::TlsValidationContextTrust::TlsValidationContextTrust
TlsValidationContextTrust(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::TlsValidationContextFileTrust
Definition: TlsValidationContextFileTrust.h:33
Aws::AppMesh::Model::TlsValidationContextTrust::AcmHasBeenSet
bool AcmHasBeenSet() const
Definition: TlsValidationContextTrust.h:53
Aws::AppMesh::Model::TlsValidationContextTrust::WithAcm
TlsValidationContextTrust & WithAcm(TlsValidationContextAcmTrust &&value)
Definition: TlsValidationContextTrust.h:77
Aws::AppMesh::Model::TlsValidationContextTrust::SetFile
void SetFile(TlsValidationContextFileTrust &&value)
Definition: TlsValidationContextTrust.h:102
Aws::AppMesh::Model::TlsValidationContextTrust::SetFile
void SetFile(const TlsValidationContextFileTrust &value)
Definition: TlsValidationContextTrust.h:96
Aws::AppMesh::Model::TlsValidationContextTrust::WithFile
TlsValidationContextTrust & WithFile(const TlsValidationContextFileTrust &value)
Definition: TlsValidationContextTrust.h:108
Aws::AppMesh::Model::TlsValidationContextTrust::TlsValidationContextTrust
TlsValidationContextTrust()
Aws::AppMesh::Model::TlsValidationContextTrust::WithSds
TlsValidationContextTrust & WithSds(const TlsValidationContextSdsTrust &value)
Definition: TlsValidationContextTrust.h:145
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::TlsValidationContextTrust::operator=
TlsValidationContextTrust & operator=(Aws::Utils::Json::JsonView jsonValue)