/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A response that contains the results of an AWS Lambda function finding
* aggregation.See Also:
AWS
* API Reference
The ID of the AWS account that owns the AWS Lambda function.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The ID of the AWS account that owns the AWS Lambda function.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The ID of the AWS account that owns the AWS Lambda function.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The ID of the AWS account that owns the AWS Lambda function.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The ID of the AWS account that owns the AWS Lambda function.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The ID of the AWS account that owns the AWS Lambda function.
*/ inline LambdaFunctionAggregationResponse& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The ID of the AWS account that owns the AWS Lambda function.
*/ inline LambdaFunctionAggregationResponse& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The ID of the AWS account that owns the AWS Lambda function.
*/ inline LambdaFunctionAggregationResponse& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *The AWS Lambda function names included in the aggregation results.
*/ inline const Aws::String& GetFunctionName() const{ return m_functionName; } /** *The AWS Lambda function names included in the aggregation results.
*/ inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; } /** *The AWS Lambda function names included in the aggregation results.
*/ inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; } /** *The AWS Lambda function names included in the aggregation results.
*/ inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); } /** *The AWS Lambda function names included in the aggregation results.
*/ inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); } /** *The AWS Lambda function names included in the aggregation results.
*/ inline LambdaFunctionAggregationResponse& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;} /** *The AWS Lambda function names included in the aggregation results.
*/ inline LambdaFunctionAggregationResponse& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;} /** *The AWS Lambda function names included in the aggregation results.
*/ inline LambdaFunctionAggregationResponse& WithFunctionName(const char* value) { SetFunctionName(value); return *this;} /** *The tags included in the aggregation results.
*/ inline const Aws::MapThe tags included in the aggregation results.
*/ inline bool LambdaTagsHasBeenSet() const { return m_lambdaTagsHasBeenSet; } /** *The tags included in the aggregation results.
*/ inline void SetLambdaTags(const Aws::MapThe tags included in the aggregation results.
*/ inline void SetLambdaTags(Aws::MapThe tags included in the aggregation results.
*/ inline LambdaFunctionAggregationResponse& WithLambdaTags(const Aws::MapThe tags included in the aggregation results.
*/ inline LambdaFunctionAggregationResponse& WithLambdaTags(Aws::MapThe tags included in the aggregation results.
*/ inline LambdaFunctionAggregationResponse& AddLambdaTags(const Aws::String& key, const Aws::String& value) { m_lambdaTagsHasBeenSet = true; m_lambdaTags.emplace(key, value); return *this; } /** *The tags included in the aggregation results.
*/ inline LambdaFunctionAggregationResponse& AddLambdaTags(Aws::String&& key, const Aws::String& value) { m_lambdaTagsHasBeenSet = true; m_lambdaTags.emplace(std::move(key), value); return *this; } /** *The tags included in the aggregation results.
*/ inline LambdaFunctionAggregationResponse& AddLambdaTags(const Aws::String& key, Aws::String&& value) { m_lambdaTagsHasBeenSet = true; m_lambdaTags.emplace(key, std::move(value)); return *this; } /** *The tags included in the aggregation results.
*/ inline LambdaFunctionAggregationResponse& AddLambdaTags(Aws::String&& key, Aws::String&& value) { m_lambdaTagsHasBeenSet = true; m_lambdaTags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags included in the aggregation results.
*/ inline LambdaFunctionAggregationResponse& AddLambdaTags(const char* key, Aws::String&& value) { m_lambdaTagsHasBeenSet = true; m_lambdaTags.emplace(key, std::move(value)); return *this; } /** *The tags included in the aggregation results.
*/ inline LambdaFunctionAggregationResponse& AddLambdaTags(Aws::String&& key, const char* value) { m_lambdaTagsHasBeenSet = true; m_lambdaTags.emplace(std::move(key), value); return *this; } /** *The tags included in the aggregation results.
*/ inline LambdaFunctionAggregationResponse& AddLambdaTags(const char* key, const char* value) { m_lambdaTagsHasBeenSet = true; m_lambdaTags.emplace(key, value); return *this; } /** *The date that the AWS Lambda function included in the aggregation results was * last changed.
*/ inline const Aws::Utils::DateTime& GetLastModifiedAt() const{ return m_lastModifiedAt; } /** *The date that the AWS Lambda function included in the aggregation results was * last changed.
*/ inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; } /** *The date that the AWS Lambda function included in the aggregation results was * last changed.
*/ inline void SetLastModifiedAt(const Aws::Utils::DateTime& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = value; } /** *The date that the AWS Lambda function included in the aggregation results was * last changed.
*/ inline void SetLastModifiedAt(Aws::Utils::DateTime&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::move(value); } /** *The date that the AWS Lambda function included in the aggregation results was * last changed.
*/ inline LambdaFunctionAggregationResponse& WithLastModifiedAt(const Aws::Utils::DateTime& value) { SetLastModifiedAt(value); return *this;} /** *The date that the AWS Lambda function included in the aggregation results was * last changed.
*/ inline LambdaFunctionAggregationResponse& WithLastModifiedAt(Aws::Utils::DateTime&& value) { SetLastModifiedAt(std::move(value)); return *this;} /** *The resource IDs included in the aggregation results.
*/ inline const Aws::String& GetResourceId() const{ return m_resourceId; } /** *The resource IDs included in the aggregation results.
*/ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } /** *The resource IDs included in the aggregation results.
*/ inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } /** *The resource IDs included in the aggregation results.
*/ inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } /** *The resource IDs included in the aggregation results.
*/ inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } /** *The resource IDs included in the aggregation results.
*/ inline LambdaFunctionAggregationResponse& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} /** *The resource IDs included in the aggregation results.
*/ inline LambdaFunctionAggregationResponse& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} /** *The resource IDs included in the aggregation results.
*/ inline LambdaFunctionAggregationResponse& WithResourceId(const char* value) { SetResourceId(value); return *this;} /** *The runtimes included in the aggregation results.
*/ inline const Aws::String& GetRuntime() const{ return m_runtime; } /** *The runtimes included in the aggregation results.
*/ inline bool RuntimeHasBeenSet() const { return m_runtimeHasBeenSet; } /** *The runtimes included in the aggregation results.
*/ inline void SetRuntime(const Aws::String& value) { m_runtimeHasBeenSet = true; m_runtime = value; } /** *The runtimes included in the aggregation results.
*/ inline void SetRuntime(Aws::String&& value) { m_runtimeHasBeenSet = true; m_runtime = std::move(value); } /** *The runtimes included in the aggregation results.
*/ inline void SetRuntime(const char* value) { m_runtimeHasBeenSet = true; m_runtime.assign(value); } /** *The runtimes included in the aggregation results.
*/ inline LambdaFunctionAggregationResponse& WithRuntime(const Aws::String& value) { SetRuntime(value); return *this;} /** *The runtimes included in the aggregation results.
*/ inline LambdaFunctionAggregationResponse& WithRuntime(Aws::String&& value) { SetRuntime(std::move(value)); return *this;} /** *The runtimes included in the aggregation results.
*/ inline LambdaFunctionAggregationResponse& WithRuntime(const char* value) { SetRuntime(value); return *this;} inline const SeverityCounts& GetSeverityCounts() const{ return m_severityCounts; } inline bool SeverityCountsHasBeenSet() const { return m_severityCountsHasBeenSet; } inline void SetSeverityCounts(const SeverityCounts& value) { m_severityCountsHasBeenSet = true; m_severityCounts = value; } inline void SetSeverityCounts(SeverityCounts&& value) { m_severityCountsHasBeenSet = true; m_severityCounts = std::move(value); } inline LambdaFunctionAggregationResponse& WithSeverityCounts(const SeverityCounts& value) { SetSeverityCounts(value); return *this;} inline LambdaFunctionAggregationResponse& WithSeverityCounts(SeverityCounts&& value) { SetSeverityCounts(std::move(value)); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_functionName; bool m_functionNameHasBeenSet = false; Aws::Map