AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TlsValidationContextAcmTrust.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppMesh
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPMESH_API TlsValidationContextAcmTrust() = default;
39 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetCertificateAuthorityArns() const { return m_certificateAuthorityArns; }
47 inline bool CertificateAuthorityArnsHasBeenSet() const { return m_certificateAuthorityArnsHasBeenSet; }
48 template<typename CertificateAuthorityArnsT = Aws::Vector<Aws::String>>
49 void SetCertificateAuthorityArns(CertificateAuthorityArnsT&& value) { m_certificateAuthorityArnsHasBeenSet = true; m_certificateAuthorityArns = std::forward<CertificateAuthorityArnsT>(value); }
50 template<typename CertificateAuthorityArnsT = Aws::Vector<Aws::String>>
51 TlsValidationContextAcmTrust& WithCertificateAuthorityArns(CertificateAuthorityArnsT&& value) { SetCertificateAuthorityArns(std::forward<CertificateAuthorityArnsT>(value)); return *this;}
52 template<typename CertificateAuthorityArnsT = Aws::String>
53 TlsValidationContextAcmTrust& AddCertificateAuthorityArns(CertificateAuthorityArnsT&& value) { m_certificateAuthorityArnsHasBeenSet = true; m_certificateAuthorityArns.emplace_back(std::forward<CertificateAuthorityArnsT>(value)); return *this; }
55 private:
56
57 Aws::Vector<Aws::String> m_certificateAuthorityArns;
58 bool m_certificateAuthorityArnsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace AppMesh
63} // namespace Aws
AWS_APPMESH_API TlsValidationContextAcmTrust & operator=(Aws::Utils::Json::JsonView jsonValue)
TlsValidationContextAcmTrust & WithCertificateAuthorityArns(CertificateAuthorityArnsT &&value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
TlsValidationContextAcmTrust & AddCertificateAuthorityArns(CertificateAuthorityArnsT &&value)
void SetCertificateAuthorityArns(CertificateAuthorityArnsT &&value)
const Aws::Vector< Aws::String > & GetCertificateAuthorityArns() const
AWS_APPMESH_API TlsValidationContextAcmTrust(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API TlsValidationContextAcmTrust()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue