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/IpSetFormat.h>
44 template <
typename DetectorIdT = Aws::String>
46 m_detectorIdHasBeenSet =
true;
47 m_detectorId = std::forward<DetectorIdT>(value);
49 template <
typename DetectorIdT = Aws::String>
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
82 m_formatHasBeenSet =
true;
97 template <
typename LocationT = Aws::String>
99 m_locationHasBeenSet =
true;
100 m_location = std::forward<LocationT>(value);
102 template <
typename LocationT = Aws::String>
117 m_activateHasBeenSet =
true;
132 template <
typename ClientTokenT = Aws::String>
134 m_clientTokenHasBeenSet =
true;
135 m_clientToken = std::forward<ClientTokenT>(value);
137 template <
typename ClientTokenT = Aws::String>
150 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
152 m_tagsHasBeenSet =
true;
153 m_tags = std::forward<TagsT>(value);
155 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
157 SetTags(std::forward<TagsT>(value));
160 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
162 m_tagsHasBeenSet =
true;
163 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
175 template <
typename ExpectedBucketOwnerT = Aws::String>
177 m_expectedBucketOwnerHasBeenSet =
true;
178 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
180 template <
typename ExpectedBucketOwnerT = Aws::String>
195 bool m_activate{
false};
202 bool m_detectorIdHasBeenSet =
false;
203 bool m_nameHasBeenSet =
false;
204 bool m_formatHasBeenSet =
false;
205 bool m_locationHasBeenSet =
false;
206 bool m_activateHasBeenSet =
false;
207 bool m_clientTokenHasBeenSet =
true;
208 bool m_tagsHasBeenSet =
false;
209 bool m_expectedBucketOwnerHasBeenSet =
false;
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ExpectedBucketOwnerHasBeenSet() const
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
void SetFormat(IpSetFormat value)
const Aws::String & GetName() const
CreateIPSetRequest & WithFormat(IpSetFormat value)
void SetDetectorId(DetectorIdT &&value)
bool FormatHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetName(NameT &&value)
CreateIPSetRequest & WithTags(TagsT &&value)
bool DetectorIdHasBeenSet() const
const Aws::String & GetDetectorId() const
const Aws::String & GetExpectedBucketOwner() const
bool LocationHasBeenSet() const
CreateIPSetRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool NameHasBeenSet() const
bool TagsHasBeenSet() const
const Aws::String & GetLocation() const
CreateIPSetRequest & WithDetectorId(DetectorIdT &&value)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
void SetLocation(LocationT &&value)
void SetActivate(bool value)
CreateIPSetRequest & WithName(NameT &&value)
CreateIPSetRequest & WithActivate(bool value)
bool ClientTokenHasBeenSet() const
CreateIPSetRequest & WithClientToken(ClientTokenT &&value)
void SetClientToken(ClientTokenT &&value)
CreateIPSetRequest & WithLocation(LocationT &&value)
IpSetFormat GetFormat() const
const Aws::String & GetClientToken() const
bool ActivateHasBeenSet() const
AWS_GUARDDUTY_API CreateIPSetRequest()=default
void SetTags(TagsT &&value)
CreateIPSetRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&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