AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
DatasourcePackageIngestDetail.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/detective/Detective_EXPORTS.h>
9#include <aws/detective/model/DatasourcePackageIngestState.h>
10#include <aws/detective/model/TimestampForCollection.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Detective {
22namespace Model {
23
31 public:
32 AWS_DETECTIVE_API DatasourcePackageIngestDetail() = default;
35 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline DatasourcePackageIngestState GetDatasourcePackageIngestState() const { return m_datasourcePackageIngestState; }
42 inline bool DatasourcePackageIngestStateHasBeenSet() const { return m_datasourcePackageIngestStateHasBeenSet; }
44 m_datasourcePackageIngestStateHasBeenSet = true;
45 m_datasourcePackageIngestState = value;
46 }
49 return *this;
50 }
52
54
58 return m_lastIngestStateChange;
59 }
60 inline bool LastIngestStateChangeHasBeenSet() const { return m_lastIngestStateChangeHasBeenSet; }
61 template <typename LastIngestStateChangeT = Aws::Map<DatasourcePackageIngestState, TimestampForCollection>>
62 void SetLastIngestStateChange(LastIngestStateChangeT&& value) {
63 m_lastIngestStateChangeHasBeenSet = true;
64 m_lastIngestStateChange = std::forward<LastIngestStateChangeT>(value);
65 }
66 template <typename LastIngestStateChangeT = Aws::Map<DatasourcePackageIngestState, TimestampForCollection>>
68 SetLastIngestStateChange(std::forward<LastIngestStateChangeT>(value));
69 return *this;
70 }
72 m_lastIngestStateChangeHasBeenSet = true;
73 m_lastIngestStateChange.emplace(key, value);
74 return *this;
75 }
77 private:
79
81 bool m_datasourcePackageIngestStateHasBeenSet = false;
82 bool m_lastIngestStateChangeHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace Detective
87} // namespace Aws
DatasourcePackageIngestDetail & WithDatasourcePackageIngestState(DatasourcePackageIngestState value)
const Aws::Map< DatasourcePackageIngestState, TimestampForCollection > & GetLastIngestStateChange() const
AWS_DETECTIVE_API DatasourcePackageIngestDetail()=default
DatasourcePackageIngestDetail & WithLastIngestStateChange(LastIngestStateChangeT &&value)
AWS_DETECTIVE_API DatasourcePackageIngestDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DETECTIVE_API DatasourcePackageIngestDetail(Aws::Utils::Json::JsonView jsonValue)
void SetDatasourcePackageIngestState(DatasourcePackageIngestState value)
DatasourcePackageIngestDetail & AddLastIngestStateChange(DatasourcePackageIngestState key, TimestampForCollection value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue