AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
FeatureDetail.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/FeatureStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityHub {
21namespace Model {
22
30 public:
31 AWS_SECURITYHUB_API FeatureDetail() = default;
32 AWS_SECURITYHUB_API FeatureDetail(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYHUB_API FeatureDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline FeatureStatus GetFeatureStatus() const { return m_featureStatus; }
42 inline bool FeatureStatusHasBeenSet() const { return m_featureStatusHasBeenSet; }
43 inline void SetFeatureStatus(FeatureStatus value) {
44 m_featureStatusHasBeenSet = true;
45 m_featureStatus = value;
46 }
48 SetFeatureStatus(value);
49 return *this;
50 }
52
54
57 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
58 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
59 template <typename UpdatedAtT = Aws::Utils::DateTime>
60 void SetUpdatedAt(UpdatedAtT&& value) {
61 m_updatedAtHasBeenSet = true;
62 m_updatedAt = std::forward<UpdatedAtT>(value);
63 }
64 template <typename UpdatedAtT = Aws::Utils::DateTime>
65 FeatureDetail& WithUpdatedAt(UpdatedAtT&& value) {
66 SetUpdatedAt(std::forward<UpdatedAtT>(value));
67 return *this;
68 }
70 private:
72
73 Aws::Utils::DateTime m_updatedAt{};
74 bool m_featureStatusHasBeenSet = false;
75 bool m_updatedAtHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace SecurityHub
80} // namespace Aws
AWS_SECURITYHUB_API FeatureDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFeatureStatus(FeatureStatus value)
FeatureDetail & WithFeatureStatus(FeatureStatus value)
AWS_SECURITYHUB_API FeatureDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetUpdatedAt(UpdatedAtT &&value)
AWS_SECURITYHUB_API FeatureDetail()=default
FeatureDetail & WithUpdatedAt(UpdatedAtT &&value)
Aws::Utils::Json::JsonValue JsonValue