AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDataSources(const AwsGuardDutyDetectorDataSourcesDetails& value) { m_dataSourcesHasBeenSet = true; m_dataSources = value; }
52 inline void SetDataSources(AwsGuardDutyDetectorDataSourcesDetails&& value) { m_dataSourcesHasBeenSet = true; m_dataSources = std::move(value); }
56
58
61 inline const Aws::Vector<AwsGuardDutyDetectorFeaturesDetails>& GetFeatures() const{ return m_features; }
62 inline bool FeaturesHasBeenSet() const { return m_featuresHasBeenSet; }
63 inline void SetFeatures(const Aws::Vector<AwsGuardDutyDetectorFeaturesDetails>& value) { m_featuresHasBeenSet = true; m_features = value; }
64 inline void SetFeatures(Aws::Vector<AwsGuardDutyDetectorFeaturesDetails>&& value) { m_featuresHasBeenSet = true; m_features = std::move(value); }
67 inline AwsGuardDutyDetectorDetails& AddFeatures(const AwsGuardDutyDetectorFeaturesDetails& value) { m_featuresHasBeenSet = true; m_features.push_back(value); return *this; }
68 inline AwsGuardDutyDetectorDetails& AddFeatures(AwsGuardDutyDetectorFeaturesDetails&& value) { m_featuresHasBeenSet = true; m_features.push_back(std::move(value)); return *this; }
70
72
75 inline const Aws::String& GetFindingPublishingFrequency() const{ return m_findingPublishingFrequency; }
76 inline bool FindingPublishingFrequencyHasBeenSet() const { return m_findingPublishingFrequencyHasBeenSet; }
77 inline void SetFindingPublishingFrequency(const Aws::String& value) { m_findingPublishingFrequencyHasBeenSet = true; m_findingPublishingFrequency = value; }
78 inline void SetFindingPublishingFrequency(Aws::String&& value) { m_findingPublishingFrequencyHasBeenSet = true; m_findingPublishingFrequency = std::move(value); }
79 inline void SetFindingPublishingFrequency(const char* value) { m_findingPublishingFrequencyHasBeenSet = true; m_findingPublishingFrequency.assign(value); }
84
86
89 inline const Aws::String& GetServiceRole() const{ return m_serviceRole; }
90 inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
91 inline void SetServiceRole(const Aws::String& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = value; }
92 inline void SetServiceRole(Aws::String&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::move(value); }
93 inline void SetServiceRole(const char* value) { m_serviceRoleHasBeenSet = true; m_serviceRole.assign(value); }
94 inline AwsGuardDutyDetectorDetails& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;}
95 inline AwsGuardDutyDetectorDetails& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;}
96 inline AwsGuardDutyDetectorDetails& WithServiceRole(const char* value) { SetServiceRole(value); return *this;}
98
100
103 inline const Aws::String& GetStatus() const{ return m_status; }
104 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
105 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
106 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
107 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
108 inline AwsGuardDutyDetectorDetails& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
109 inline AwsGuardDutyDetectorDetails& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
110 inline AwsGuardDutyDetectorDetails& WithStatus(const char* value) { SetStatus(value); return *this;}
112 private:
113
115 bool m_dataSourcesHasBeenSet = false;
116
118 bool m_featuresHasBeenSet = false;
119
120 Aws::String m_findingPublishingFrequency;
121 bool m_findingPublishingFrequencyHasBeenSet = false;
122
123 Aws::String m_serviceRole;
124 bool m_serviceRoleHasBeenSet = false;
125
126 Aws::String m_status;
127 bool m_statusHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace SecurityHub
132} // namespace Aws
const Aws::Vector< AwsGuardDutyDetectorFeaturesDetails > & GetFeatures() const
AwsGuardDutyDetectorDetails & WithFindingPublishingFrequency(Aws::String &&value)
void SetDataSources(const AwsGuardDutyDetectorDataSourcesDetails &value)
AWS_SECURITYHUB_API AwsGuardDutyDetectorDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsGuardDutyDetectorDetails & WithFeatures(const Aws::Vector< AwsGuardDutyDetectorFeaturesDetails > &value)
AwsGuardDutyDetectorDetails & WithFindingPublishingFrequency(const Aws::String &value)
AwsGuardDutyDetectorDetails & WithStatus(const char *value)
AwsGuardDutyDetectorDetails & AddFeatures(const AwsGuardDutyDetectorFeaturesDetails &value)
AwsGuardDutyDetectorDetails & WithFeatures(Aws::Vector< AwsGuardDutyDetectorFeaturesDetails > &&value)
AwsGuardDutyDetectorDetails & WithDataSources(const AwsGuardDutyDetectorDataSourcesDetails &value)
void SetDataSources(AwsGuardDutyDetectorDataSourcesDetails &&value)
AWS_SECURITYHUB_API AwsGuardDutyDetectorDetails(Aws::Utils::Json::JsonView jsonValue)
const AwsGuardDutyDetectorDataSourcesDetails & GetDataSources() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsGuardDutyDetectorDetails & WithStatus(Aws::String &&value)
void SetFeatures(Aws::Vector< AwsGuardDutyDetectorFeaturesDetails > &&value)
AwsGuardDutyDetectorDetails & WithServiceRole(const char *value)
AwsGuardDutyDetectorDetails & WithFindingPublishingFrequency(const char *value)
AwsGuardDutyDetectorDetails & AddFeatures(AwsGuardDutyDetectorFeaturesDetails &&value)
AwsGuardDutyDetectorDetails & WithServiceRole(Aws::String &&value)
void SetFeatures(const Aws::Vector< AwsGuardDutyDetectorFeaturesDetails > &value)
AwsGuardDutyDetectorDetails & WithStatus(const Aws::String &value)
AwsGuardDutyDetectorDetails & WithServiceRole(const Aws::String &value)
AwsGuardDutyDetectorDetails & WithDataSources(AwsGuardDutyDetectorDataSourcesDetails &&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