AWS SDK for C++  1.9.17
AWS SDK for C++
VirtualGatewayTlsValidationContextAcmTrust.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 
35  {
36  public:
41 
42 
46  inline const Aws::Vector<Aws::String>& GetCertificateAuthorityArns() const{ return m_certificateAuthorityArns; }
47 
51  inline bool CertificateAuthorityArnsHasBeenSet() const { return m_certificateAuthorityArnsHasBeenSet; }
52 
56  inline void SetCertificateAuthorityArns(const Aws::Vector<Aws::String>& value) { m_certificateAuthorityArnsHasBeenSet = true; m_certificateAuthorityArns = value; }
57 
61  inline void SetCertificateAuthorityArns(Aws::Vector<Aws::String>&& value) { m_certificateAuthorityArnsHasBeenSet = true; m_certificateAuthorityArns = std::move(value); }
62 
66  inline VirtualGatewayTlsValidationContextAcmTrust& WithCertificateAuthorityArns(const Aws::Vector<Aws::String>& value) { SetCertificateAuthorityArns(value); return *this;}
67 
71  inline VirtualGatewayTlsValidationContextAcmTrust& WithCertificateAuthorityArns(Aws::Vector<Aws::String>&& value) { SetCertificateAuthorityArns(std::move(value)); return *this;}
72 
76  inline VirtualGatewayTlsValidationContextAcmTrust& AddCertificateAuthorityArns(const Aws::String& value) { m_certificateAuthorityArnsHasBeenSet = true; m_certificateAuthorityArns.push_back(value); return *this; }
77 
81  inline VirtualGatewayTlsValidationContextAcmTrust& AddCertificateAuthorityArns(Aws::String&& value) { m_certificateAuthorityArnsHasBeenSet = true; m_certificateAuthorityArns.push_back(std::move(value)); return *this; }
82 
86  inline VirtualGatewayTlsValidationContextAcmTrust& AddCertificateAuthorityArns(const char* value) { m_certificateAuthorityArnsHasBeenSet = true; m_certificateAuthorityArns.push_back(value); return *this; }
87 
88  private:
89 
90  Aws::Vector<Aws::String> m_certificateAuthorityArns;
91  bool m_certificateAuthorityArnsHasBeenSet;
92  };
93 
94 } // namespace Model
95 } // namespace AppMesh
96 } // namespace Aws
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextAcmTrust::VirtualGatewayTlsValidationContextAcmTrust
VirtualGatewayTlsValidationContextAcmTrust(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextAcmTrust::AddCertificateAuthorityArns
VirtualGatewayTlsValidationContextAcmTrust & AddCertificateAuthorityArns(Aws::String &&value)
Definition: VirtualGatewayTlsValidationContextAcmTrust.h:81
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AppMesh_EXPORTS.h
AWSVector.h
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextAcmTrust::VirtualGatewayTlsValidationContextAcmTrust
VirtualGatewayTlsValidationContextAcmTrust()
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextAcmTrust
Definition: VirtualGatewayTlsValidationContextAcmTrust.h:35
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextAcmTrust::AddCertificateAuthorityArns
VirtualGatewayTlsValidationContextAcmTrust & AddCertificateAuthorityArns(const Aws::String &value)
Definition: VirtualGatewayTlsValidationContextAcmTrust.h:76
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextAcmTrust::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextAcmTrust::operator=
VirtualGatewayTlsValidationContextAcmTrust & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextAcmTrust::GetCertificateAuthorityArns
const Aws::Vector< Aws::String > & GetCertificateAuthorityArns() const
Definition: VirtualGatewayTlsValidationContextAcmTrust.h:46
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextAcmTrust::CertificateAuthorityArnsHasBeenSet
bool CertificateAuthorityArnsHasBeenSet() const
Definition: VirtualGatewayTlsValidationContextAcmTrust.h:51
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextAcmTrust::WithCertificateAuthorityArns
VirtualGatewayTlsValidationContextAcmTrust & WithCertificateAuthorityArns(const Aws::Vector< Aws::String > &value)
Definition: VirtualGatewayTlsValidationContextAcmTrust.h:66
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextAcmTrust::AddCertificateAuthorityArns
VirtualGatewayTlsValidationContextAcmTrust & AddCertificateAuthorityArns(const char *value)
Definition: VirtualGatewayTlsValidationContextAcmTrust.h:86
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextAcmTrust::SetCertificateAuthorityArns
void SetCertificateAuthorityArns(const Aws::Vector< Aws::String > &value)
Definition: VirtualGatewayTlsValidationContextAcmTrust.h:56
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextAcmTrust::SetCertificateAuthorityArns
void SetCertificateAuthorityArns(Aws::Vector< Aws::String > &&value)
Definition: VirtualGatewayTlsValidationContextAcmTrust.h:61
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextAcmTrust::WithCertificateAuthorityArns
VirtualGatewayTlsValidationContextAcmTrust & WithCertificateAuthorityArns(Aws::Vector< Aws::String > &&value)
Definition: VirtualGatewayTlsValidationContextAcmTrust.h:71