7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/iot/model/MetricsExportConfig.h>
13#include <aws/iot/model/Behavior.h>
14#include <aws/iot/model/AlertTargetType.h>
15#include <aws/iot/model/AlertTarget.h>
16#include <aws/iot/model/MetricToRetain.h>
17#include <aws/iot/model/Tag.h>
51 inline void SetSecurityProfileName(
const char* value) { m_securityProfileNameHasBeenSet =
true; m_securityProfileName.assign(value); }
65 inline void SetSecurityProfileDescription(
const char* value) { m_securityProfileDescriptionHasBeenSet =
true; m_securityProfileDescription.assign(value); }
149 bool m_securityProfileNameHasBeenSet =
false;
152 bool m_securityProfileDescriptionHasBeenSet =
false;
155 bool m_behaviorsHasBeenSet =
false;
158 bool m_alertTargetsHasBeenSet =
false;
161 bool m_additionalMetricsToRetainV2HasBeenSet =
false;
164 bool m_tagsHasBeenSet =
false;
167 bool m_metricsExportConfigHasBeenSet =
false;
CreateSecurityProfileRequest & AddAlertTargets(AlertTargetType &&key, AlertTarget &&value)
CreateSecurityProfileRequest & WithBehaviors(Aws::Vector< Behavior > &&value)
CreateSecurityProfileRequest & WithAlertTargets(const Aws::Map< AlertTargetType, AlertTarget > &value)
CreateSecurityProfileRequest & WithSecurityProfileName(const Aws::String &value)
void SetBehaviors(Aws::Vector< Behavior > &&value)
CreateSecurityProfileRequest & WithTags(Aws::Vector< Tag > &&value)
CreateSecurityProfileRequest & WithMetricsExportConfig(const MetricsExportConfig &value)
CreateSecurityProfileRequest & WithAdditionalMetricsToRetainV2(Aws::Vector< MetricToRetain > &&value)
CreateSecurityProfileRequest & WithSecurityProfileName(Aws::String &&value)
void SetBehaviors(const Aws::Vector< Behavior > &value)
void SetAlertTargets(Aws::Map< AlertTargetType, AlertTarget > &&value)
void SetTags(Aws::Vector< Tag > &&value)
CreateSecurityProfileRequest & WithMetricsExportConfig(MetricsExportConfig &&value)
AWS_IOT_API Aws::String SerializePayload() const override
CreateSecurityProfileRequest & WithBehaviors(const Aws::Vector< Behavior > &value)
CreateSecurityProfileRequest & WithSecurityProfileName(const char *value)
CreateSecurityProfileRequest & AddBehaviors(Behavior &&value)
void SetAlertTargets(const Aws::Map< AlertTargetType, AlertTarget > &value)
bool MetricsExportConfigHasBeenSet() const
CreateSecurityProfileRequest & AddAlertTargets(const AlertTargetType &key, const AlertTarget &value)
void SetMetricsExportConfig(MetricsExportConfig &&value)
AWS_IOT_API CreateSecurityProfileRequest()
CreateSecurityProfileRequest & WithSecurityProfileDescription(Aws::String &&value)
void SetSecurityProfileName(Aws::String &&value)
CreateSecurityProfileRequest & WithAdditionalMetricsToRetainV2(const Aws::Vector< MetricToRetain > &value)
bool SecurityProfileDescriptionHasBeenSet() const
CreateSecurityProfileRequest & WithTags(const Aws::Vector< Tag > &value)
bool BehaviorsHasBeenSet() const
void SetSecurityProfileDescription(const Aws::String &value)
const MetricsExportConfig & GetMetricsExportConfig() const
void SetMetricsExportConfig(const MetricsExportConfig &value)
const Aws::Vector< Behavior > & GetBehaviors() const
const Aws::String & GetSecurityProfileName() const
void SetSecurityProfileDescription(const char *value)
CreateSecurityProfileRequest & AddTags(Tag &&value)
CreateSecurityProfileRequest & AddAdditionalMetricsToRetainV2(MetricToRetain &&value)
bool TagsHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
void SetAdditionalMetricsToRetainV2(Aws::Vector< MetricToRetain > &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< MetricToRetain > & GetAdditionalMetricsToRetainV2() const
CreateSecurityProfileRequest & AddBehaviors(const Behavior &value)
void SetSecurityProfileName(const Aws::String &value)
CreateSecurityProfileRequest & AddAdditionalMetricsToRetainV2(const MetricToRetain &value)
const Aws::String & GetSecurityProfileDescription() const
void SetSecurityProfileName(const char *value)
CreateSecurityProfileRequest & WithSecurityProfileDescription(const Aws::String &value)
void SetSecurityProfileDescription(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
bool SecurityProfileNameHasBeenSet() const
void SetAdditionalMetricsToRetainV2(const Aws::Vector< MetricToRetain > &value)
CreateSecurityProfileRequest & AddTags(const Tag &value)
const Aws::Map< AlertTargetType, AlertTarget > & GetAlertTargets() const
bool AdditionalMetricsToRetainV2HasBeenSet() const
CreateSecurityProfileRequest & AddAlertTargets(AlertTargetType &&key, const AlertTarget &value)
bool AlertTargetsHasBeenSet() const
CreateSecurityProfileRequest & WithSecurityProfileDescription(const char *value)
CreateSecurityProfileRequest & WithAlertTargets(Aws::Map< AlertTargetType, AlertTarget > &&value)
CreateSecurityProfileRequest & AddAlertTargets(const AlertTargetType &key, AlertTarget &&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
std::vector< T, Aws::Allocator< T > > Vector