7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/guardduty/GuardDutyRequest.h>
11#include <aws/guardduty/GuardDuty_EXPORTS.h>
12#include <aws/guardduty/model/ThreatIntelSetFormat.h>
45 template <
typename DetectorIdT = Aws::String>
47 m_detectorIdHasBeenSet =
true;
48 m_detectorId = std::forward<DetectorIdT>(value);
50 template <
typename DetectorIdT = Aws::String>
65 template <
typename NameT = Aws::String>
67 m_nameHasBeenSet =
true;
68 m_name = std::forward<NameT>(value);
70 template <
typename NameT = Aws::String>
72 SetName(std::forward<NameT>(value));
84 m_formatHasBeenSet =
true;
99 template <
typename LocationT = Aws::String>
101 m_locationHasBeenSet =
true;
102 m_location = std::forward<LocationT>(value);
104 template <
typename LocationT = Aws::String>
119 m_activateHasBeenSet =
true;
134 template <
typename ClientTokenT = Aws::String>
136 m_clientTokenHasBeenSet =
true;
137 m_clientToken = std::forward<ClientTokenT>(value);
139 template <
typename ClientTokenT = Aws::String>
152 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
154 m_tagsHasBeenSet =
true;
155 m_tags = std::forward<TagsT>(value);
157 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
159 SetTags(std::forward<TagsT>(value));
162 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
164 m_tagsHasBeenSet =
true;
165 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
177 template <
typename ExpectedBucketOwnerT = Aws::String>
179 m_expectedBucketOwnerHasBeenSet =
true;
180 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
182 template <
typename ExpectedBucketOwnerT = Aws::String>
197 bool m_activate{
false};
204 bool m_detectorIdHasBeenSet =
false;
205 bool m_nameHasBeenSet =
false;
206 bool m_formatHasBeenSet =
false;
207 bool m_locationHasBeenSet =
false;
208 bool m_activateHasBeenSet =
false;
209 bool m_clientTokenHasBeenSet =
true;
210 bool m_tagsHasBeenSet =
false;
211 bool m_expectedBucketOwnerHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
CreateThreatIntelSetRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool ActivateHasBeenSet() const
bool ClientTokenHasBeenSet() const
CreateThreatIntelSetRequest & WithTags(TagsT &&value)
void SetFormat(ThreatIntelSetFormat value)
void SetName(NameT &&value)
bool DetectorIdHasBeenSet() const
const Aws::String & GetDetectorId() const
bool TagsHasBeenSet() const
const Aws::String & GetExpectedBucketOwner() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateThreatIntelSetRequest & WithActivate(bool value)
CreateThreatIntelSetRequest & WithDetectorId(DetectorIdT &&value)
ThreatIntelSetFormat GetFormat() const
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
void SetLocation(LocationT &&value)
bool LocationHasBeenSet() const
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
const Aws::String & GetName() const
void SetActivate(bool value)
CreateThreatIntelSetRequest & WithClientToken(ClientTokenT &&value)
bool NameHasBeenSet() const
const Aws::String & GetLocation() const
void SetClientToken(ClientTokenT &&value)
bool ExpectedBucketOwnerHasBeenSet() const
AWS_GUARDDUTY_API CreateThreatIntelSetRequest()=default
void SetTags(TagsT &&value)
bool FormatHasBeenSet() const
const Aws::String & GetClientToken() const
CreateThreatIntelSetRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
CreateThreatIntelSetRequest & WithName(NameT &&value)
CreateThreatIntelSetRequest & WithLocation(LocationT &&value)
CreateThreatIntelSetRequest & WithFormat(ThreatIntelSetFormat value)
void SetDetectorId(DetectorIdT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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