AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DetectorFeatureConfigurationResult.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/DetectorFeatureResult.h>
9#include <aws/guardduty/model/FeatureStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/guardduty/model/DetectorAdditionalConfigurationResult.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 GuardDuty
26{
27namespace Model
28{
29
42 {
43 public:
47 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const DetectorFeatureResult& GetName() const{ return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 inline void SetName(const DetectorFeatureResult& value) { m_nameHasBeenSet = true; m_name = value; }
57 inline void SetName(DetectorFeatureResult&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
58 inline DetectorFeatureConfigurationResult& WithName(const DetectorFeatureResult& value) { SetName(value); return *this;}
59 inline DetectorFeatureConfigurationResult& WithName(DetectorFeatureResult&& value) { SetName(std::move(value)); return *this;}
61
63
66 inline const FeatureStatus& GetStatus() const{ return m_status; }
67 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
68 inline void SetStatus(const FeatureStatus& value) { m_statusHasBeenSet = true; m_status = value; }
69 inline void SetStatus(FeatureStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
70 inline DetectorFeatureConfigurationResult& WithStatus(const FeatureStatus& value) { SetStatus(value); return *this;}
71 inline DetectorFeatureConfigurationResult& WithStatus(FeatureStatus&& value) { SetStatus(std::move(value)); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
79 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
80 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
81 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
83 inline DetectorFeatureConfigurationResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
85
87
90 inline const Aws::Vector<DetectorAdditionalConfigurationResult>& GetAdditionalConfiguration() const{ return m_additionalConfiguration; }
91 inline bool AdditionalConfigurationHasBeenSet() const { return m_additionalConfigurationHasBeenSet; }
92 inline void SetAdditionalConfiguration(const Aws::Vector<DetectorAdditionalConfigurationResult>& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration = value; }
93 inline void SetAdditionalConfiguration(Aws::Vector<DetectorAdditionalConfigurationResult>&& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration = std::move(value); }
96 inline DetectorFeatureConfigurationResult& AddAdditionalConfiguration(const DetectorAdditionalConfigurationResult& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration.push_back(value); return *this; }
97 inline DetectorFeatureConfigurationResult& AddAdditionalConfiguration(DetectorAdditionalConfigurationResult&& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration.push_back(std::move(value)); return *this; }
99 private:
100
102 bool m_nameHasBeenSet = false;
103
104 FeatureStatus m_status;
105 bool m_statusHasBeenSet = false;
106
107 Aws::Utils::DateTime m_updatedAt;
108 bool m_updatedAtHasBeenSet = false;
109
111 bool m_additionalConfigurationHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace GuardDuty
116} // namespace Aws
DetectorFeatureConfigurationResult & AddAdditionalConfiguration(DetectorAdditionalConfigurationResult &&value)
const Aws::Vector< DetectorAdditionalConfigurationResult > & GetAdditionalConfiguration() const
DetectorFeatureConfigurationResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
DetectorFeatureConfigurationResult & WithAdditionalConfiguration(Aws::Vector< DetectorAdditionalConfigurationResult > &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API DetectorFeatureConfigurationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
DetectorFeatureConfigurationResult & WithStatus(FeatureStatus &&value)
DetectorFeatureConfigurationResult & WithStatus(const FeatureStatus &value)
void SetAdditionalConfiguration(Aws::Vector< DetectorAdditionalConfigurationResult > &&value)
DetectorFeatureConfigurationResult & AddAdditionalConfiguration(const DetectorAdditionalConfigurationResult &value)
void SetAdditionalConfiguration(const Aws::Vector< DetectorAdditionalConfigurationResult > &value)
AWS_GUARDDUTY_API DetectorFeatureConfigurationResult(Aws::Utils::Json::JsonView jsonValue)
DetectorFeatureConfigurationResult & WithAdditionalConfiguration(const Aws::Vector< DetectorAdditionalConfigurationResult > &value)
DetectorFeatureConfigurationResult & WithName(const DetectorFeatureResult &value)
DetectorFeatureConfigurationResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
DetectorFeatureConfigurationResult & WithName(DetectorFeatureResult &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue