7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/iot/IoT_EXPORTS.h>
13#include <aws/iot/model/AlertTarget.h>
14#include <aws/iot/model/AlertTargetType.h>
15#include <aws/iot/model/Behavior.h>
16#include <aws/iot/model/MetricToRetain.h>
17#include <aws/iot/model/MetricsExportConfig.h>
22template <
typename RESULT_TYPE>
23class AmazonWebServiceResult;
43 template <
typename SecurityProfileNameT = Aws::String>
45 m_securityProfileNameHasBeenSet =
true;
46 m_securityProfileName = std::forward<SecurityProfileNameT>(value);
48 template <
typename SecurityProfileNameT = Aws::String>
60 template <
typename SecurityProfileArnT = Aws::String>
62 m_securityProfileArnHasBeenSet =
true;
63 m_securityProfileArn = std::forward<SecurityProfileArnT>(value);
65 template <
typename SecurityProfileArnT = Aws::String>
77 template <
typename SecurityProfileDescriptionT = Aws::String>
79 m_securityProfileDescriptionHasBeenSet =
true;
80 m_securityProfileDescription = std::forward<SecurityProfileDescriptionT>(value);
82 template <
typename SecurityProfileDescriptionT = Aws::String>
95 template <
typename BehaviorsT = Aws::Vector<Behavior>>
97 m_behaviorsHasBeenSet =
true;
98 m_behaviors = std::forward<BehaviorsT>(value);
100 template <
typename BehaviorsT = Aws::Vector<Behavior>>
105 template <
typename BehaviorsT = Behavior>
107 m_behaviorsHasBeenSet =
true;
108 m_behaviors.emplace_back(std::forward<BehaviorsT>(value));
118 template <
typename AlertTargetsT = Aws::Map<AlertTargetType, AlertTarget>>
120 m_alertTargetsHasBeenSet =
true;
121 m_alertTargets = std::forward<AlertTargetsT>(value);
123 template <
typename AlertTargetsT = Aws::Map<AlertTargetType, AlertTarget>>
129 m_alertTargetsHasBeenSet =
true;
130 m_alertTargets.emplace(key, value);
143 template <
typename AdditionalMetricsToRetainV2T = Aws::Vector<MetricToRetain>>
145 m_additionalMetricsToRetainV2HasBeenSet =
true;
146 m_additionalMetricsToRetainV2 = std::forward<AdditionalMetricsToRetainV2T>(value);
148 template <
typename AdditionalMetricsToRetainV2T = Aws::Vector<MetricToRetain>>
153 template <
typename AdditionalMetricsToRetainV2T = MetricToRetain>
155 m_additionalMetricsToRetainV2HasBeenSet =
true;
156 m_additionalMetricsToRetainV2.emplace_back(std::forward<AdditionalMetricsToRetainV2T>(value));
167 m_versionHasBeenSet =
true;
181 template <
typename CreationDateT = Aws::Utils::DateTime>
183 m_creationDateHasBeenSet =
true;
184 m_creationDate = std::forward<CreationDateT>(value);
186 template <
typename CreationDateT = Aws::Utils::DateTime>
198 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
200 m_lastModifiedDateHasBeenSet =
true;
201 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
203 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
215 template <
typename MetricsExportConfigT = MetricsExportConfig>
217 m_metricsExportConfigHasBeenSet =
true;
218 m_metricsExportConfig = std::forward<MetricsExportConfigT>(value);
220 template <
typename MetricsExportConfigT = MetricsExportConfig>
230 template <
typename RequestIdT = Aws::String>
232 m_requestIdHasBeenSet =
true;
233 m_requestId = std::forward<RequestIdT>(value);
235 template <
typename RequestIdT = Aws::String>
256 long long m_version{0};
262 MetricsExportConfig m_metricsExportConfig;
266 bool m_securityProfileNameHasBeenSet =
false;
267 bool m_securityProfileArnHasBeenSet =
false;
268 bool m_securityProfileDescriptionHasBeenSet =
false;
269 bool m_behaviorsHasBeenSet =
false;
270 bool m_alertTargetsHasBeenSet =
false;
271 bool m_additionalMetricsToRetainV2HasBeenSet =
false;
272 bool m_versionHasBeenSet =
false;
273 bool m_creationDateHasBeenSet =
false;
274 bool m_lastModifiedDateHasBeenSet =
false;
275 bool m_metricsExportConfigHasBeenSet =
false;
276 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
Aws::Http::HttpResponseCode GetHttpResponseCode() 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