AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
LambdaSavingsEstimationMode.h
1
6#pragma once
7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/LambdaSavingsEstimationModeSource.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 LambdaSavingsEstimationMode() = default;
31 AWS_COMPUTEOPTIMIZER_API LambdaSavingsEstimationMode(Aws::Utils::Json::JsonView jsonValue);
33 AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline LambdaSavingsEstimationModeSource GetSource() const { return m_source; }
41 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
43 m_sourceHasBeenSet = true;
44 m_source = value;
45 }
47 SetSource(value);
48 return *this;
49 }
51 private:
53 bool m_sourceHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace ComputeOptimizer
58} // namespace Aws
AWS_COMPUTEOPTIMIZER_API LambdaSavingsEstimationMode & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPUTEOPTIMIZER_API LambdaSavingsEstimationMode()=default
AWS_COMPUTEOPTIMIZER_API LambdaSavingsEstimationMode(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
LambdaSavingsEstimationMode & WithSource(LambdaSavingsEstimationModeSource value)
Aws::Utils::Json::JsonValue JsonValue