AWS SDK for C++  1.9.124
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 
34  {
35  public:
40 
41 
45  inline const Aws::Vector<Aws::String>& GetCertificateAuthorityArns() const{ return m_certificateAuthorityArns; }
46 
50  inline bool CertificateAuthorityArnsHasBeenSet() const { return m_certificateAuthorityArnsHasBeenSet; }
51 
55  inline void SetCertificateAuthorityArns(const Aws::Vector<Aws::String>& value) { m_certificateAuthorityArnsHasBeenSet = true; m_certificateAuthorityArns = value; }
56 
60  inline void SetCertificateAuthorityArns(Aws::Vector<Aws::String>&& value) { m_certificateAuthorityArnsHasBeenSet = true; m_certificateAuthorityArns = std::move(value); }
61 
65  inline VirtualGatewayTlsValidationContextAcmTrust& WithCertificateAuthorityArns(const Aws::Vector<Aws::String>& value) { SetCertificateAuthorityArns(value); return *this;}
66 
70  inline VirtualGatewayTlsValidationContextAcmTrust& WithCertificateAuthorityArns(Aws::Vector<Aws::String>&& value) { SetCertificateAuthorityArns(std::move(value)); return *this;}
71 
75  inline VirtualGatewayTlsValidationContextAcmTrust& AddCertificateAuthorityArns(const Aws::String& value) { m_certificateAuthorityArnsHasBeenSet = true; m_certificateAuthorityArns.push_back(value); return *this; }
76 
80  inline VirtualGatewayTlsValidationContextAcmTrust& AddCertificateAuthorityArns(Aws::String&& value) { m_certificateAuthorityArnsHasBeenSet = true; m_certificateAuthorityArns.push_back(std::move(value)); return *this; }
81 
85  inline VirtualGatewayTlsValidationContextAcmTrust& AddCertificateAuthorityArns(const char* value) { m_certificateAuthorityArnsHasBeenSet = true; m_certificateAuthorityArns.push_back(value); return *this; }
86 
87  private:
88 
89  Aws::Vector<Aws::String> m_certificateAuthorityArns;
90  bool m_certificateAuthorityArnsHasBeenSet;
91  };
92 
93 } // namespace Model
94 } // namespace AppMesh
95 } // 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:80
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:34
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextAcmTrust::AddCertificateAuthorityArns
VirtualGatewayTlsValidationContextAcmTrust & AddCertificateAuthorityArns(const Aws::String &value)
Definition: VirtualGatewayTlsValidationContextAcmTrust.h:75
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextAcmTrust::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextAcmTrust::operator=
VirtualGatewayTlsValidationContextAcmTrust & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextAcmTrust::GetCertificateAuthorityArns
const Aws::Vector< Aws::String > & GetCertificateAuthorityArns() const
Definition: VirtualGatewayTlsValidationContextAcmTrust.h:45
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:50
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextAcmTrust::WithCertificateAuthorityArns
VirtualGatewayTlsValidationContextAcmTrust & WithCertificateAuthorityArns(const Aws::Vector< Aws::String > &value)
Definition: VirtualGatewayTlsValidationContextAcmTrust.h:65
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextAcmTrust::AddCertificateAuthorityArns
VirtualGatewayTlsValidationContextAcmTrust & AddCertificateAuthorityArns(const char *value)
Definition: VirtualGatewayTlsValidationContextAcmTrust.h:85
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextAcmTrust::SetCertificateAuthorityArns
void SetCertificateAuthorityArns(const Aws::Vector< Aws::String > &value)
Definition: VirtualGatewayTlsValidationContextAcmTrust.h:55
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextAcmTrust::SetCertificateAuthorityArns
void SetCertificateAuthorityArns(Aws::Vector< Aws::String > &&value)
Definition: VirtualGatewayTlsValidationContextAcmTrust.h:60
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:70