AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
LambdaEffectiveRecommendationPreferences.h
1
6#pragma once
7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/LambdaSavingsEstimationMode.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ComputeOptimizer {
20namespace Model {
21
29 public:
30 AWS_COMPUTEOPTIMIZER_API LambdaEffectiveRecommendationPreferences() = default;
33 AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const LambdaSavingsEstimationMode& GetSavingsEstimationMode() const { return m_savingsEstimationMode; }
41 inline bool SavingsEstimationModeHasBeenSet() const { return m_savingsEstimationModeHasBeenSet; }
42 template <typename SavingsEstimationModeT = LambdaSavingsEstimationMode>
43 void SetSavingsEstimationMode(SavingsEstimationModeT&& value) {
44 m_savingsEstimationModeHasBeenSet = true;
45 m_savingsEstimationMode = std::forward<SavingsEstimationModeT>(value);
46 }
47 template <typename SavingsEstimationModeT = LambdaSavingsEstimationMode>
49 SetSavingsEstimationMode(std::forward<SavingsEstimationModeT>(value));
50 return *this;
51 }
53 private:
54 LambdaSavingsEstimationMode m_savingsEstimationMode;
55 bool m_savingsEstimationModeHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace ComputeOptimizer
60} // namespace Aws
AWS_COMPUTEOPTIMIZER_API LambdaEffectiveRecommendationPreferences()=default
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPUTEOPTIMIZER_API LambdaEffectiveRecommendationPreferences & operator=(Aws::Utils::Json::JsonView jsonValue)
LambdaEffectiveRecommendationPreferences & WithSavingsEstimationMode(SavingsEstimationModeT &&value)
AWS_COMPUTEOPTIMIZER_API LambdaEffectiveRecommendationPreferences(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue