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/IpSetFormat.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/UUID.h>
48 template<
typename DetectorIdT = Aws::String>
49 void SetDetectorId(DetectorIdT&& value) { m_detectorIdHasBeenSet =
true; m_detectorId = std::forward<DetectorIdT>(value); }
50 template<
typename DetectorIdT = Aws::String>
61 template<
typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
63 template<
typename NameT = Aws::String>
83 template<
typename LocationT = Aws::String>
84 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
85 template<
typename LocationT = Aws::String>
96 inline void SetActivate(
bool value) { m_activateHasBeenSet =
true; m_activate = value; }
106 template<
typename ClientTokenT = Aws::String>
107 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
108 template<
typename ClientTokenT = Aws::String>
118 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
119 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
120 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
122 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
124 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
135 template<
typename ExpectedBucketOwnerT = Aws::String>
136 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
137 template<
typename ExpectedBucketOwnerT = Aws::String>
143 bool m_detectorIdHasBeenSet =
false;
146 bool m_nameHasBeenSet =
false;
149 bool m_formatHasBeenSet =
false;
152 bool m_locationHasBeenSet =
false;
154 bool m_activate{
false};
155 bool m_activateHasBeenSet =
false;
158 bool m_clientTokenHasBeenSet =
true;
161 bool m_tagsHasBeenSet =
false;
164 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