7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/inspector2/model/SeverityCounts.h>
51 template<
typename AccountIdT = Aws::String>
52 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
53 template<
typename AccountIdT = Aws::String>
64 template<
typename FunctionNameT = Aws::String>
65 void SetFunctionName(FunctionNameT&& value) { m_functionNameHasBeenSet =
true; m_functionName = std::forward<FunctionNameT>(value); }
66 template<
typename FunctionNameT = Aws::String>
76 template<
typename LambdaTagsT = Aws::Map<Aws::String, Aws::String>>
77 void SetLambdaTags(LambdaTagsT&& value) { m_lambdaTagsHasBeenSet =
true; m_lambdaTags = std::forward<LambdaTagsT>(value); }
78 template<
typename LambdaTagsT = Aws::Map<Aws::String, Aws::String>>
80 template<
typename LambdaTagsKeyT = Aws::String,
typename LambdaTagsValueT = Aws::String>
82 m_lambdaTagsHasBeenSet =
true; m_lambdaTags.emplace(std::forward<LambdaTagsKeyT>(key), std::forward<LambdaTagsValueT>(value));
return *
this;
93 template<
typename LastModifiedAtT = Aws::Utils::DateTime>
94 void SetLastModifiedAt(LastModifiedAtT&& value) { m_lastModifiedAtHasBeenSet =
true; m_lastModifiedAt = std::forward<LastModifiedAtT>(value); }
95 template<
typename LastModifiedAtT = Aws::Utils::DateTime>
105 template<
typename ResourceIdT = Aws::String>
106 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
107 template<
typename ResourceIdT = Aws::String>
117 template<
typename RuntimeT = Aws::String>
118 void SetRuntime(RuntimeT&& value) { m_runtimeHasBeenSet =
true; m_runtime = std::forward<RuntimeT>(value); }
119 template<
typename RuntimeT = Aws::String>
129 template<
typename SeverityCountsT = SeverityCounts>
130 void SetSeverityCounts(SeverityCountsT&& value) { m_severityCountsHasBeenSet =
true; m_severityCounts = std::forward<SeverityCountsT>(value); }
131 template<
typename SeverityCountsT = SeverityCounts>
137 bool m_accountIdHasBeenSet =
false;
140 bool m_functionNameHasBeenSet =
false;
143 bool m_lambdaTagsHasBeenSet =
false;
146 bool m_lastModifiedAtHasBeenSet =
false;
149 bool m_resourceIdHasBeenSet =
false;
152 bool m_runtimeHasBeenSet =
false;
154 SeverityCounts m_severityCounts;
155 bool m_severityCountsHasBeenSet =
false;
bool LambdaTagsHasBeenSet() const
LambdaFunctionAggregationResponse & AddLambdaTags(LambdaTagsKeyT &&key, LambdaTagsValueT &&value)
const Aws::String & GetRuntime() const
LambdaFunctionAggregationResponse & WithLastModifiedAt(LastModifiedAtT &&value)
LambdaFunctionAggregationResponse & WithFunctionName(FunctionNameT &&value)
void SetSeverityCounts(SeverityCountsT &&value)
LambdaFunctionAggregationResponse & WithSeverityCounts(SeverityCountsT &&value)
LambdaFunctionAggregationResponse & WithRuntime(RuntimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedAt() const
bool RuntimeHasBeenSet() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFunctionName(FunctionNameT &&value)
bool LastModifiedAtHasBeenSet() const
void SetLambdaTags(LambdaTagsT &&value)
LambdaFunctionAggregationResponse & WithResourceId(ResourceIdT &&value)
const Aws::String & GetFunctionName() const
const Aws::String & GetResourceId() const
const SeverityCounts & GetSeverityCounts() const
const Aws::String & GetAccountId() const
AWS_INSPECTOR2_API LambdaFunctionAggregationResponse(Aws::Utils::Json::JsonView jsonValue)
void SetRuntime(RuntimeT &&value)
bool SeverityCountsHasBeenSet() const
bool AccountIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetLambdaTags() const
AWS_INSPECTOR2_API LambdaFunctionAggregationResponse()=default
bool FunctionNameHasBeenSet() const
void SetLastModifiedAt(LastModifiedAtT &&value)
void SetAccountId(AccountIdT &&value)
void SetResourceId(ResourceIdT &&value)
bool ResourceIdHasBeenSet() const
AWS_INSPECTOR2_API LambdaFunctionAggregationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
LambdaFunctionAggregationResponse & WithAccountId(AccountIdT &&value)
LambdaFunctionAggregationResponse & WithLambdaTags(LambdaTagsT &&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
Aws::Utils::Json::JsonValue JsonValue