7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/inspector2/Inspector2_EXPORTS.h>
11#include <aws/inspector2/model/Provider.h>
12#include <aws/inspector2/model/SeverityCounts.h>
45 template <
typename ResourceIdT = Aws::String>
47 m_resourceIdHasBeenSet =
true;
48 m_resourceId = std::forward<ResourceIdT>(value);
50 template <
typename ResourceIdT = Aws::String>
67 m_cloudProviderHasBeenSet =
true;
68 m_cloudProvider = value;
82 template <
typename CloudAccountIdT = Aws::String>
84 m_cloudAccountIdHasBeenSet =
true;
85 m_cloudAccountId = std::forward<CloudAccountIdT>(value);
87 template <
typename CloudAccountIdT = Aws::String>
105 template <
typename CloudPartitionT = Aws::String>
107 m_cloudPartitionHasBeenSet =
true;
108 m_cloudPartition = std::forward<CloudPartitionT>(value);
110 template <
typename CloudPartitionT = Aws::String>
126 template <
typename CloudRegionT = Aws::String>
128 m_cloudRegionHasBeenSet =
true;
129 m_cloudRegion = std::forward<CloudRegionT>(value);
131 template <
typename CloudRegionT = Aws::String>
144 template <
typename CloudOrgIdT = Aws::String>
146 m_cloudOrgIdHasBeenSet =
true;
147 m_cloudOrgId = std::forward<CloudOrgIdT>(value);
149 template <
typename CloudOrgIdT = Aws::String>
162 template <
typename FunctionNameT = Aws::String>
164 m_functionNameHasBeenSet =
true;
165 m_functionName = std::forward<FunctionNameT>(value);
167 template <
typename FunctionNameT = Aws::String>
180 template <
typename RuntimeT = Aws::String>
182 m_runtimeHasBeenSet =
true;
183 m_runtime = std::forward<RuntimeT>(value);
185 template <
typename RuntimeT = Aws::String>
198 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
200 m_tagsHasBeenSet =
true;
201 m_tags = std::forward<TagsT>(value);
203 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
205 SetTags(std::forward<TagsT>(value));
208 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
210 m_tagsHasBeenSet =
true;
211 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
222 template <
typename AccountIdT = Aws::String>
224 m_accountIdHasBeenSet =
true;
225 m_accountId = std::forward<AccountIdT>(value);
227 template <
typename AccountIdT = Aws::String>
238 template <
typename SeverityCountsT = SeverityCounts>
240 m_severityCountsHasBeenSet =
true;
241 m_severityCounts = std::forward<SeverityCountsT>(value);
243 template <
typename SeverityCountsT = SeverityCounts>
256 template <
typename LastModifiedAtT = Aws::Utils::DateTime>
258 m_lastModifiedAtHasBeenSet =
true;
259 m_lastModifiedAt = std::forward<LastModifiedAtT>(value);
261 template <
typename LastModifiedAtT = Aws::Utils::DateTime>
276 m_exploitAvailableActiveFindingsCountHasBeenSet =
true;
277 m_exploitAvailableActiveFindingsCount = value;
293 m_fixAvailableActiveFindingsCountHasBeenSet =
true;
294 m_fixAvailableActiveFindingsCount = value;
322 SeverityCounts m_severityCounts;
326 long long m_exploitAvailableActiveFindingsCount{0};
328 long long m_fixAvailableActiveFindingsCount{0};
329 bool m_resourceIdHasBeenSet =
false;
330 bool m_cloudProviderHasBeenSet =
false;
331 bool m_cloudAccountIdHasBeenSet =
false;
332 bool m_cloudPartitionHasBeenSet =
false;
333 bool m_cloudRegionHasBeenSet =
false;
334 bool m_cloudOrgIdHasBeenSet =
false;
335 bool m_functionNameHasBeenSet =
false;
336 bool m_runtimeHasBeenSet =
false;
337 bool m_tagsHasBeenSet =
false;
338 bool m_accountIdHasBeenSet =
false;
339 bool m_severityCountsHasBeenSet =
false;
340 bool m_lastModifiedAtHasBeenSet =
false;
341 bool m_exploitAvailableActiveFindingsCountHasBeenSet =
false;
342 bool m_fixAvailableActiveFindingsCountHasBeenSet =
false;
bool CloudAccountIdHasBeenSet() const
ServerlessFunctionAggregationResponse & WithCloudProvider(Provider value)
bool FunctionNameHasBeenSet() const
void SetCloudRegion(CloudRegionT &&value)
ServerlessFunctionAggregationResponse & WithCloudRegion(CloudRegionT &&value)
ServerlessFunctionAggregationResponse & WithLastModifiedAt(LastModifiedAtT &&value)
bool FixAvailableActiveFindingsCountHasBeenSet() const
bool CloudRegionHasBeenSet() const
bool TagsHasBeenSet() const
AWS_INSPECTOR2_API ServerlessFunctionAggregationResponse()=default
ServerlessFunctionAggregationResponse & WithCloudPartition(CloudPartitionT &&value)
const Aws::String & GetCloudPartition() const
const Aws::String & GetRuntime() const
bool CloudPartitionHasBeenSet() const
void SetFunctionName(FunctionNameT &&value)
bool SeverityCountsHasBeenSet() const
ServerlessFunctionAggregationResponse & WithSeverityCounts(SeverityCountsT &&value)
const Aws::String & GetCloudAccountId() const
bool RuntimeHasBeenSet() const
ServerlessFunctionAggregationResponse & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccountId(AccountIdT &&value)
void SetRuntime(RuntimeT &&value)
const SeverityCounts & GetSeverityCounts() const
const Aws::String & GetResourceId() const
void SetLastModifiedAt(LastModifiedAtT &&value)
ServerlessFunctionAggregationResponse & WithAccountId(AccountIdT &&value)
AWS_INSPECTOR2_API ServerlessFunctionAggregationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResourceId(ResourceIdT &&value)
ServerlessFunctionAggregationResponse & WithFixAvailableActiveFindingsCount(long long value)
bool ExploitAvailableActiveFindingsCountHasBeenSet() const
const Aws::String & GetCloudRegion() const
bool CloudProviderHasBeenSet() const
Provider GetCloudProvider() const
long long GetFixAvailableActiveFindingsCount() const
ServerlessFunctionAggregationResponse & WithFunctionName(FunctionNameT &&value)
ServerlessFunctionAggregationResponse & WithExploitAvailableActiveFindingsCount(long long value)
AWS_INSPECTOR2_API ServerlessFunctionAggregationResponse(Aws::Utils::Json::JsonView jsonValue)
long long GetExploitAvailableActiveFindingsCount() const
void SetExploitAvailableActiveFindingsCount(long long value)
const Aws::String & GetCloudOrgId() const
const Aws::Utils::DateTime & GetLastModifiedAt() const
ServerlessFunctionAggregationResponse & WithCloudAccountId(CloudAccountIdT &&value)
void SetCloudPartition(CloudPartitionT &&value)
void SetFixAvailableActiveFindingsCount(long long value)
void SetSeverityCounts(SeverityCountsT &&value)
bool AccountIdHasBeenSet() const
void SetTags(TagsT &&value)
void SetCloudProvider(Provider value)
ServerlessFunctionAggregationResponse & WithResourceId(ResourceIdT &&value)
const Aws::String & GetFunctionName() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool LastModifiedAtHasBeenSet() const
ServerlessFunctionAggregationResponse & WithRuntime(RuntimeT &&value)
const Aws::String & GetAccountId() const
ServerlessFunctionAggregationResponse & WithTags(TagsT &&value)
ServerlessFunctionAggregationResponse & WithCloudOrgId(CloudOrgIdT &&value)
bool CloudOrgIdHasBeenSet() const
void SetCloudAccountId(CloudAccountIdT &&value)
void SetCloudOrgId(CloudOrgIdT &&value)
bool ResourceIdHasBeenSet() 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
Aws::Utils::Json::JsonValue JsonValue