AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
LambdaFunctionConfiguration.h
1
6#pragma once
7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/cost-optimization-hub/model/ComputeConfiguration.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CostOptimizationHub {
20namespace Model {
21
29 public:
30 AWS_COSTOPTIMIZATIONHUB_API LambdaFunctionConfiguration() = default;
31 AWS_COSTOPTIMIZATIONHUB_API LambdaFunctionConfiguration(Aws::Utils::Json::JsonView jsonValue);
32 AWS_COSTOPTIMIZATIONHUB_API LambdaFunctionConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const ComputeConfiguration& GetCompute() const { return m_compute; }
40 inline bool ComputeHasBeenSet() const { return m_computeHasBeenSet; }
41 template <typename ComputeT = ComputeConfiguration>
42 void SetCompute(ComputeT&& value) {
43 m_computeHasBeenSet = true;
44 m_compute = std::forward<ComputeT>(value);
45 }
46 template <typename ComputeT = ComputeConfiguration>
48 SetCompute(std::forward<ComputeT>(value));
49 return *this;
50 }
52 private:
53 ComputeConfiguration m_compute;
54 bool m_computeHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace CostOptimizationHub
59} // namespace Aws
LambdaFunctionConfiguration & WithCompute(ComputeT &&value)
AWS_COSTOPTIMIZATIONHUB_API LambdaFunctionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTOPTIMIZATIONHUB_API LambdaFunctionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COSTOPTIMIZATIONHUB_API LambdaFunctionConfiguration()=default
Aws::Utils::Json::JsonValue JsonValue