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/FindingPublishingFrequency.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/guardduty/model/DetectorFeatureConfiguration.h>
15#include <aws/core/utils/UUID.h>
46 inline void SetEnable(
bool value) { m_enableHasBeenSet =
true; m_enable = value; }
58 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
111 bool m_enableHasBeenSet =
false;
114 bool m_clientTokenHasBeenSet =
false;
117 bool m_findingPublishingFrequencyHasBeenSet =
false;
120 bool m_tagsHasBeenSet =
false;
123 bool m_featuresHasBeenSet =
false;
bool ClientTokenHasBeenSet() const
CreateDetectorRequest & AddTags(Aws::String &&key, Aws::String &&value)
bool FeaturesHasBeenSet() const
bool EnableHasBeenSet() const
CreateDetectorRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetFindingPublishingFrequency(FindingPublishingFrequency &&value)
CreateDetectorRequest & WithClientToken(const char *value)
CreateDetectorRequest & WithEnable(bool value)
AWS_GUARDDUTY_API CreateDetectorRequest()
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
bool TagsHasBeenSet() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
CreateDetectorRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetFeatures(Aws::Vector< DetectorFeatureConfiguration > &&value)
const Aws::Vector< DetectorFeatureConfiguration > & GetFeatures() const
CreateDetectorRequest & AddFeatures(DetectorFeatureConfiguration &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetClientToken(const char *value)
CreateDetectorRequest & AddFeatures(const DetectorFeatureConfiguration &value)
CreateDetectorRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetClientToken(Aws::String &&value)
CreateDetectorRequest & WithFindingPublishingFrequency(const FindingPublishingFrequency &value)
const Aws::String & GetClientToken() const
virtual const char * GetServiceRequestName() const override
void SetClientToken(const Aws::String &value)
CreateDetectorRequest & WithClientToken(Aws::String &&value)
void SetEnable(bool value)
const FindingPublishingFrequency & GetFindingPublishingFrequency() const
CreateDetectorRequest & WithFindingPublishingFrequency(FindingPublishingFrequency &&value)
CreateDetectorRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateDetectorRequest & AddTags(Aws::String &&key, const char *value)
void SetFindingPublishingFrequency(const FindingPublishingFrequency &value)
CreateDetectorRequest & AddTags(const char *key, Aws::String &&value)
bool FindingPublishingFrequencyHasBeenSet() const
void SetFeatures(const Aws::Vector< DetectorFeatureConfiguration > &value)
CreateDetectorRequest & WithFeatures(Aws::Vector< DetectorFeatureConfiguration > &&value)
CreateDetectorRequest & WithFeatures(const Aws::Vector< DetectorFeatureConfiguration > &value)
CreateDetectorRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDetectorRequest & AddTags(const char *key, const char *value)
CreateDetectorRequest & WithClientToken(const Aws::String &value)
FindingPublishingFrequency
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
std::vector< T, Aws::Allocator< T > > Vector