/** * 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 AssociateUserAccessLoggingSettingsResult { public: AWS_WORKSPACESWEB_API AssociateUserAccessLoggingSettingsResult(); AWS_WORKSPACESWEB_API AssociateUserAccessLoggingSettingsResult(const Aws::AmazonWebServiceResult& result); AWS_WORKSPACESWEB_API AssociateUserAccessLoggingSettingsResult& 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 AssociateUserAccessLoggingSettingsResult& WithPortalArn(const Aws::String& value) { SetPortalArn(value); return *this;} /** *

The ARN of the web portal.

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

The ARN of the web portal.

*/ inline AssociateUserAccessLoggingSettingsResult& WithPortalArn(const char* value) { SetPortalArn(value); return *this;} /** *

The ARN of the user access logging settings.

*/ inline const Aws::String& GetUserAccessLoggingSettingsArn() const{ return m_userAccessLoggingSettingsArn; } /** *

The ARN of the user access logging settings.

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

The ARN of the user access logging settings.

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

The ARN of the user access logging settings.

*/ inline void SetUserAccessLoggingSettingsArn(const char* value) { m_userAccessLoggingSettingsArn.assign(value); } /** *

The ARN of the user access logging settings.

*/ inline AssociateUserAccessLoggingSettingsResult& WithUserAccessLoggingSettingsArn(const Aws::String& value) { SetUserAccessLoggingSettingsArn(value); return *this;} /** *

The ARN of the user access logging settings.

*/ inline AssociateUserAccessLoggingSettingsResult& WithUserAccessLoggingSettingsArn(Aws::String&& value) { SetUserAccessLoggingSettingsArn(std::move(value)); return *this;} /** *

The ARN of the user access logging settings.

*/ inline AssociateUserAccessLoggingSettingsResult& WithUserAccessLoggingSettingsArn(const char* value) { SetUserAccessLoggingSettingsArn(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 AssociateUserAccessLoggingSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AssociateUserAccessLoggingSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AssociateUserAccessLoggingSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_portalArn; Aws::String m_userAccessLoggingSettingsArn; Aws::String m_requestId; }; } // namespace Model } // namespace WorkSpacesWeb } // namespace Aws