AWS SDK for C++  1.9.20
AWS SDK for C++
TlsValidationContextFileTrust.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace AppMesh
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline const Aws::String& GetCertificateChain() const{ return m_certificateChain; }
46 
51  inline bool CertificateChainHasBeenSet() const { return m_certificateChainHasBeenSet; }
52 
57  inline void SetCertificateChain(const Aws::String& value) { m_certificateChainHasBeenSet = true; m_certificateChain = value; }
58 
63  inline void SetCertificateChain(Aws::String&& value) { m_certificateChainHasBeenSet = true; m_certificateChain = std::move(value); }
64 
69  inline void SetCertificateChain(const char* value) { m_certificateChainHasBeenSet = true; m_certificateChain.assign(value); }
70 
75  inline TlsValidationContextFileTrust& WithCertificateChain(const Aws::String& value) { SetCertificateChain(value); return *this;}
76 
81  inline TlsValidationContextFileTrust& WithCertificateChain(Aws::String&& value) { SetCertificateChain(std::move(value)); return *this;}
82 
87  inline TlsValidationContextFileTrust& WithCertificateChain(const char* value) { SetCertificateChain(value); return *this;}
88 
89  private:
90 
91  Aws::String m_certificateChain;
92  bool m_certificateChainHasBeenSet;
93  };
94 
95 } // namespace Model
96 } // namespace AppMesh
97 } // namespace Aws
Aws::AppMesh::Model::TlsValidationContextFileTrust::SetCertificateChain
void SetCertificateChain(Aws::String &&value)
Definition: TlsValidationContextFileTrust.h:63
Aws::AppMesh::Model::TlsValidationContextFileTrust::operator=
TlsValidationContextFileTrust & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::TlsValidationContextFileTrust::WithCertificateChain
TlsValidationContextFileTrust & WithCertificateChain(Aws::String &&value)
Definition: TlsValidationContextFileTrust.h:81
AppMesh_EXPORTS.h
Aws::AppMesh::Model::TlsValidationContextFileTrust::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::TlsValidationContextFileTrust::TlsValidationContextFileTrust
TlsValidationContextFileTrust()
Aws::AppMesh::Model::TlsValidationContextFileTrust::TlsValidationContextFileTrust
TlsValidationContextFileTrust(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::TlsValidationContextFileTrust::WithCertificateChain
TlsValidationContextFileTrust & WithCertificateChain(const Aws::String &value)
Definition: TlsValidationContextFileTrust.h:75
Aws::AppMesh::Model::TlsValidationContextFileTrust::WithCertificateChain
TlsValidationContextFileTrust & WithCertificateChain(const char *value)
Definition: TlsValidationContextFileTrust.h:87
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::TlsValidationContextFileTrust::GetCertificateChain
const Aws::String & GetCertificateChain() const
Definition: TlsValidationContextFileTrust.h:45
Aws::AppMesh::Model::TlsValidationContextFileTrust::CertificateChainHasBeenSet
bool CertificateChainHasBeenSet() const
Definition: TlsValidationContextFileTrust.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::TlsValidationContextFileTrust
Definition: TlsValidationContextFileTrust.h:33
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::TlsValidationContextFileTrust::SetCertificateChain
void SetCertificateChain(const char *value)
Definition: TlsValidationContextFileTrust.h:69
Aws::AppMesh::Model::TlsValidationContextFileTrust::SetCertificateChain
void SetCertificateChain(const Aws::String &value)
Definition: TlsValidationContextFileTrust.h:57
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28