AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeSecurityProfileResult.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 DescribeSecurityProfileResult& 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); }
66 inline DescribeSecurityProfileResult& WithSecurityProfileArn(const char* value) { SetSecurityProfileArn(value); return *this;}
68
70
74 inline const Aws::String& GetSecurityProfileDescription() const{ return m_securityProfileDescription; }
75 inline void SetSecurityProfileDescription(const Aws::String& value) { m_securityProfileDescription = value; }
76 inline void SetSecurityProfileDescription(Aws::String&& value) { m_securityProfileDescription = std::move(value); }
77 inline void SetSecurityProfileDescription(const char* value) { m_securityProfileDescription.assign(value); }
82
84
88 inline const Aws::Vector<Behavior>& GetBehaviors() const{ return m_behaviors; }
89 inline void SetBehaviors(const Aws::Vector<Behavior>& value) { m_behaviors = value; }
90 inline void SetBehaviors(Aws::Vector<Behavior>&& value) { m_behaviors = std::move(value); }
92 inline DescribeSecurityProfileResult& WithBehaviors(Aws::Vector<Behavior>&& value) { SetBehaviors(std::move(value)); return *this;}
93 inline DescribeSecurityProfileResult& AddBehaviors(const Behavior& value) { m_behaviors.push_back(value); return *this; }
94 inline DescribeSecurityProfileResult& AddBehaviors(Behavior&& value) { m_behaviors.push_back(std::move(value)); return *this; }
96
98
101 inline const Aws::Map<AlertTargetType, AlertTarget>& GetAlertTargets() const{ return m_alertTargets; }
102 inline void SetAlertTargets(const Aws::Map<AlertTargetType, AlertTarget>& value) { m_alertTargets = value; }
103 inline void SetAlertTargets(Aws::Map<AlertTargetType, AlertTarget>&& value) { m_alertTargets = std::move(value); }
106 inline DescribeSecurityProfileResult& AddAlertTargets(const AlertTargetType& key, const AlertTarget& value) { m_alertTargets.emplace(key, value); return *this; }
107 inline DescribeSecurityProfileResult& AddAlertTargets(AlertTargetType&& key, const AlertTarget& value) { m_alertTargets.emplace(std::move(key), value); return *this; }
108 inline DescribeSecurityProfileResult& AddAlertTargets(const AlertTargetType& key, AlertTarget&& value) { m_alertTargets.emplace(key, std::move(value)); return *this; }
109 inline DescribeSecurityProfileResult& AddAlertTargets(AlertTargetType&& key, AlertTarget&& value) { m_alertTargets.emplace(std::move(key), std::move(value)); return *this; }
111
113
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 DescribeSecurityProfileResult& AddAdditionalMetricsToRetainV2(const MetricToRetain& value) { m_additionalMetricsToRetainV2.push_back(value); return *this; }
124 inline DescribeSecurityProfileResult& AddAdditionalMetricsToRetainV2(MetricToRetain&& value) { m_additionalMetricsToRetainV2.push_back(std::move(value)); return *this; }
126
128
132 inline long long GetVersion() const{ return m_version; }
133 inline void SetVersion(long long value) { m_version = value; }
134 inline DescribeSecurityProfileResult& WithVersion(long long value) { SetVersion(value); return *this;}
136
138
141 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
142 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
143 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
145 inline DescribeSecurityProfileResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
147
149
152 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
153 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; }
154 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); }
158
160
163 inline const MetricsExportConfig& GetMetricsExportConfig() const{ return m_metricsExportConfig; }
164 inline void SetMetricsExportConfig(const MetricsExportConfig& value) { m_metricsExportConfig = value; }
165 inline void SetMetricsExportConfig(MetricsExportConfig&& value) { m_metricsExportConfig = std::move(value); }
169
171
172 inline const Aws::String& GetRequestId() const{ return m_requestId; }
173 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
174 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
175 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
176 inline DescribeSecurityProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
177 inline DescribeSecurityProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
178 inline DescribeSecurityProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
180 private:
181
182 Aws::String m_securityProfileName;
183
184 Aws::String m_securityProfileArn;
185
186 Aws::String m_securityProfileDescription;
187
188 Aws::Vector<Behavior> m_behaviors;
189
191
192 Aws::Vector<MetricToRetain> m_additionalMetricsToRetainV2;
193
194 long long m_version;
195
196 Aws::Utils::DateTime m_creationDate;
197
198 Aws::Utils::DateTime m_lastModifiedDate;
199
200 MetricsExportConfig m_metricsExportConfig;
201
202 Aws::String m_requestId;
203 };
204
205} // namespace Model
206} // namespace IoT
207} // namespace Aws
void SetAlertTargets(Aws::Map< AlertTargetType, AlertTarget > &&value)
DescribeSecurityProfileResult & AddAlertTargets(AlertTargetType &&key, AlertTarget &&value)
DescribeSecurityProfileResult & WithMetricsExportConfig(const MetricsExportConfig &value)
DescribeSecurityProfileResult & WithVersion(long long value)
DescribeSecurityProfileResult & WithAdditionalMetricsToRetainV2(const Aws::Vector< MetricToRetain > &value)
DescribeSecurityProfileResult & WithCreationDate(const Aws::Utils::DateTime &value)
void SetAdditionalMetricsToRetainV2(const Aws::Vector< MetricToRetain > &value)
const Aws::Vector< MetricToRetain > & GetAdditionalMetricsToRetainV2() const
DescribeSecurityProfileResult & WithAlertTargets(const Aws::Map< AlertTargetType, AlertTarget > &value)
DescribeSecurityProfileResult & WithBehaviors(Aws::Vector< Behavior > &&value)
void SetMetricsExportConfig(const MetricsExportConfig &value)
DescribeSecurityProfileResult & WithLastModifiedDate(Aws::Utils::DateTime &&value)
AWS_IOT_API DescribeSecurityProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeSecurityProfileResult & WithRequestId(const char *value)
DescribeSecurityProfileResult & AddBehaviors(const Behavior &value)
DescribeSecurityProfileResult & AddBehaviors(Behavior &&value)
DescribeSecurityProfileResult & WithLastModifiedDate(const Aws::Utils::DateTime &value)
DescribeSecurityProfileResult & WithCreationDate(Aws::Utils::DateTime &&value)
DescribeSecurityProfileResult & WithSecurityProfileName(const Aws::String &value)
DescribeSecurityProfileResult & WithRequestId(const Aws::String &value)
void SetAlertTargets(const Aws::Map< AlertTargetType, AlertTarget > &value)
DescribeSecurityProfileResult & WithMetricsExportConfig(MetricsExportConfig &&value)
DescribeSecurityProfileResult & WithSecurityProfileArn(Aws::String &&value)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
DescribeSecurityProfileResult & WithRequestId(Aws::String &&value)
DescribeSecurityProfileResult & WithAdditionalMetricsToRetainV2(Aws::Vector< MetricToRetain > &&value)
void SetBehaviors(const Aws::Vector< Behavior > &value)
DescribeSecurityProfileResult & AddAlertTargets(const AlertTargetType &key, const AlertTarget &value)
DescribeSecurityProfileResult & AddAdditionalMetricsToRetainV2(const MetricToRetain &value)
const Aws::Map< AlertTargetType, AlertTarget > & GetAlertTargets() const
DescribeSecurityProfileResult & WithAlertTargets(Aws::Map< AlertTargetType, AlertTarget > &&value)
DescribeSecurityProfileResult & WithSecurityProfileDescription(Aws::String &&value)
DescribeSecurityProfileResult & WithBehaviors(const Aws::Vector< Behavior > &value)
DescribeSecurityProfileResult & WithSecurityProfileDescription(const char *value)
DescribeSecurityProfileResult & AddAlertTargets(AlertTargetType &&key, const AlertTarget &value)
DescribeSecurityProfileResult & WithSecurityProfileArn(const char *value)
DescribeSecurityProfileResult & AddAlertTargets(const AlertTargetType &key, AlertTarget &&value)
DescribeSecurityProfileResult & WithSecurityProfileArn(const Aws::String &value)
const Aws::Vector< Behavior > & GetBehaviors() const
void SetAdditionalMetricsToRetainV2(Aws::Vector< MetricToRetain > &&value)
DescribeSecurityProfileResult & WithSecurityProfileName(Aws::String &&value)
DescribeSecurityProfileResult & WithSecurityProfileName(const char *value)
AWS_IOT_API DescribeSecurityProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeSecurityProfileResult & WithSecurityProfileDescription(const Aws::String &value)
DescribeSecurityProfileResult & AddAdditionalMetricsToRetainV2(MetricToRetain &&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