7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/detective/model/DatasourcePackage.h>
11#include <aws/detective/model/DatasourcePackageIngestState.h>
12#include <aws/detective/model/TimestampForCollection.h>
51 template<
typename AccountIdT = Aws::String>
52 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
53 template<
typename AccountIdT = Aws::String>
63 template<
typename GraphArnT = Aws::String>
64 void SetGraphArn(GraphArnT&& value) { m_graphArnHasBeenSet =
true; m_graphArn = std::forward<GraphArnT>(value); }
65 template<
typename GraphArnT = Aws::String>
75 template<
typename DatasourcePackageIngestHistoryT = Aws::Map<DatasourcePackage, Aws::Map<DatasourcePackageIngestState, TimestampForCollection>>>
76 void SetDatasourcePackageIngestHistory(DatasourcePackageIngestHistoryT&& value) { m_datasourcePackageIngestHistoryHasBeenSet =
true; m_datasourcePackageIngestHistory = std::forward<DatasourcePackageIngestHistoryT>(value); }
77 template<
typename DatasourcePackageIngestHistoryT = Aws::Map<DatasourcePackage, Aws::Map<DatasourcePackageIngestState, TimestampForCollection>>>
80 m_datasourcePackageIngestHistoryHasBeenSet =
true; m_datasourcePackageIngestHistory.emplace(key, value);
return *
this;
86 bool m_accountIdHasBeenSet =
false;
89 bool m_graphArnHasBeenSet =
false;
92 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