{-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE DuplicateRecordFields #-} {-# LANGUAGE NamedFieldPuns #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE StrictData #-} {-# LANGUAGE NoImplicitPrelude #-} {-# OPTIONS_GHC -fno-warn-unused-imports #-} {-# OPTIONS_GHC -fno-warn-unused-matches #-} -- Derived from AWS service descriptions, licensed under Apache 2.0. -- | -- Module : Amazonka.ServiceCatalogAppRegistry.Types.Integrations -- Copyright : (c) 2013-2023 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay -- Stability : auto-generated -- Portability : non-portable (GHC extensions) module Amazonka.ServiceCatalogAppRegistry.Types.Integrations where import qualified Amazonka.Core as Core import qualified Amazonka.Core.Lens.Internal as Lens import qualified Amazonka.Data as Data import qualified Amazonka.Prelude as Prelude import Amazonka.ServiceCatalogAppRegistry.Types.ResourceGroup -- | The information about the service integration. -- -- /See:/ 'newIntegrations' smart constructor. data Integrations = Integrations' { -- | The information about the resource group integration. resourceGroup :: Prelude.Maybe ResourceGroup } deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic) -- | -- Create a value of 'Integrations' with all optional fields omitted. -- -- Use or to modify other optional fields. -- -- The following record fields are available, with the corresponding lenses provided -- for backwards compatibility: -- -- 'resourceGroup', 'integrations_resourceGroup' - The information about the resource group integration. newIntegrations :: Integrations newIntegrations = Integrations' {resourceGroup = Prelude.Nothing} -- | The information about the resource group integration. integrations_resourceGroup :: Lens.Lens' Integrations (Prelude.Maybe ResourceGroup) integrations_resourceGroup = Lens.lens (\Integrations' {resourceGroup} -> resourceGroup) (\s@Integrations' {} a -> s {resourceGroup = a} :: Integrations) instance Data.FromJSON Integrations where parseJSON = Data.withObject "Integrations" ( \x -> Integrations' Prelude.<$> (x Data..:? "resourceGroup") ) instance Prelude.Hashable Integrations where hashWithSalt _salt Integrations' {..} = _salt `Prelude.hashWithSalt` resourceGroup instance Prelude.NFData Integrations where rnf Integrations' {..} = Prelude.rnf resourceGroup