/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace WorkSpacesWeb { namespace Model { /** *

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

*/ class TrustStore { public: AWS_WORKSPACESWEB_API TrustStore(); AWS_WORKSPACESWEB_API TrustStore(Aws::Utils::Json::JsonView jsonValue); AWS_WORKSPACESWEB_API TrustStore& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_WORKSPACESWEB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A list of web portal ARNs that this trust store is associated with.

*/ inline const Aws::Vector& GetAssociatedPortalArns() const{ return m_associatedPortalArns; } /** *

A 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::Vector& value) { m_associatedPortalArnsHasBeenSet = true; m_associatedPortalArns = value; } /** *

A list of web portal ARNs that this trust store is associated with.

*/ inline void SetAssociatedPortalArns(Aws::Vector&& value) { m_associatedPortalArnsHasBeenSet = true; m_associatedPortalArns = std::move(value); } /** *

A list of web portal ARNs that this trust store is associated with.

*/ inline TrustStore& WithAssociatedPortalArns(const Aws::Vector& value) { SetAssociatedPortalArns(value); return *this;} /** *

A list of web portal ARNs that this trust store is associated with.

*/ inline TrustStore& WithAssociatedPortalArns(Aws::Vector&& value) { SetAssociatedPortalArns(std::move(value)); return *this;} /** *

A 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 m_associatedPortalArns; bool m_associatedPortalArnsHasBeenSet = false; Aws::String m_trustStoreArn; bool m_trustStoreArnHasBeenSet = false; }; } // namespace Model } // namespace WorkSpacesWeb } // namespace Aws