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

Details on data source packages for members of the behavior * graph.

See Also:

AWS * API Reference

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

The account identifier of the Amazon Web Services account.

*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *

The account identifier of the Amazon Web Services account.

*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *

The account identifier of the Amazon Web Services account.

*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *

The account identifier of the Amazon Web Services account.

*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *

The account identifier of the Amazon Web Services account.

*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *

The account identifier of the Amazon Web Services account.

*/ inline MembershipDatasources& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *

The account identifier of the Amazon Web Services account.

*/ inline MembershipDatasources& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *

The account identifier of the Amazon Web Services account.

*/ inline MembershipDatasources& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *

The ARN of the organization behavior graph.

*/ inline const Aws::String& GetGraphArn() const{ return m_graphArn; } /** *

The ARN of the organization behavior graph.

*/ inline bool GraphArnHasBeenSet() const { return m_graphArnHasBeenSet; } /** *

The ARN of the organization behavior graph.

*/ inline void SetGraphArn(const Aws::String& value) { m_graphArnHasBeenSet = true; m_graphArn = value; } /** *

The ARN of the organization behavior graph.

*/ inline void SetGraphArn(Aws::String&& value) { m_graphArnHasBeenSet = true; m_graphArn = std::move(value); } /** *

The ARN of the organization behavior graph.

*/ inline void SetGraphArn(const char* value) { m_graphArnHasBeenSet = true; m_graphArn.assign(value); } /** *

The ARN of the organization behavior graph.

*/ inline MembershipDatasources& WithGraphArn(const Aws::String& value) { SetGraphArn(value); return *this;} /** *

The ARN of the organization behavior graph.

*/ inline MembershipDatasources& WithGraphArn(Aws::String&& value) { SetGraphArn(std::move(value)); return *this;} /** *

The ARN of the organization behavior graph.

*/ inline MembershipDatasources& WithGraphArn(const char* value) { SetGraphArn(value); return *this;} /** *

Details on when a data source package was added to a behavior graph.

*/ inline const Aws::Map>& GetDatasourcePackageIngestHistory() const{ return m_datasourcePackageIngestHistory; } /** *

Details on when a data source package was added to a behavior graph.

*/ inline bool DatasourcePackageIngestHistoryHasBeenSet() const { return m_datasourcePackageIngestHistoryHasBeenSet; } /** *

Details on when a data source package was added to a behavior graph.

*/ inline void SetDatasourcePackageIngestHistory(const Aws::Map>& value) { m_datasourcePackageIngestHistoryHasBeenSet = true; m_datasourcePackageIngestHistory = value; } /** *

Details on when a data source package was added to a behavior graph.

*/ inline void SetDatasourcePackageIngestHistory(Aws::Map>&& value) { m_datasourcePackageIngestHistoryHasBeenSet = true; m_datasourcePackageIngestHistory = std::move(value); } /** *

Details on when a data source package was added to a behavior graph.

*/ inline MembershipDatasources& WithDatasourcePackageIngestHistory(const Aws::Map>& value) { SetDatasourcePackageIngestHistory(value); return *this;} /** *

Details on when a data source package was added to a behavior graph.

*/ inline MembershipDatasources& WithDatasourcePackageIngestHistory(Aws::Map>&& value) { SetDatasourcePackageIngestHistory(std::move(value)); return *this;} /** *

Details on when a data source package was added to a behavior graph.

*/ inline MembershipDatasources& AddDatasourcePackageIngestHistory(const DatasourcePackage& key, const Aws::Map& value) { m_datasourcePackageIngestHistoryHasBeenSet = true; m_datasourcePackageIngestHistory.emplace(key, value); return *this; } /** *

Details on when a data source package was added to a behavior graph.

*/ inline MembershipDatasources& AddDatasourcePackageIngestHistory(DatasourcePackage&& key, const Aws::Map& value) { m_datasourcePackageIngestHistoryHasBeenSet = true; m_datasourcePackageIngestHistory.emplace(std::move(key), value); return *this; } /** *

Details on when a data source package was added to a behavior graph.

*/ inline MembershipDatasources& AddDatasourcePackageIngestHistory(const DatasourcePackage& key, Aws::Map&& value) { m_datasourcePackageIngestHistoryHasBeenSet = true; m_datasourcePackageIngestHistory.emplace(key, std::move(value)); return *this; } /** *

Details on when a data source package was added to a behavior graph.

*/ inline MembershipDatasources& AddDatasourcePackageIngestHistory(DatasourcePackage&& key, Aws::Map&& value) { m_datasourcePackageIngestHistoryHasBeenSet = true; m_datasourcePackageIngestHistory.emplace(std::move(key), std::move(value)); return *this; } private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_graphArn; bool m_graphArnHasBeenSet = false; Aws::Map> m_datasourcePackageIngestHistory; bool m_datasourcePackageIngestHistoryHasBeenSet = false; }; } // namespace Model } // namespace Detective } // namespace Aws