AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
MembershipDatasources.h
1
6#pragma once
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>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Detective
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_DETECTIVE_API MembershipDatasources() = default;
42 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetAccountId() const { return m_accountId; }
50 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
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>
54 MembershipDatasources& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetGraphArn() const { return m_graphArn; }
62 inline bool GraphArnHasBeenSet() const { return m_graphArnHasBeenSet; }
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>
66 MembershipDatasources& WithGraphArn(GraphArnT&& value) { SetGraphArn(std::forward<GraphArnT>(value)); return *this;}
68
70
74 inline bool DatasourcePackageIngestHistoryHasBeenSet() const { return m_datasourcePackageIngestHistoryHasBeenSet; }
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>>>
78 MembershipDatasources& WithDatasourcePackageIngestHistory(DatasourcePackageIngestHistoryT&& value) { SetDatasourcePackageIngestHistory(std::forward<DatasourcePackageIngestHistoryT>(value)); return *this;}
80 m_datasourcePackageIngestHistoryHasBeenSet = true; m_datasourcePackageIngestHistory.emplace(key, value); return *this;
81 }
83 private:
84
85 Aws::String m_accountId;
86 bool m_accountIdHasBeenSet = false;
87
88 Aws::String m_graphArn;
89 bool m_graphArnHasBeenSet = false;
90
92 bool m_datasourcePackageIngestHistoryHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Detective
97} // namespace Aws
void SetDatasourcePackageIngestHistory(DatasourcePackageIngestHistoryT &&value)
AWS_DETECTIVE_API MembershipDatasources & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< DatasourcePackage, Aws::Map< DatasourcePackageIngestState, TimestampForCollection > > & GetDatasourcePackageIngestHistory() const
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
MembershipDatasources & WithGraphArn(GraphArnT &&value)
AWS_DETECTIVE_API MembershipDatasources(Aws::Utils::Json::JsonView jsonValue)
MembershipDatasources & WithDatasourcePackageIngestHistory(DatasourcePackageIngestHistoryT &&value)
MembershipDatasources & AddDatasourcePackageIngestHistory(DatasourcePackage key, Aws::Map< DatasourcePackageIngestState, TimestampForCollection > value)
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