/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */

#pragma once
#include <aws/appmesh/AppMesh_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>

namespace Aws
{
namespace Utils
{
namespace Json
{
  class JsonValue;
  class JsonView;
} // namespace Json
} // namespace Utils
namespace AppMesh
{
namespace Model
{

  /**
   * <p>An object that represents a Transport Layer Security (TLS) validation context
   * trust for an Certificate Manager certificate.</p><p><h3>See Also:</h3>   <a
   * href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/VirtualGatewayTlsValidationContextAcmTrust">AWS
   * API Reference</a></p>
   */
  class VirtualGatewayTlsValidationContextAcmTrust
  {
  public:
    AWS_APPMESH_API VirtualGatewayTlsValidationContextAcmTrust() = default;
    AWS_APPMESH_API VirtualGatewayTlsValidationContextAcmTrust(Aws::Utils::Json::JsonView jsonValue);
    AWS_APPMESH_API VirtualGatewayTlsValidationContextAcmTrust& operator=(Aws::Utils::Json::JsonView jsonValue);
    AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;


    ///@{
    /**
     * <p>One or more ACM Amazon Resource Name (ARN)s.</p>
     */
    inline const Aws::Vector<Aws::String>& GetCertificateAuthorityArns() const { return m_certificateAuthorityArns; }
    inline bool CertificateAuthorityArnsHasBeenSet() const { return m_certificateAuthorityArnsHasBeenSet; }
    template<typename CertificateAuthorityArnsT = Aws::Vector<Aws::String>>
    void SetCertificateAuthorityArns(CertificateAuthorityArnsT&& value) { m_certificateAuthorityArnsHasBeenSet = true; m_certificateAuthorityArns = std::forward<CertificateAuthorityArnsT>(value); }
    template<typename CertificateAuthorityArnsT = Aws::Vector<Aws::String>>
    VirtualGatewayTlsValidationContextAcmTrust& WithCertificateAuthorityArns(CertificateAuthorityArnsT&& value) { SetCertificateAuthorityArns(std::forward<CertificateAuthorityArnsT>(value)); return *this;}
    template<typename CertificateAuthorityArnsT = Aws::String>
    VirtualGatewayTlsValidationContextAcmTrust& AddCertificateAuthorityArns(CertificateAuthorityArnsT&& value) { m_certificateAuthorityArnsHasBeenSet = true; m_certificateAuthorityArns.emplace_back(std::forward<CertificateAuthorityArnsT>(value)); return *this; }
    ///@}
  private:

    Aws::Vector<Aws::String> m_certificateAuthorityArns;
    bool m_certificateAuthorityArnsHasBeenSet = false;
  };

} // namespace Model
} // namespace AppMesh
} // namespace Aws
