7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/GuardDutyRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/guardduty/model/ThreatIntelSetFormat.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/UUID.h>
49 template<
typename DetectorIdT = Aws::String>
50 void SetDetectorId(DetectorIdT&& value) { m_detectorIdHasBeenSet =
true; m_detectorId = std::forward<DetectorIdT>(value); }
51 template<
typename DetectorIdT = Aws::String>
63 template<
typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
65 template<
typename NameT = Aws::String>
85 template<
typename LocationT = Aws::String>
86 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
87 template<
typename LocationT = Aws::String>
98 inline void SetActivate(
bool value) { m_activateHasBeenSet =
true; m_activate = value; }
108 template<
typename ClientTokenT = Aws::String>
109 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
110 template<
typename ClientTokenT = Aws::String>
120 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
121 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
122 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
124 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
126 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
137 template<
typename ExpectedBucketOwnerT = Aws::String>
138 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
139 template<
typename ExpectedBucketOwnerT = Aws::String>
145 bool m_detectorIdHasBeenSet =
false;
148 bool m_nameHasBeenSet =
false;
151 bool m_formatHasBeenSet =
false;
154 bool m_locationHasBeenSet =
false;
156 bool m_activate{
false};
157 bool m_activateHasBeenSet =
false;
160 bool m_clientTokenHasBeenSet =
true;
163 bool m_tagsHasBeenSet =
false;
166 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