/** * 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 { /** *

The summary of IP access settings.

See Also:

AWS * API Reference

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

The creation date timestamp of the IP access settings.

*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *

The creation date timestamp of the IP access settings.

*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *

The creation date timestamp of the IP access settings.

*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *

The creation date timestamp of the IP access settings.

*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *

The creation date timestamp of the IP access settings.

*/ inline IpAccessSettingsSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *

The creation date timestamp of the IP access settings.

*/ inline IpAccessSettingsSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} /** *

The description of the IP access settings.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the IP access settings.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the IP access settings.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the IP access settings.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the IP access settings.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the IP access settings.

*/ inline IpAccessSettingsSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the IP access settings.

*/ inline IpAccessSettingsSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the IP access settings.

*/ inline IpAccessSettingsSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The display name of the IP access settings.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *

The display name of the IP access settings.

*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *

The display name of the IP access settings.

*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** *

The display name of the IP access settings.

*/ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** *

The display name of the IP access settings.

*/ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *

The display name of the IP access settings.

*/ inline IpAccessSettingsSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *

The display name of the IP access settings.

*/ inline IpAccessSettingsSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *

The display name of the IP access settings.

*/ inline IpAccessSettingsSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *

The ARN of IP access settings.

*/ inline const Aws::String& GetIpAccessSettingsArn() const{ return m_ipAccessSettingsArn; } /** *

The ARN of IP access settings.

*/ inline bool IpAccessSettingsArnHasBeenSet() const { return m_ipAccessSettingsArnHasBeenSet; } /** *

The ARN of IP access settings.

*/ inline void SetIpAccessSettingsArn(const Aws::String& value) { m_ipAccessSettingsArnHasBeenSet = true; m_ipAccessSettingsArn = value; } /** *

The ARN of IP access settings.

*/ inline void SetIpAccessSettingsArn(Aws::String&& value) { m_ipAccessSettingsArnHasBeenSet = true; m_ipAccessSettingsArn = std::move(value); } /** *

The ARN of IP access settings.

*/ inline void SetIpAccessSettingsArn(const char* value) { m_ipAccessSettingsArnHasBeenSet = true; m_ipAccessSettingsArn.assign(value); } /** *

The ARN of IP access settings.

*/ inline IpAccessSettingsSummary& WithIpAccessSettingsArn(const Aws::String& value) { SetIpAccessSettingsArn(value); return *this;} /** *

The ARN of IP access settings.

*/ inline IpAccessSettingsSummary& WithIpAccessSettingsArn(Aws::String&& value) { SetIpAccessSettingsArn(std::move(value)); return *this;} /** *

The ARN of IP access settings.

*/ inline IpAccessSettingsSummary& WithIpAccessSettingsArn(const char* value) { SetIpAccessSettingsArn(value); return *this;} private: Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; Aws::String m_ipAccessSettingsArn; bool m_ipAccessSettingsArnHasBeenSet = false; }; } // namespace Model } // namespace WorkSpacesWeb } // namespace Aws