AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LambdaFunction.h
1
6#pragma once
7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/cost-optimization-hub/model/LambdaFunctionConfiguration.h>
9#include <aws/cost-optimization-hub/model/ResourceCostCalculation.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CostOptimizationHub
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_COSTOPTIMIZATIONHUB_API LambdaFunction();
36 AWS_COSTOPTIMIZATIONHUB_API LambdaFunction(Aws::Utils::Json::JsonView jsonValue);
37 AWS_COSTOPTIMIZATIONHUB_API LambdaFunction& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const LambdaFunctionConfiguration& GetConfiguration() const{ return m_configuration; }
46 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
47 inline void SetConfiguration(const LambdaFunctionConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
48 inline void SetConfiguration(LambdaFunctionConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
50 inline LambdaFunction& WithConfiguration(LambdaFunctionConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
52
54
57 inline const ResourceCostCalculation& GetCostCalculation() const{ return m_costCalculation; }
58 inline bool CostCalculationHasBeenSet() const { return m_costCalculationHasBeenSet; }
59 inline void SetCostCalculation(const ResourceCostCalculation& value) { m_costCalculationHasBeenSet = true; m_costCalculation = value; }
60 inline void SetCostCalculation(ResourceCostCalculation&& value) { m_costCalculationHasBeenSet = true; m_costCalculation = std::move(value); }
62 inline LambdaFunction& WithCostCalculation(ResourceCostCalculation&& value) { SetCostCalculation(std::move(value)); return *this;}
64 private:
65
66 LambdaFunctionConfiguration m_configuration;
67 bool m_configurationHasBeenSet = false;
68
69 ResourceCostCalculation m_costCalculation;
70 bool m_costCalculationHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace CostOptimizationHub
75} // namespace Aws
LambdaFunction & WithCostCalculation(const ResourceCostCalculation &value)
LambdaFunction & WithCostCalculation(ResourceCostCalculation &&value)
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
LambdaFunction & WithConfiguration(const LambdaFunctionConfiguration &value)
AWS_COSTOPTIMIZATIONHUB_API LambdaFunction(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTOPTIMIZATIONHUB_API LambdaFunction()
AWS_COSTOPTIMIZATIONHUB_API LambdaFunction & operator=(Aws::Utils::Json::JsonView jsonValue)
const ResourceCostCalculation & GetCostCalculation() const
const LambdaFunctionConfiguration & GetConfiguration() const
void SetConfiguration(const LambdaFunctionConfiguration &value)
void SetConfiguration(LambdaFunctionConfiguration &&value)
void SetCostCalculation(const ResourceCostCalculation &value)
void SetCostCalculation(ResourceCostCalculation &&value)
LambdaFunction & WithConfiguration(LambdaFunctionConfiguration &&value)
Aws::Utils::Json::JsonValue JsonValue