7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/DateTime.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>
21template<
typename RESULT_TYPE>
22class AmazonWebServiceResult;
48 template<
typename SecurityProfileNameT = Aws::String>
49 void SetSecurityProfileName(SecurityProfileNameT&& value) { m_securityProfileNameHasBeenSet =
true; m_securityProfileName = std::forward<SecurityProfileNameT>(value); }
50 template<
typename SecurityProfileNameT = Aws::String>
59 template<
typename SecurityProfileArnT = Aws::String>
60 void SetSecurityProfileArn(SecurityProfileArnT&& value) { m_securityProfileArnHasBeenSet =
true; m_securityProfileArn = std::forward<SecurityProfileArnT>(value); }
61 template<
typename SecurityProfileArnT = Aws::String>
70 template<
typename SecurityProfileDescriptionT = Aws::String>
71 void SetSecurityProfileDescription(SecurityProfileDescriptionT&& value) { m_securityProfileDescriptionHasBeenSet =
true; m_securityProfileDescription = std::forward<SecurityProfileDescriptionT>(value); }
72 template<
typename SecurityProfileDescriptionT = Aws::String>
82 template<
typename BehaviorsT = Aws::Vector<Behavior>>
83 void SetBehaviors(BehaviorsT&& value) { m_behaviorsHasBeenSet =
true; m_behaviors = std::forward<BehaviorsT>(value); }
84 template<
typename BehaviorsT = Aws::Vector<Behavior>>
86 template<
typename BehaviorsT = Behavior>
95 template<
typename AlertTargetsT = Aws::Map<AlertTargetType, AlertTarget>>
96 void SetAlertTargets(AlertTargetsT&& value) { m_alertTargetsHasBeenSet =
true; m_alertTargets = std::forward<AlertTargetsT>(value); }
97 template<
typename AlertTargetsT = Aws::Map<AlertTargetType, AlertTarget>>
100 m_alertTargetsHasBeenSet =
true; m_alertTargets.emplace(key, value);
return *
this;
112 template<
typename AdditionalMetricsToRetainV2T = Aws::Vector<MetricToRetain>>
113 void SetAdditionalMetricsToRetainV2(AdditionalMetricsToRetainV2T&& value) { m_additionalMetricsToRetainV2HasBeenSet =
true; m_additionalMetricsToRetainV2 = std::forward<AdditionalMetricsToRetainV2T>(value); }
114 template<
typename AdditionalMetricsToRetainV2T = Aws::Vector<MetricToRetain>>
116 template<
typename AdditionalMetricsToRetainV2T = MetricToRetain>
125 inline void SetVersion(
long long value) { m_versionHasBeenSet =
true; m_version = value; }
134 template<
typename CreationDateT = Aws::Utils::DateTime>
135 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
136 template<
typename CreationDateT = Aws::Utils::DateTime>
145 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
146 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
147 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
156 template<
typename MetricsExportConfigT = MetricsExportConfig>
157 void SetMetricsExportConfig(MetricsExportConfigT&& value) { m_metricsExportConfigHasBeenSet =
true; m_metricsExportConfig = std::forward<MetricsExportConfigT>(value); }
158 template<
typename MetricsExportConfigT = MetricsExportConfig>
165 template<
typename RequestIdT = Aws::String>
166 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
167 template<
typename RequestIdT = Aws::String>
173 bool m_securityProfileNameHasBeenSet =
false;
176 bool m_securityProfileArnHasBeenSet =
false;
179 bool m_securityProfileDescriptionHasBeenSet =
false;
182 bool m_behaviorsHasBeenSet =
false;
185 bool m_alertTargetsHasBeenSet =
false;
188 bool m_additionalMetricsToRetainV2HasBeenSet =
false;
190 long long m_version{0};
191 bool m_versionHasBeenSet =
false;
194 bool m_creationDateHasBeenSet =
false;
197 bool m_lastModifiedDateHasBeenSet =
false;
199 MetricsExportConfig m_metricsExportConfig;
200 bool m_metricsExportConfigHasBeenSet =
false;
203 bool m_requestIdHasBeenSet =
false;
AWS_IOT_API UpdateSecurityProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSecurityProfileResult & WithAlertTargets(AlertTargetsT &&value)
const Aws::Vector< MetricToRetain > & GetAdditionalMetricsToRetainV2() const
const Aws::String & GetRequestId() const
UpdateSecurityProfileResult & WithMetricsExportConfig(MetricsExportConfigT &&value)
const Aws::Map< AlertTargetType, AlertTarget > & GetAlertTargets() const
void SetAlertTargets(AlertTargetsT &&value)
const Aws::String & GetSecurityProfileName() const
void SetMetricsExportConfig(MetricsExportConfigT &&value)
UpdateSecurityProfileResult & WithVersion(long long value)
const Aws::String & GetSecurityProfileDescription() const
UpdateSecurityProfileResult & AddAdditionalMetricsToRetainV2(AdditionalMetricsToRetainV2T &&value)
void SetAdditionalMetricsToRetainV2(AdditionalMetricsToRetainV2T &&value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
UpdateSecurityProfileResult & WithBehaviors(BehaviorsT &&value)
void SetCreationDate(CreationDateT &&value)
void SetBehaviors(BehaviorsT &&value)
AWS_IOT_API UpdateSecurityProfileResult()=default
void SetLastModifiedDate(LastModifiedDateT &&value)
UpdateSecurityProfileResult & WithLastModifiedDate(LastModifiedDateT &&value)
UpdateSecurityProfileResult & WithCreationDate(CreationDateT &&value)
void SetVersion(long long value)
void SetSecurityProfileArn(SecurityProfileArnT &&value)
const MetricsExportConfig & GetMetricsExportConfig() const
void SetSecurityProfileName(SecurityProfileNameT &&value)
UpdateSecurityProfileResult & WithRequestId(RequestIdT &&value)
AWS_IOT_API UpdateSecurityProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSecurityProfileResult & WithSecurityProfileName(SecurityProfileNameT &&value)
UpdateSecurityProfileResult & AddBehaviors(BehaviorsT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
void SetSecurityProfileDescription(SecurityProfileDescriptionT &&value)
long long GetVersion() const
UpdateSecurityProfileResult & WithSecurityProfileDescription(SecurityProfileDescriptionT &&value)
UpdateSecurityProfileResult & AddAlertTargets(AlertTargetType key, AlertTarget value)
void SetRequestId(RequestIdT &&value)
UpdateSecurityProfileResult & WithSecurityProfileArn(SecurityProfileArnT &&value)
const Aws::Vector< Behavior > & GetBehaviors() const
UpdateSecurityProfileResult & WithAdditionalMetricsToRetainV2(AdditionalMetricsToRetainV2T &&value)
const Aws::String & GetSecurityProfileArn() 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
Aws::Utils::Json::JsonValue JsonValue