7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/guardduty/GuardDuty_EXPORTS.h>
11#include <aws/guardduty/model/DetectorFeatureConfigurationResult.h>
12#include <aws/guardduty/model/DetectorStatus.h>
13#include <aws/guardduty/model/FindingPublishingFrequency.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
39 template <
typename CreatedAtT = Aws::String>
41 m_createdAtHasBeenSet =
true;
42 m_createdAt = std::forward<CreatedAtT>(value);
44 template <
typename CreatedAtT = Aws::String>
57 m_findingPublishingFrequencyHasBeenSet =
true;
58 m_findingPublishingFrequency = value;
71 template <
typename ServiceRoleT = Aws::String>
73 m_serviceRoleHasBeenSet =
true;
74 m_serviceRole = std::forward<ServiceRoleT>(value);
76 template <
typename ServiceRoleT = Aws::String>
89 m_statusHasBeenSet =
true;
103 template <
typename UpdatedAtT = Aws::String>
105 m_updatedAtHasBeenSet =
true;
106 m_updatedAt = std::forward<UpdatedAtT>(value);
108 template <
typename UpdatedAtT = Aws::String>
120 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
122 m_tagsHasBeenSet =
true;
123 m_tags = std::forward<TagsT>(value);
125 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
127 SetTags(std::forward<TagsT>(value));
130 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
132 m_tagsHasBeenSet =
true;
133 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
143 template <
typename FeaturesT = Aws::Vector<DetectorFeatureConfigurationResult>>
145 m_featuresHasBeenSet =
true;
146 m_features = std::forward<FeaturesT>(value);
148 template <
typename FeaturesT = Aws::Vector<DetectorFeatureConfigurationResult>>
153 template <
typename FeaturesT = DetectorFeatureConfigurationResult>
155 m_featuresHasBeenSet =
true;
156 m_features.emplace_back(std::forward<FeaturesT>(value));
164 template <
typename RequestIdT = Aws::String>
166 m_requestIdHasBeenSet =
true;
167 m_requestId = std::forward<RequestIdT>(value);
169 template <
typename RequestIdT = Aws::String>
191 bool m_createdAtHasBeenSet =
false;
192 bool m_findingPublishingFrequencyHasBeenSet =
false;
193 bool m_serviceRoleHasBeenSet =
false;
194 bool m_statusHasBeenSet =
false;
195 bool m_updatedAtHasBeenSet =
false;
196 bool m_tagsHasBeenSet =
false;
197 bool m_featuresHasBeenSet =
false;
198 bool m_requestIdHasBeenSet =
false;
GetDetectorResult & WithCreatedAt(CreatedAtT &&value)
GetDetectorResult & WithFindingPublishingFrequency(FindingPublishingFrequency value)
void SetServiceRole(ServiceRoleT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
GetDetectorResult & AddFeatures(FeaturesT &&value)
DetectorStatus GetStatus() const
void SetCreatedAt(CreatedAtT &&value)
GetDetectorResult & WithRequestId(RequestIdT &&value)
void SetFeatures(FeaturesT &&value)
FindingPublishingFrequency GetFindingPublishingFrequency() const
GetDetectorResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_GUARDDUTY_API GetDetectorResult()=default
const Aws::String & GetRequestId() const
void SetFindingPublishingFrequency(FindingPublishingFrequency value)
void SetTags(TagsT &&value)
void SetStatus(DetectorStatus value)
const Aws::String & GetServiceRole() const
const Aws::String & GetCreatedAt() const
AWS_GUARDDUTY_API GetDetectorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
GetDetectorResult & WithServiceRole(ServiceRoleT &&value)
const Aws::Vector< DetectorFeatureConfigurationResult > & GetFeatures() const
AWS_GUARDDUTY_API GetDetectorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetUpdatedAt() const
GetDetectorResult & WithFeatures(FeaturesT &&value)
GetDetectorResult & WithUpdatedAt(UpdatedAtT &&value)
GetDetectorResult & WithStatus(DetectorStatus value)
GetDetectorResult & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
FindingPublishingFrequency
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue