/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace WorkSpacesWeb { namespace Model { class AssociateTrustStoreResult { public: AWS_WORKSPACESWEB_API AssociateTrustStoreResult(); AWS_WORKSPACESWEB_API AssociateTrustStoreResult(const Aws::AmazonWebServiceResult& result); AWS_WORKSPACESWEB_API AssociateTrustStoreResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the web portal.

*/ inline const Aws::String& GetPortalArn() const{ return m_portalArn; } /** *

The ARN of the web portal.

*/ inline void SetPortalArn(const Aws::String& value) { m_portalArn = value; } /** *

The ARN of the web portal.

*/ inline void SetPortalArn(Aws::String&& value) { m_portalArn = std::move(value); } /** *

The ARN of the web portal.

*/ inline void SetPortalArn(const char* value) { m_portalArn.assign(value); } /** *

The ARN of the web portal.

*/ inline AssociateTrustStoreResult& WithPortalArn(const Aws::String& value) { SetPortalArn(value); return *this;} /** *

The ARN of the web portal.

*/ inline AssociateTrustStoreResult& WithPortalArn(Aws::String&& value) { SetPortalArn(std::move(value)); return *this;} /** *

The ARN of the web portal.

*/ inline AssociateTrustStoreResult& WithPortalArn(const char* value) { SetPortalArn(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 void SetTrustStoreArn(const Aws::String& value) { m_trustStoreArn = value; } /** *

The ARN of the trust store.

*/ inline void SetTrustStoreArn(Aws::String&& value) { m_trustStoreArn = std::move(value); } /** *

The ARN of the trust store.

*/ inline void SetTrustStoreArn(const char* value) { m_trustStoreArn.assign(value); } /** *

The ARN of the trust store.

*/ inline AssociateTrustStoreResult& WithTrustStoreArn(const Aws::String& value) { SetTrustStoreArn(value); return *this;} /** *

The ARN of the trust store.

*/ inline AssociateTrustStoreResult& WithTrustStoreArn(Aws::String&& value) { SetTrustStoreArn(std::move(value)); return *this;} /** *

The ARN of the trust store.

*/ inline AssociateTrustStoreResult& WithTrustStoreArn(const char* value) { SetTrustStoreArn(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline AssociateTrustStoreResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AssociateTrustStoreResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AssociateTrustStoreResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_portalArn; Aws::String m_trustStoreArn; Aws::String m_requestId; }; } // namespace Model } // namespace WorkSpacesWeb } // namespace Aws