/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Detective { namespace Model { /** *

Details about the data source packages ingested by your behavior * graph.

See Also:

AWS * API Reference

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

Details on which data source packages are ingested for a member account.

*/ inline const DatasourcePackageIngestState& GetDatasourcePackageIngestState() const{ return m_datasourcePackageIngestState; } /** *

Details on which data source packages are ingested for a member account.

*/ inline bool DatasourcePackageIngestStateHasBeenSet() const { return m_datasourcePackageIngestStateHasBeenSet; } /** *

Details on which data source packages are ingested for a member account.

*/ inline void SetDatasourcePackageIngestState(const DatasourcePackageIngestState& value) { m_datasourcePackageIngestStateHasBeenSet = true; m_datasourcePackageIngestState = value; } /** *

Details on which data source packages are ingested for a member account.

*/ inline void SetDatasourcePackageIngestState(DatasourcePackageIngestState&& value) { m_datasourcePackageIngestStateHasBeenSet = true; m_datasourcePackageIngestState = std::move(value); } /** *

Details on which data source packages are ingested for a member account.

*/ inline DatasourcePackageIngestDetail& WithDatasourcePackageIngestState(const DatasourcePackageIngestState& value) { SetDatasourcePackageIngestState(value); return *this;} /** *

Details on which data source packages are ingested for a member account.

*/ inline DatasourcePackageIngestDetail& WithDatasourcePackageIngestState(DatasourcePackageIngestState&& value) { SetDatasourcePackageIngestState(std::move(value)); return *this;} /** *

The date a data source package was enabled for this account

*/ inline const Aws::Map& GetLastIngestStateChange() const{ return m_lastIngestStateChange; } /** *

The date a data source package was enabled for this account

*/ inline bool LastIngestStateChangeHasBeenSet() const { return m_lastIngestStateChangeHasBeenSet; } /** *

The date a data source package was enabled for this account

*/ inline void SetLastIngestStateChange(const Aws::Map& value) { m_lastIngestStateChangeHasBeenSet = true; m_lastIngestStateChange = value; } /** *

The date a data source package was enabled for this account

*/ inline void SetLastIngestStateChange(Aws::Map&& value) { m_lastIngestStateChangeHasBeenSet = true; m_lastIngestStateChange = std::move(value); } /** *

The date a data source package was enabled for this account

*/ inline DatasourcePackageIngestDetail& WithLastIngestStateChange(const Aws::Map& value) { SetLastIngestStateChange(value); return *this;} /** *

The date a data source package was enabled for this account

*/ inline DatasourcePackageIngestDetail& WithLastIngestStateChange(Aws::Map&& value) { SetLastIngestStateChange(std::move(value)); return *this;} /** *

The date a data source package was enabled for this account

*/ inline DatasourcePackageIngestDetail& AddLastIngestStateChange(const DatasourcePackageIngestState& key, const TimestampForCollection& value) { m_lastIngestStateChangeHasBeenSet = true; m_lastIngestStateChange.emplace(key, value); return *this; } /** *

The date a data source package was enabled for this account

*/ inline DatasourcePackageIngestDetail& AddLastIngestStateChange(DatasourcePackageIngestState&& key, const TimestampForCollection& value) { m_lastIngestStateChangeHasBeenSet = true; m_lastIngestStateChange.emplace(std::move(key), value); return *this; } /** *

The date a data source package was enabled for this account

*/ inline DatasourcePackageIngestDetail& AddLastIngestStateChange(const DatasourcePackageIngestState& key, TimestampForCollection&& value) { m_lastIngestStateChangeHasBeenSet = true; m_lastIngestStateChange.emplace(key, std::move(value)); return *this; } /** *

The date a data source package was enabled for this account

*/ inline DatasourcePackageIngestDetail& AddLastIngestStateChange(DatasourcePackageIngestState&& key, TimestampForCollection&& value) { m_lastIngestStateChangeHasBeenSet = true; m_lastIngestStateChange.emplace(std::move(key), std::move(value)); return *this; } private: DatasourcePackageIngestState m_datasourcePackageIngestState; bool m_datasourcePackageIngestStateHasBeenSet = false; Aws::Map m_lastIngestStateChange; bool m_lastIngestStateChangeHasBeenSet = false; }; } // namespace Model } // namespace Detective } // namespace Aws