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/SeverityCounts.h>
44 template <
typename ResourceIdT = Aws::String>
46 m_resourceIdHasBeenSet =
true;
47 m_resourceId = std::forward<ResourceIdT>(value);
49 template <
typename ResourceIdT = Aws::String>
63 template <
typename FunctionNameT = Aws::String>
65 m_functionNameHasBeenSet =
true;
66 m_functionName = std::forward<FunctionNameT>(value);
68 template <
typename FunctionNameT = Aws::String>
81 template <
typename RuntimeT = Aws::String>
83 m_runtimeHasBeenSet =
true;
84 m_runtime = std::forward<RuntimeT>(value);
86 template <
typename RuntimeT = Aws::String>
99 template <
typename LambdaTagsT = Aws::Map<Aws::String, Aws::String>>
101 m_lambdaTagsHasBeenSet =
true;
102 m_lambdaTags = std::forward<LambdaTagsT>(value);
104 template <
typename LambdaTagsT = Aws::Map<Aws::String, Aws::String>>
109 template <
typename LambdaTagsKeyT = Aws::String,
typename LambdaTagsValueT = Aws::String>
111 m_lambdaTagsHasBeenSet =
true;
112 m_lambdaTags.emplace(std::forward<LambdaTagsKeyT>(key), std::forward<LambdaTagsValueT>(value));
124 template <
typename AccountIdT = Aws::String>
126 m_accountIdHasBeenSet =
true;
127 m_accountId = std::forward<AccountIdT>(value);
129 template <
typename AccountIdT = Aws::String>
142 template <
typename SeverityCountsT = SeverityCounts>
144 m_severityCountsHasBeenSet =
true;
145 m_severityCounts = std::forward<SeverityCountsT>(value);
147 template <
typename SeverityCountsT = SeverityCounts>
161 template <
typename LastModifiedAtT = Aws::Utils::DateTime>
163 m_lastModifiedAtHasBeenSet =
true;
164 m_lastModifiedAt = std::forward<LastModifiedAtT>(value);
166 template <
typename LastModifiedAtT = Aws::Utils::DateTime>
186 bool m_resourceIdHasBeenSet =
false;
187 bool m_functionNameHasBeenSet =
false;
188 bool m_runtimeHasBeenSet =
false;
189 bool m_lambdaTagsHasBeenSet =
false;
190 bool m_accountIdHasBeenSet =
false;
191 bool m_severityCountsHasBeenSet =
false;
192 bool m_lastModifiedAtHasBeenSet =
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