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

The IP access settings.

*/ inline const IpAccessSettings& GetIpAccessSettings() const{ return m_ipAccessSettings; } /** *

The IP access settings.

*/ inline void SetIpAccessSettings(const IpAccessSettings& value) { m_ipAccessSettings = value; } /** *

The IP access settings.

*/ inline void SetIpAccessSettings(IpAccessSettings&& value) { m_ipAccessSettings = std::move(value); } /** *

The IP access settings.

*/ inline UpdateIpAccessSettingsResult& WithIpAccessSettings(const IpAccessSettings& value) { SetIpAccessSettings(value); return *this;} /** *

The IP access settings.

*/ inline UpdateIpAccessSettingsResult& WithIpAccessSettings(IpAccessSettings&& value) { SetIpAccessSettings(std::move(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 UpdateIpAccessSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateIpAccessSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateIpAccessSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: IpAccessSettings m_ipAccessSettings; Aws::String m_requestId; }; } // namespace Model } // namespace WorkSpacesWeb } // namespace Aws