AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatasourcePackageIngestDetail.h
1
6#pragma once
7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/detective/model/DatasourcePackageIngestState.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/detective/model/TimestampForCollection.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Detective
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_DETECTIVE_API DatasourcePackageIngestDetail();
40 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const DatasourcePackageIngestState& GetDatasourcePackageIngestState() const{ return m_datasourcePackageIngestState; }
48 inline bool DatasourcePackageIngestStateHasBeenSet() const { return m_datasourcePackageIngestStateHasBeenSet; }
49 inline void SetDatasourcePackageIngestState(const DatasourcePackageIngestState& value) { m_datasourcePackageIngestStateHasBeenSet = true; m_datasourcePackageIngestState = value; }
50 inline void SetDatasourcePackageIngestState(DatasourcePackageIngestState&& value) { m_datasourcePackageIngestStateHasBeenSet = true; m_datasourcePackageIngestState = std::move(value); }
54
56
60 inline bool LastIngestStateChangeHasBeenSet() const { return m_lastIngestStateChangeHasBeenSet; }
61 inline void SetLastIngestStateChange(const Aws::Map<DatasourcePackageIngestState, TimestampForCollection>& value) { m_lastIngestStateChangeHasBeenSet = true; m_lastIngestStateChange = value; }
62 inline void SetLastIngestStateChange(Aws::Map<DatasourcePackageIngestState, TimestampForCollection>&& value) { m_lastIngestStateChangeHasBeenSet = true; m_lastIngestStateChange = std::move(value); }
65 inline DatasourcePackageIngestDetail& AddLastIngestStateChange(const DatasourcePackageIngestState& key, const TimestampForCollection& value) { m_lastIngestStateChangeHasBeenSet = true; m_lastIngestStateChange.emplace(key, value); return *this; }
66 inline DatasourcePackageIngestDetail& AddLastIngestStateChange(DatasourcePackageIngestState&& key, const TimestampForCollection& value) { m_lastIngestStateChangeHasBeenSet = true; m_lastIngestStateChange.emplace(std::move(key), value); return *this; }
67 inline DatasourcePackageIngestDetail& AddLastIngestStateChange(const DatasourcePackageIngestState& key, TimestampForCollection&& value) { m_lastIngestStateChangeHasBeenSet = true; m_lastIngestStateChange.emplace(key, std::move(value)); return *this; }
68 inline DatasourcePackageIngestDetail& AddLastIngestStateChange(DatasourcePackageIngestState&& key, TimestampForCollection&& value) { m_lastIngestStateChangeHasBeenSet = true; m_lastIngestStateChange.emplace(std::move(key), std::move(value)); return *this; }
70 private:
71
72 DatasourcePackageIngestState m_datasourcePackageIngestState;
73 bool m_datasourcePackageIngestStateHasBeenSet = false;
74
76 bool m_lastIngestStateChangeHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Detective
81} // namespace Aws
void SetDatasourcePackageIngestState(DatasourcePackageIngestState &&value)
DatasourcePackageIngestDetail & AddLastIngestStateChange(const DatasourcePackageIngestState &key, TimestampForCollection &&value)
const DatasourcePackageIngestState & GetDatasourcePackageIngestState() const
void SetLastIngestStateChange(Aws::Map< DatasourcePackageIngestState, TimestampForCollection > &&value)
DatasourcePackageIngestDetail & AddLastIngestStateChange(DatasourcePackageIngestState &&key, TimestampForCollection &&value)
const Aws::Map< DatasourcePackageIngestState, TimestampForCollection > & GetLastIngestStateChange() const
void SetLastIngestStateChange(const Aws::Map< DatasourcePackageIngestState, TimestampForCollection > &value)
DatasourcePackageIngestDetail & AddLastIngestStateChange(const DatasourcePackageIngestState &key, const TimestampForCollection &value)
AWS_DETECTIVE_API DatasourcePackageIngestDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
DatasourcePackageIngestDetail & WithDatasourcePackageIngestState(DatasourcePackageIngestState &&value)
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
DatasourcePackageIngestDetail & WithLastIngestStateChange(const Aws::Map< DatasourcePackageIngestState, TimestampForCollection > &value)
DatasourcePackageIngestDetail & WithDatasourcePackageIngestState(const DatasourcePackageIngestState &value)
AWS_DETECTIVE_API DatasourcePackageIngestDetail(Aws::Utils::Json::JsonView jsonValue)
DatasourcePackageIngestDetail & WithLastIngestStateChange(Aws::Map< DatasourcePackageIngestState, TimestampForCollection > &&value)
DatasourcePackageIngestDetail & AddLastIngestStateChange(DatasourcePackageIngestState &&key, const TimestampForCollection &value)
void SetDatasourcePackageIngestState(const DatasourcePackageIngestState &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue