/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A trust store that can be associated with a web portal. A trust store
* contains certificate authority (CA) certificates. Once associated with a web
* portal, the browser in a streaming session will recognize certificates that have
* been issued using any of the CAs in the trust store. If your organization has
* internal websites that use certificates issued by private CAs, you should add
* the private CA certificate to the trust store. See Also:
AWS
* API Reference
A list of web portal ARNs that this trust store is associated with.
*/ inline const Aws::VectorA list of web portal ARNs that this trust store is associated with.
*/ inline bool AssociatedPortalArnsHasBeenSet() const { return m_associatedPortalArnsHasBeenSet; } /** *A list of web portal ARNs that this trust store is associated with.
*/ inline void SetAssociatedPortalArns(const Aws::VectorA list of web portal ARNs that this trust store is associated with.
*/ inline void SetAssociatedPortalArns(Aws::VectorA list of web portal ARNs that this trust store is associated with.
*/ inline TrustStore& WithAssociatedPortalArns(const Aws::VectorA list of web portal ARNs that this trust store is associated with.
*/ inline TrustStore& WithAssociatedPortalArns(Aws::VectorA list of web portal ARNs that this trust store is associated with.
*/ inline TrustStore& AddAssociatedPortalArns(const Aws::String& value) { m_associatedPortalArnsHasBeenSet = true; m_associatedPortalArns.push_back(value); return *this; } /** *A list of web portal ARNs that this trust store is associated with.
*/ inline TrustStore& AddAssociatedPortalArns(Aws::String&& value) { m_associatedPortalArnsHasBeenSet = true; m_associatedPortalArns.push_back(std::move(value)); return *this; } /** *A list of web portal ARNs that this trust store is associated with.
*/ inline TrustStore& AddAssociatedPortalArns(const char* value) { m_associatedPortalArnsHasBeenSet = true; m_associatedPortalArns.push_back(value); return *this; } /** *The ARN of the trust store.
*/ inline const Aws::String& GetTrustStoreArn() const{ return m_trustStoreArn; } /** *The ARN of the trust store.
*/ inline bool TrustStoreArnHasBeenSet() const { return m_trustStoreArnHasBeenSet; } /** *The ARN of the trust store.
*/ inline void SetTrustStoreArn(const Aws::String& value) { m_trustStoreArnHasBeenSet = true; m_trustStoreArn = value; } /** *The ARN of the trust store.
*/ inline void SetTrustStoreArn(Aws::String&& value) { m_trustStoreArnHasBeenSet = true; m_trustStoreArn = std::move(value); } /** *The ARN of the trust store.
*/ inline void SetTrustStoreArn(const char* value) { m_trustStoreArnHasBeenSet = true; m_trustStoreArn.assign(value); } /** *The ARN of the trust store.
*/ inline TrustStore& WithTrustStoreArn(const Aws::String& value) { SetTrustStoreArn(value); return *this;} /** *The ARN of the trust store.
*/ inline TrustStore& WithTrustStoreArn(Aws::String&& value) { SetTrustStoreArn(std::move(value)); return *this;} /** *The ARN of the trust store.
*/ inline TrustStore& WithTrustStoreArn(const char* value) { SetTrustStoreArn(value); return *this;} private: Aws::Vector