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>
47 inline void SetDetectorId(
const char* value) { m_detectorIdHasBeenSet =
true; m_detectorId.assign(value); }
62 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
88 inline void SetLocation(
const char* value) { m_locationHasBeenSet =
true; m_location.assign(value); }
101 inline void SetActivate(
bool value) { m_activateHasBeenSet =
true; m_activate = value; }
113 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
135 inline CreateIPSetRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
140 bool m_detectorIdHasBeenSet =
false;
143 bool m_nameHasBeenSet =
false;
146 bool m_formatHasBeenSet =
false;
149 bool m_locationHasBeenSet =
false;
152 bool m_activateHasBeenSet =
false;
155 bool m_clientTokenHasBeenSet =
false;
158 bool m_tagsHasBeenSet =
false;
CreateIPSetRequest & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
void SetClientToken(Aws::String &&value)
void SetName(Aws::String &&value)
const Aws::String & GetName() const
CreateIPSetRequest & WithName(const char *value)
CreateIPSetRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateIPSetRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateIPSetRequest & WithDetectorId(Aws::String &&value)
bool FormatHasBeenSet() const
void SetName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetLocation(Aws::String &&value)
CreateIPSetRequest & WithName(const Aws::String &value)
CreateIPSetRequest & WithLocation(const char *value)
void SetDetectorId(const Aws::String &value)
bool DetectorIdHasBeenSet() const
const Aws::String & GetDetectorId() const
const IpSetFormat & GetFormat() const
bool LocationHasBeenSet() const
void SetFormat(const IpSetFormat &value)
bool NameHasBeenSet() const
CreateIPSetRequest & AddTags(const char *key, Aws::String &&value)
CreateIPSetRequest & WithDetectorId(const Aws::String &value)
bool TagsHasBeenSet() const
CreateIPSetRequest & WithFormat(IpSetFormat &&value)
void SetLocation(const char *value)
const Aws::String & GetLocation() const
CreateIPSetRequest & AddTags(Aws::String &&key, const char *value)
CreateIPSetRequest & WithDetectorId(const char *value)
void SetDetectorId(Aws::String &&value)
CreateIPSetRequest & WithClientToken(const Aws::String &value)
void SetActivate(bool value)
void SetLocation(const Aws::String &value)
AWS_GUARDDUTY_API CreateIPSetRequest()
CreateIPSetRequest & AddTags(const char *key, const char *value)
CreateIPSetRequest & WithActivate(bool value)
void SetClientToken(const Aws::String &value)
void SetClientToken(const char *value)
void SetName(const char *value)
bool ClientTokenHasBeenSet() const
void SetDetectorId(const char *value)
const Aws::String & GetClientToken() const
void SetFormat(IpSetFormat &&value)
CreateIPSetRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateIPSetRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateIPSetRequest & WithClientToken(const char *value)
CreateIPSetRequest & WithClientToken(Aws::String &&value)
CreateIPSetRequest & WithLocation(const Aws::String &value)
CreateIPSetRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateIPSetRequest & WithFormat(const IpSetFormat &value)
bool ActivateHasBeenSet() const
CreateIPSetRequest & WithName(Aws::String &&value)
CreateIPSetRequest & WithLocation(Aws::String &&value)
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