AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DetectorAdditionalConfigurationResult.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/FeatureAdditionalConfiguration.h>
9#include <aws/guardduty/model/FeatureStatus.h>
10#include <aws/core/utils/DateTime.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 GuardDuty
24{
25namespace Model
26{
27
34 {
35 public:
39 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const FeatureAdditionalConfiguration& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const FeatureAdditionalConfiguration& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(FeatureAdditionalConfiguration&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline DetectorAdditionalConfigurationResult& WithName(FeatureAdditionalConfiguration&& value) { SetName(std::move(value)); return *this;}
53
55
58 inline const FeatureStatus& GetStatus() const{ return m_status; }
59 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
60 inline void SetStatus(const FeatureStatus& value) { m_statusHasBeenSet = true; m_status = value; }
61 inline void SetStatus(FeatureStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
62 inline DetectorAdditionalConfigurationResult& WithStatus(const FeatureStatus& value) { SetStatus(value); return *this;}
63 inline DetectorAdditionalConfigurationResult& WithStatus(FeatureStatus&& value) { SetStatus(std::move(value)); return *this;}
65
67
71 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
72 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
73 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
74 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
76 inline DetectorAdditionalConfigurationResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
78 private:
79
81 bool m_nameHasBeenSet = false;
82
83 FeatureStatus m_status;
84 bool m_statusHasBeenSet = false;
85
86 Aws::Utils::DateTime m_updatedAt;
87 bool m_updatedAtHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace GuardDuty
92} // namespace Aws
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
DetectorAdditionalConfigurationResult & WithName(const FeatureAdditionalConfiguration &value)
AWS_GUARDDUTY_API DetectorAdditionalConfigurationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
DetectorAdditionalConfigurationResult & WithStatus(const FeatureStatus &value)
DetectorAdditionalConfigurationResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
DetectorAdditionalConfigurationResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
AWS_GUARDDUTY_API DetectorAdditionalConfigurationResult(Aws::Utils::Json::JsonView jsonValue)
DetectorAdditionalConfigurationResult & WithName(FeatureAdditionalConfiguration &&value)
DetectorAdditionalConfigurationResult & WithStatus(FeatureStatus &&value)
Aws::Utils::Json::JsonValue JsonValue