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>
56 inline void SetSecurityProfileName(
const char* value) { m_securityProfileNameHasBeenSet =
true; m_securityProfileName.assign(value); }
70 inline void SetSecurityProfileDescription(
const char* value) { m_securityProfileDescriptionHasBeenSet =
true; m_securityProfileDescription.assign(value); }
132 inline void SetDeleteBehaviors(
bool value) { m_deleteBehaviorsHasBeenSet =
true; m_deleteBehaviors = value; }
144 inline void SetDeleteAlertTargets(
bool value) { m_deleteAlertTargetsHasBeenSet =
true; m_deleteAlertTargets = value; }
169 inline void SetExpectedVersion(
long long value) { m_expectedVersionHasBeenSet =
true; m_expectedVersion = value; }
197 bool m_securityProfileNameHasBeenSet =
false;
200 bool m_securityProfileDescriptionHasBeenSet =
false;
203 bool m_behaviorsHasBeenSet =
false;
206 bool m_alertTargetsHasBeenSet =
false;
209 bool m_additionalMetricsToRetainV2HasBeenSet =
false;
211 bool m_deleteBehaviors;
212 bool m_deleteBehaviorsHasBeenSet =
false;
214 bool m_deleteAlertTargets;
215 bool m_deleteAlertTargetsHasBeenSet =
false;
217 bool m_deleteAdditionalMetricsToRetain;
218 bool m_deleteAdditionalMetricsToRetainHasBeenSet =
false;
220 long long m_expectedVersion;
221 bool m_expectedVersionHasBeenSet =
false;
224 bool m_metricsExportConfigHasBeenSet =
false;
226 bool m_deleteMetricsExportConfig;
227 bool m_deleteMetricsExportConfigHasBeenSet =
false;
UpdateSecurityProfileRequest & WithSecurityProfileName(const char *value)
void SetMetricsExportConfig(MetricsExportConfig &&value)
void SetBehaviors(const Aws::Vector< Behavior > &value)
UpdateSecurityProfileRequest & WithSecurityProfileDescription(const char *value)
UpdateSecurityProfileRequest & WithSecurityProfileDescription(Aws::String &&value)
void SetBehaviors(Aws::Vector< Behavior > &&value)
bool ExpectedVersionHasBeenSet() const
UpdateSecurityProfileRequest & WithBehaviors(const Aws::Vector< Behavior > &value)
UpdateSecurityProfileRequest & AddAdditionalMetricsToRetainV2(const MetricToRetain &value)
UpdateSecurityProfileRequest & WithDeleteAlertTargets(bool value)
void SetMetricsExportConfig(const MetricsExportConfig &value)
void SetAlertTargets(const Aws::Map< AlertTargetType, AlertTarget > &value)
virtual const char * GetServiceRequestName() const override
bool MetricsExportConfigHasBeenSet() const
const Aws::Vector< Behavior > & GetBehaviors() const
bool SecurityProfileDescriptionHasBeenSet() const
UpdateSecurityProfileRequest & WithAdditionalMetricsToRetainV2(Aws::Vector< MetricToRetain > &&value)
UpdateSecurityProfileRequest & WithBehaviors(Aws::Vector< Behavior > &&value)
UpdateSecurityProfileRequest & AddAlertTargets(AlertTargetType &&key, const AlertTarget &value)
UpdateSecurityProfileRequest & AddAlertTargets(const AlertTargetType &key, const AlertTarget &value)
void SetDeleteBehaviors(bool value)
bool DeleteAlertTargetsHasBeenSet() const
UpdateSecurityProfileRequest & WithDeleteAdditionalMetricsToRetain(bool value)
const Aws::Map< AlertTargetType, AlertTarget > & GetAlertTargets() const
bool DeleteMetricsExportConfigHasBeenSet() const
UpdateSecurityProfileRequest & AddAlertTargets(const AlertTargetType &key, AlertTarget &&value)
AWS_IOT_API UpdateSecurityProfileRequest()
void SetDeleteAdditionalMetricsToRetain(bool value)
void SetDeleteMetricsExportConfig(bool value)
void SetDeleteAlertTargets(bool value)
UpdateSecurityProfileRequest & WithAlertTargets(Aws::Map< AlertTargetType, AlertTarget > &&value)
bool GetDeleteBehaviors() const
UpdateSecurityProfileRequest & WithAdditionalMetricsToRetainV2(const Aws::Vector< MetricToRetain > &value)
UpdateSecurityProfileRequest & WithSecurityProfileName(const Aws::String &value)
bool GetDeleteMetricsExportConfig() const
bool DeleteAdditionalMetricsToRetainHasBeenSet() const
UpdateSecurityProfileRequest & WithMetricsExportConfig(const MetricsExportConfig &value)
UpdateSecurityProfileRequest & WithAlertTargets(const Aws::Map< AlertTargetType, AlertTarget > &value)
const Aws::String & GetSecurityProfileName() const
UpdateSecurityProfileRequest & AddBehaviors(Behavior &&value)
AWS_IOT_API Aws::String SerializePayload() const override
void SetSecurityProfileDescription(Aws::String &&value)
bool GetDeleteAlertTargets() const
void SetAdditionalMetricsToRetainV2(Aws::Vector< MetricToRetain > &&value)
UpdateSecurityProfileRequest & AddBehaviors(const Behavior &value)
UpdateSecurityProfileRequest & WithSecurityProfileName(Aws::String &&value)
UpdateSecurityProfileRequest & WithMetricsExportConfig(MetricsExportConfig &&value)
void SetSecurityProfileDescription(const Aws::String &value)
UpdateSecurityProfileRequest & WithDeleteMetricsExportConfig(bool value)
UpdateSecurityProfileRequest & AddAdditionalMetricsToRetainV2(MetricToRetain &&value)
void SetSecurityProfileName(const char *value)
bool AlertTargetsHasBeenSet() const
void SetAdditionalMetricsToRetainV2(const Aws::Vector< MetricToRetain > &value)
long long GetExpectedVersion() const
UpdateSecurityProfileRequest & AddAlertTargets(AlertTargetType &&key, AlertTarget &&value)
void SetSecurityProfileName(const Aws::String &value)
const MetricsExportConfig & GetMetricsExportConfig() const
bool DeleteBehaviorsHasBeenSet() const
bool SecurityProfileNameHasBeenSet() const
UpdateSecurityProfileRequest & WithSecurityProfileDescription(const Aws::String &value)
bool AdditionalMetricsToRetainV2HasBeenSet() const
const Aws::String & GetSecurityProfileDescription() const
void SetAlertTargets(Aws::Map< AlertTargetType, AlertTarget > &&value)
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool GetDeleteAdditionalMetricsToRetain() const
void SetSecurityProfileName(Aws::String &&value)
UpdateSecurityProfileRequest & WithExpectedVersion(long long value)
UpdateSecurityProfileRequest & WithDeleteBehaviors(bool value)
void SetExpectedVersion(long long value)
void SetSecurityProfileDescription(const char *value)
const Aws::Vector< MetricToRetain > & GetAdditionalMetricsToRetainV2() const
bool BehaviorsHasBeenSet() const
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