AWS SDK for C++

AWS SDK for C++ Version 1.11.811

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#include <aws/crt/cbor/Cbor.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace ComputeOptimizer {
20namespace Model {
21
29 public:
30 AWS_COMPUTEOPTIMIZER_API LambdaEffectiveRecommendationPreferences() = default;
31 AWS_COMPUTEOPTIMIZER_API LambdaEffectiveRecommendationPreferences(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_COMPUTEOPTIMIZER_API LambdaEffectiveRecommendationPreferences& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_COMPUTEOPTIMIZER_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) 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 void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_COMPUTEOPTIMIZER_API LambdaEffectiveRecommendationPreferences(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_COMPUTEOPTIMIZER_API LambdaEffectiveRecommendationPreferences & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
LambdaEffectiveRecommendationPreferences & WithSavingsEstimationMode(SavingsEstimationModeT &&value)