AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSecurityProfileResult.h
1
6#pragma once
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>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace IoT
32{
33namespace Model
34{
36 {
37 public:
41
42
44
47 inline const Aws::String& GetSecurityProfileName() const{ return m_securityProfileName; }
48 inline void SetSecurityProfileName(const Aws::String& value) { m_securityProfileName = value; }
49 inline void SetSecurityProfileName(Aws::String&& value) { m_securityProfileName = std::move(value); }
50 inline void SetSecurityProfileName(const char* value) { m_securityProfileName.assign(value); }
53 inline UpdateSecurityProfileResult& WithSecurityProfileName(const char* value) { SetSecurityProfileName(value); return *this;}
55
57
60 inline const Aws::String& GetSecurityProfileArn() const{ return m_securityProfileArn; }
61 inline void SetSecurityProfileArn(const Aws::String& value) { m_securityProfileArn = value; }
62 inline void SetSecurityProfileArn(Aws::String&& value) { m_securityProfileArn = std::move(value); }
63 inline void SetSecurityProfileArn(const char* value) { m_securityProfileArn.assign(value); }
65 inline UpdateSecurityProfileResult& WithSecurityProfileArn(Aws::String&& value) { SetSecurityProfileArn(std::move(value)); return *this;}
66 inline UpdateSecurityProfileResult& WithSecurityProfileArn(const char* value) { SetSecurityProfileArn(value); return *this;}
68
70
73 inline const Aws::String& GetSecurityProfileDescription() const{ return m_securityProfileDescription; }
74 inline void SetSecurityProfileDescription(const Aws::String& value) { m_securityProfileDescription = value; }
75 inline void SetSecurityProfileDescription(Aws::String&& value) { m_securityProfileDescription = std::move(value); }
76 inline void SetSecurityProfileDescription(const char* value) { m_securityProfileDescription.assign(value); }
81
83
87 inline const Aws::Vector<Behavior>& GetBehaviors() const{ return m_behaviors; }
88 inline void SetBehaviors(const Aws::Vector<Behavior>& value) { m_behaviors = value; }
89 inline void SetBehaviors(Aws::Vector<Behavior>&& value) { m_behaviors = std::move(value); }
90 inline UpdateSecurityProfileResult& WithBehaviors(const Aws::Vector<Behavior>& value) { SetBehaviors(value); return *this;}
91 inline UpdateSecurityProfileResult& WithBehaviors(Aws::Vector<Behavior>&& value) { SetBehaviors(std::move(value)); return *this;}
92 inline UpdateSecurityProfileResult& AddBehaviors(const Behavior& value) { m_behaviors.push_back(value); return *this; }
93 inline UpdateSecurityProfileResult& AddBehaviors(Behavior&& value) { m_behaviors.push_back(std::move(value)); return *this; }
95
97
100 inline const Aws::Map<AlertTargetType, AlertTarget>& GetAlertTargets() const{ return m_alertTargets; }
101 inline void SetAlertTargets(const Aws::Map<AlertTargetType, AlertTarget>& value) { m_alertTargets = value; }
102 inline void SetAlertTargets(Aws::Map<AlertTargetType, AlertTarget>&& value) { m_alertTargets = std::move(value); }
105 inline UpdateSecurityProfileResult& AddAlertTargets(const AlertTargetType& key, const AlertTarget& value) { m_alertTargets.emplace(key, value); return *this; }
106 inline UpdateSecurityProfileResult& AddAlertTargets(AlertTargetType&& key, const AlertTarget& value) { m_alertTargets.emplace(std::move(key), value); return *this; }
107 inline UpdateSecurityProfileResult& AddAlertTargets(const AlertTargetType& key, AlertTarget&& value) { m_alertTargets.emplace(key, std::move(value)); return *this; }
108 inline UpdateSecurityProfileResult& AddAlertTargets(AlertTargetType&& key, AlertTarget&& value) { m_alertTargets.emplace(std::move(key), std::move(value)); return *this; }
110
112
118 inline const Aws::Vector<MetricToRetain>& GetAdditionalMetricsToRetainV2() const{ return m_additionalMetricsToRetainV2; }
119 inline void SetAdditionalMetricsToRetainV2(const Aws::Vector<MetricToRetain>& value) { m_additionalMetricsToRetainV2 = value; }
120 inline void SetAdditionalMetricsToRetainV2(Aws::Vector<MetricToRetain>&& value) { m_additionalMetricsToRetainV2 = std::move(value); }
123 inline UpdateSecurityProfileResult& AddAdditionalMetricsToRetainV2(const MetricToRetain& value) { m_additionalMetricsToRetainV2.push_back(value); return *this; }
124 inline UpdateSecurityProfileResult& AddAdditionalMetricsToRetainV2(MetricToRetain&& value) { m_additionalMetricsToRetainV2.push_back(std::move(value)); return *this; }
126
128
131 inline long long GetVersion() const{ return m_version; }
132 inline void SetVersion(long long value) { m_version = value; }
133 inline UpdateSecurityProfileResult& WithVersion(long long value) { SetVersion(value); return *this;}
135
137
140 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
141 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
142 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
144 inline UpdateSecurityProfileResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
146
148
151 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
152 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; }
153 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); }
157
159
162 inline const MetricsExportConfig& GetMetricsExportConfig() const{ return m_metricsExportConfig; }
163 inline void SetMetricsExportConfig(const MetricsExportConfig& value) { m_metricsExportConfig = value; }
164 inline void SetMetricsExportConfig(MetricsExportConfig&& value) { m_metricsExportConfig = std::move(value); }
168
170
171 inline const Aws::String& GetRequestId() const{ return m_requestId; }
172 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
173 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
174 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
175 inline UpdateSecurityProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
176 inline UpdateSecurityProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
177 inline UpdateSecurityProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
179 private:
180
181 Aws::String m_securityProfileName;
182
183 Aws::String m_securityProfileArn;
184
185 Aws::String m_securityProfileDescription;
186
187 Aws::Vector<Behavior> m_behaviors;
188
190
191 Aws::Vector<MetricToRetain> m_additionalMetricsToRetainV2;
192
193 long long m_version;
194
195 Aws::Utils::DateTime m_creationDate;
196
197 Aws::Utils::DateTime m_lastModifiedDate;
198
199 MetricsExportConfig m_metricsExportConfig;
200
201 Aws::String m_requestId;
202 };
203
204} // namespace Model
205} // namespace IoT
206} // namespace Aws
AWS_IOT_API UpdateSecurityProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAdditionalMetricsToRetainV2(Aws::Vector< MetricToRetain > &&value)
UpdateSecurityProfileResult & WithMetricsExportConfig(const MetricsExportConfig &value)
const Aws::Vector< MetricToRetain > & GetAdditionalMetricsToRetainV2() const
UpdateSecurityProfileResult & WithBehaviors(Aws::Vector< Behavior > &&value)
void SetAlertTargets(Aws::Map< AlertTargetType, AlertTarget > &&value)
UpdateSecurityProfileResult & AddAdditionalMetricsToRetainV2(const MetricToRetain &value)
UpdateSecurityProfileResult & WithLastModifiedDate(Aws::Utils::DateTime &&value)
void SetAlertTargets(const Aws::Map< AlertTargetType, AlertTarget > &value)
UpdateSecurityProfileResult & WithAdditionalMetricsToRetainV2(const Aws::Vector< MetricToRetain > &value)
const Aws::Map< AlertTargetType, AlertTarget > & GetAlertTargets() const
UpdateSecurityProfileResult & WithVersion(long long value)
UpdateSecurityProfileResult & WithSecurityProfileDescription(const char *value)
UpdateSecurityProfileResult & WithSecurityProfileName(const Aws::String &value)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
UpdateSecurityProfileResult & WithBehaviors(const Aws::Vector< Behavior > &value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
UpdateSecurityProfileResult & WithSecurityProfileDescription(Aws::String &&value)
UpdateSecurityProfileResult & WithCreationDate(Aws::Utils::DateTime &&value)
UpdateSecurityProfileResult & WithSecurityProfileDescription(const Aws::String &value)
UpdateSecurityProfileResult & WithLastModifiedDate(const Aws::Utils::DateTime &value)
UpdateSecurityProfileResult & AddAlertTargets(const AlertTargetType &key, AlertTarget &&value)
UpdateSecurityProfileResult & WithAlertTargets(Aws::Map< AlertTargetType, AlertTarget > &&value)
UpdateSecurityProfileResult & WithRequestId(const Aws::String &value)
UpdateSecurityProfileResult & WithAlertTargets(const Aws::Map< AlertTargetType, AlertTarget > &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
UpdateSecurityProfileResult & AddAlertTargets(AlertTargetType &&key, AlertTarget &&value)
UpdateSecurityProfileResult & WithSecurityProfileArn(const char *value)
UpdateSecurityProfileResult & WithRequestId(const char *value)
const MetricsExportConfig & GetMetricsExportConfig() const
UpdateSecurityProfileResult & WithRequestId(Aws::String &&value)
UpdateSecurityProfileResult & WithSecurityProfileArn(Aws::String &&value)
UpdateSecurityProfileResult & AddAlertTargets(const AlertTargetType &key, const AlertTarget &value)
UpdateSecurityProfileResult & WithSecurityProfileName(const char *value)
UpdateSecurityProfileResult & AddAlertTargets(AlertTargetType &&key, const AlertTarget &value)
AWS_IOT_API UpdateSecurityProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetBehaviors(Aws::Vector< Behavior > &&value)
UpdateSecurityProfileResult & AddBehaviors(const Behavior &value)
const Aws::Utils::DateTime & GetCreationDate() const
void SetAdditionalMetricsToRetainV2(const Aws::Vector< MetricToRetain > &value)
void SetBehaviors(const Aws::Vector< Behavior > &value)
UpdateSecurityProfileResult & AddBehaviors(Behavior &&value)
UpdateSecurityProfileResult & AddAdditionalMetricsToRetainV2(MetricToRetain &&value)
const Aws::Vector< Behavior > & GetBehaviors() const
void SetMetricsExportConfig(const MetricsExportConfig &value)
UpdateSecurityProfileResult & WithCreationDate(const Aws::Utils::DateTime &value)
UpdateSecurityProfileResult & WithSecurityProfileArn(const Aws::String &value)
UpdateSecurityProfileResult & WithMetricsExportConfig(MetricsExportConfig &&value)
UpdateSecurityProfileResult & WithAdditionalMetricsToRetainV2(Aws::Vector< MetricToRetain > &&value)
UpdateSecurityProfileResult & WithSecurityProfileName(Aws::String &&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
Aws::Utils::Json::JsonValue JsonValue