AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsGuardDutyDetectorDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsGuardDutyDetectorDataSourcesDetails.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/securityhub/model/AwsGuardDutyDetectorFeaturesDetails.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SecurityHub
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_SECURITYHUB_API AwsGuardDutyDetectorDetails() = default;
42 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const AwsGuardDutyDetectorDataSourcesDetails& GetDataSources() const { return m_dataSources; }
50 inline bool DataSourcesHasBeenSet() const { return m_dataSourcesHasBeenSet; }
51 template<typename DataSourcesT = AwsGuardDutyDetectorDataSourcesDetails>
52 void SetDataSources(DataSourcesT&& value) { m_dataSourcesHasBeenSet = true; m_dataSources = std::forward<DataSourcesT>(value); }
53 template<typename DataSourcesT = AwsGuardDutyDetectorDataSourcesDetails>
54 AwsGuardDutyDetectorDetails& WithDataSources(DataSourcesT&& value) { SetDataSources(std::forward<DataSourcesT>(value)); return *this;}
56
58
61 inline const Aws::Vector<AwsGuardDutyDetectorFeaturesDetails>& GetFeatures() const { return m_features; }
62 inline bool FeaturesHasBeenSet() const { return m_featuresHasBeenSet; }
63 template<typename FeaturesT = Aws::Vector<AwsGuardDutyDetectorFeaturesDetails>>
64 void SetFeatures(FeaturesT&& value) { m_featuresHasBeenSet = true; m_features = std::forward<FeaturesT>(value); }
65 template<typename FeaturesT = Aws::Vector<AwsGuardDutyDetectorFeaturesDetails>>
66 AwsGuardDutyDetectorDetails& WithFeatures(FeaturesT&& value) { SetFeatures(std::forward<FeaturesT>(value)); return *this;}
67 template<typename FeaturesT = AwsGuardDutyDetectorFeaturesDetails>
68 AwsGuardDutyDetectorDetails& AddFeatures(FeaturesT&& value) { m_featuresHasBeenSet = true; m_features.emplace_back(std::forward<FeaturesT>(value)); return *this; }
70
72
75 inline const Aws::String& GetFindingPublishingFrequency() const { return m_findingPublishingFrequency; }
76 inline bool FindingPublishingFrequencyHasBeenSet() const { return m_findingPublishingFrequencyHasBeenSet; }
77 template<typename FindingPublishingFrequencyT = Aws::String>
78 void SetFindingPublishingFrequency(FindingPublishingFrequencyT&& value) { m_findingPublishingFrequencyHasBeenSet = true; m_findingPublishingFrequency = std::forward<FindingPublishingFrequencyT>(value); }
79 template<typename FindingPublishingFrequencyT = Aws::String>
80 AwsGuardDutyDetectorDetails& WithFindingPublishingFrequency(FindingPublishingFrequencyT&& value) { SetFindingPublishingFrequency(std::forward<FindingPublishingFrequencyT>(value)); return *this;}
82
84
87 inline const Aws::String& GetServiceRole() const { return m_serviceRole; }
88 inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
89 template<typename ServiceRoleT = Aws::String>
90 void SetServiceRole(ServiceRoleT&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::forward<ServiceRoleT>(value); }
91 template<typename ServiceRoleT = Aws::String>
92 AwsGuardDutyDetectorDetails& WithServiceRole(ServiceRoleT&& value) { SetServiceRole(std::forward<ServiceRoleT>(value)); return *this;}
94
96
99 inline const Aws::String& GetStatus() const { return m_status; }
100 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
101 template<typename StatusT = Aws::String>
102 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
103 template<typename StatusT = Aws::String>
104 AwsGuardDutyDetectorDetails& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
106 private:
107
109 bool m_dataSourcesHasBeenSet = false;
110
112 bool m_featuresHasBeenSet = false;
113
114 Aws::String m_findingPublishingFrequency;
115 bool m_findingPublishingFrequencyHasBeenSet = false;
116
117 Aws::String m_serviceRole;
118 bool m_serviceRoleHasBeenSet = false;
119
120 Aws::String m_status;
121 bool m_statusHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace SecurityHub
126} // namespace Aws
const Aws::Vector< AwsGuardDutyDetectorFeaturesDetails > & GetFeatures() const
AWS_SECURITYHUB_API AwsGuardDutyDetectorDetails()=default
AWS_SECURITYHUB_API AwsGuardDutyDetectorDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsGuardDutyDetectorDetails & WithStatus(StatusT &&value)
AWS_SECURITYHUB_API AwsGuardDutyDetectorDetails(Aws::Utils::Json::JsonView jsonValue)
AwsGuardDutyDetectorDetails & WithFindingPublishingFrequency(FindingPublishingFrequencyT &&value)
const AwsGuardDutyDetectorDataSourcesDetails & GetDataSources() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFindingPublishingFrequency(FindingPublishingFrequencyT &&value)
AwsGuardDutyDetectorDetails & WithFeatures(FeaturesT &&value)
AwsGuardDutyDetectorDetails & WithDataSources(DataSourcesT &&value)
AwsGuardDutyDetectorDetails & AddFeatures(FeaturesT &&value)
AwsGuardDutyDetectorDetails & WithServiceRole(ServiceRoleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue