AWS SDK for C++  1.9.123
AWS SDK for C++
TlsValidationContextAcmTrust.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 TlsValidationContextAcmTrust& WithCertificateAuthorityArns(const Aws::Vector<Aws::String>& value) { SetCertificateAuthorityArns(value); return *this;}
66 
70  inline TlsValidationContextAcmTrust& WithCertificateAuthorityArns(Aws::Vector<Aws::String>&& value) { SetCertificateAuthorityArns(std::move(value)); return *this;}
71 
75  inline TlsValidationContextAcmTrust& AddCertificateAuthorityArns(const Aws::String& value) { m_certificateAuthorityArnsHasBeenSet = true; m_certificateAuthorityArns.push_back(value); return *this; }
76 
80  inline TlsValidationContextAcmTrust& AddCertificateAuthorityArns(Aws::String&& value) { m_certificateAuthorityArnsHasBeenSet = true; m_certificateAuthorityArns.push_back(std::move(value)); return *this; }
81 
85  inline TlsValidationContextAcmTrust& 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::TlsValidationContextAcmTrust::operator=
TlsValidationContextAcmTrust & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::TlsValidationContextAcmTrust::WithCertificateAuthorityArns
TlsValidationContextAcmTrust & WithCertificateAuthorityArns(const Aws::Vector< Aws::String > &value)
Definition: TlsValidationContextAcmTrust.h:65
Aws::AppMesh::Model::TlsValidationContextAcmTrust::GetCertificateAuthorityArns
const Aws::Vector< Aws::String > & GetCertificateAuthorityArns() const
Definition: TlsValidationContextAcmTrust.h:45
Aws::AppMesh::Model::TlsValidationContextAcmTrust::TlsValidationContextAcmTrust
TlsValidationContextAcmTrust()
Aws::AppMesh::Model::TlsValidationContextAcmTrust::SetCertificateAuthorityArns
void SetCertificateAuthorityArns(const Aws::Vector< Aws::String > &value)
Definition: TlsValidationContextAcmTrust.h:55
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AppMesh::Model::TlsValidationContextAcmTrust
Definition: TlsValidationContextAcmTrust.h:34
AppMesh_EXPORTS.h
AWSVector.h
Aws::AppMesh::Model::TlsValidationContextAcmTrust::TlsValidationContextAcmTrust
TlsValidationContextAcmTrust(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::TlsValidationContextAcmTrust::SetCertificateAuthorityArns
void SetCertificateAuthorityArns(Aws::Vector< Aws::String > &&value)
Definition: TlsValidationContextAcmTrust.h:60
Aws::AppMesh::Model::TlsValidationContextAcmTrust::AddCertificateAuthorityArns
TlsValidationContextAcmTrust & AddCertificateAuthorityArns(const Aws::String &value)
Definition: TlsValidationContextAcmTrust.h:75
Aws::AppMesh::Model::TlsValidationContextAcmTrust::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::TlsValidationContextAcmTrust::AddCertificateAuthorityArns
TlsValidationContextAcmTrust & AddCertificateAuthorityArns(Aws::String &&value)
Definition: TlsValidationContextAcmTrust.h:80
Aws::AppMesh::Model::TlsValidationContextAcmTrust::AddCertificateAuthorityArns
TlsValidationContextAcmTrust & AddCertificateAuthorityArns(const char *value)
Definition: TlsValidationContextAcmTrust.h:85
Aws::AppMesh::Model::TlsValidationContextAcmTrust::WithCertificateAuthorityArns
TlsValidationContextAcmTrust & WithCertificateAuthorityArns(Aws::Vector< Aws::String > &&value)
Definition: TlsValidationContextAcmTrust.h:70
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::TlsValidationContextAcmTrust::CertificateAuthorityArnsHasBeenSet
bool CertificateAuthorityArnsHasBeenSet() const
Definition: TlsValidationContextAcmTrust.h:50
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28