7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/detective/Detective_EXPORTS.h>
10#include <aws/detective/model/DatasourcePackage.h>
11#include <aws/detective/model/DatasourcePackageIngestState.h>
12#include <aws/detective/model/TimestampForCollection.h>
45 template <
typename AccountIdT = Aws::String>
47 m_accountIdHasBeenSet =
true;
48 m_accountId = std::forward<AccountIdT>(value);
50 template <
typename AccountIdT = Aws::String>
63 template <
typename GraphArnT = Aws::String>
65 m_graphArnHasBeenSet =
true;
66 m_graphArn = std::forward<GraphArnT>(value);
68 template <
typename GraphArnT = Aws::String>
81 return m_datasourcePackageIngestHistory;
84 template <
typename DatasourcePackageIngestHistoryT =
87 m_datasourcePackageIngestHistoryHasBeenSet =
true;
88 m_datasourcePackageIngestHistory = std::forward<DatasourcePackageIngestHistoryT>(value);
90 template <
typename DatasourcePackageIngestHistoryT =
98 m_datasourcePackageIngestHistoryHasBeenSet =
true;
99 m_datasourcePackageIngestHistory.emplace(key, value);
109 bool m_accountIdHasBeenSet =
false;
110 bool m_graphArnHasBeenSet =
false;
111 bool m_datasourcePackageIngestHistoryHasBeenSet =
false;
void SetDatasourcePackageIngestHistory(DatasourcePackageIngestHistoryT &&value)
void SetAccountId(AccountIdT &&value)
const Aws::String & GetGraphArn() const
AWS_DETECTIVE_API MembershipDatasources & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DatasourcePackageIngestHistoryHasBeenSet() const
const Aws::Map< DatasourcePackage, Aws::Map< DatasourcePackageIngestState, TimestampForCollection > > & GetDatasourcePackageIngestHistory() const
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGraphArn(GraphArnT &&value)
bool AccountIdHasBeenSet() const
MembershipDatasources & WithGraphArn(GraphArnT &&value)
AWS_DETECTIVE_API MembershipDatasources(Aws::Utils::Json::JsonView jsonValue)
MembershipDatasources & WithDatasourcePackageIngestHistory(DatasourcePackageIngestHistoryT &&value)
bool GraphArnHasBeenSet() const
MembershipDatasources & AddDatasourcePackageIngestHistory(DatasourcePackage key, Aws::Map< DatasourcePackageIngestState, TimestampForCollection > value)
const Aws::String & GetAccountId() const
AWS_DETECTIVE_API MembershipDatasources()=default
MembershipDatasources & WithAccountId(AccountIdT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue