7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/guardduty/GuardDuty_EXPORTS.h>
12#include <aws/guardduty/model/DetectorFeatureConfigurationResult.h>
13#include <aws/guardduty/model/DetectorStatus.h>
14#include <aws/guardduty/model/FindingPublishingFrequency.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
40 template <
typename CreatedAtT = Aws::String>
42 m_createdAtHasBeenSet =
true;
43 m_createdAt = std::forward<CreatedAtT>(value);
45 template <
typename CreatedAtT = Aws::String>
58 m_findingPublishingFrequencyHasBeenSet =
true;
59 m_findingPublishingFrequency = value;
72 template <
typename ServiceRoleT = Aws::String>
74 m_serviceRoleHasBeenSet =
true;
75 m_serviceRole = std::forward<ServiceRoleT>(value);
77 template <
typename ServiceRoleT = Aws::String>
90 m_statusHasBeenSet =
true;
104 template <
typename UpdatedAtT = Aws::String>
106 m_updatedAtHasBeenSet =
true;
107 m_updatedAt = std::forward<UpdatedAtT>(value);
109 template <
typename UpdatedAtT = Aws::String>
121 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
123 m_tagsHasBeenSet =
true;
124 m_tags = std::forward<TagsT>(value);
126 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
128 SetTags(std::forward<TagsT>(value));
131 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
133 m_tagsHasBeenSet =
true;
134 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
144 template <
typename FeaturesT = Aws::Vector<DetectorFeatureConfigurationResult>>
146 m_featuresHasBeenSet =
true;
147 m_features = std::forward<FeaturesT>(value);
149 template <
typename FeaturesT = Aws::Vector<DetectorFeatureConfigurationResult>>
154 template <
typename FeaturesT = DetectorFeatureConfigurationResult>
156 m_featuresHasBeenSet =
true;
157 m_features.emplace_back(std::forward<FeaturesT>(value));
165 template <
typename RequestIdT = Aws::String>
167 m_requestIdHasBeenSet =
true;
168 m_requestId = std::forward<RequestIdT>(value);
170 template <
typename RequestIdT = Aws::String>
195 bool m_createdAtHasBeenSet =
false;
196 bool m_findingPublishingFrequencyHasBeenSet =
false;
197 bool m_serviceRoleHasBeenSet =
false;
198 bool m_statusHasBeenSet =
false;
199 bool m_updatedAtHasBeenSet =
false;
200 bool m_tagsHasBeenSet =
false;
201 bool m_featuresHasBeenSet =
false;
202 bool m_requestIdHasBeenSet =
false;
GetDetectorResult & WithCreatedAt(CreatedAtT &&value)
GetDetectorResult & WithFindingPublishingFrequency(FindingPublishingFrequency value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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