7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/model/FindingPublishingFrequency.h>
10#include <aws/guardduty/model/DetectorStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/guardduty/model/DetectorFeatureConfigurationResult.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
45 template<
typename CreatedAtT = Aws::String>
46 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
47 template<
typename CreatedAtT = Aws::String>
65 template<
typename ServiceRoleT = Aws::String>
66 void SetServiceRole(ServiceRoleT&& value) { m_serviceRoleHasBeenSet =
true; m_serviceRole = std::forward<ServiceRoleT>(value); }
67 template<
typename ServiceRoleT = Aws::String>
85 template<
typename UpdatedAtT = Aws::String>
86 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
87 template<
typename UpdatedAtT = Aws::String>
96 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
97 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
98 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
100 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
102 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
111 template<
typename FeaturesT = Aws::Vector<DetectorFeatureConfigurationResult>>
112 void SetFeatures(FeaturesT&& value) { m_featuresHasBeenSet =
true; m_features = std::forward<FeaturesT>(value); }
113 template<
typename FeaturesT = Aws::Vector<DetectorFeatureConfigurationResult>>
115 template<
typename FeaturesT = DetectorFeatureConfigurationResult>
116 GetDetectorResult&
AddFeatures(FeaturesT&& value) { m_featuresHasBeenSet =
true; m_features.emplace_back(std::forward<FeaturesT>(value));
return *
this; }
122 template<
typename RequestIdT = Aws::String>
123 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
124 template<
typename RequestIdT = Aws::String>
130 bool m_createdAtHasBeenSet =
false;
133 bool m_findingPublishingFrequencyHasBeenSet =
false;
136 bool m_serviceRoleHasBeenSet =
false;
139 bool m_statusHasBeenSet =
false;
142 bool m_updatedAtHasBeenSet =
false;
145 bool m_tagsHasBeenSet =
false;
148 bool m_featuresHasBeenSet =
false;
151 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