AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
RightsizingRecommendationConfiguration.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/RecommendationTarget.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CostExplorer {
20namespace Model {
21
33 public:
34 AWS_COSTEXPLORER_API RightsizingRecommendationConfiguration() = default;
37 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
45 inline RecommendationTarget GetRecommendationTarget() const { return m_recommendationTarget; }
46 inline bool RecommendationTargetHasBeenSet() const { return m_recommendationTargetHasBeenSet; }
48 m_recommendationTargetHasBeenSet = true;
49 m_recommendationTarget = value;
50 }
53 return *this;
54 }
56
58
62 inline bool GetBenefitsConsidered() const { return m_benefitsConsidered; }
63 inline bool BenefitsConsideredHasBeenSet() const { return m_benefitsConsideredHasBeenSet; }
64 inline void SetBenefitsConsidered(bool value) {
65 m_benefitsConsideredHasBeenSet = true;
66 m_benefitsConsidered = value;
67 }
70 return *this;
71 }
73 private:
75
76 bool m_benefitsConsidered{false};
77 bool m_recommendationTargetHasBeenSet = false;
78 bool m_benefitsConsideredHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace CostExplorer
83} // namespace Aws
RightsizingRecommendationConfiguration & WithRecommendationTarget(RecommendationTarget value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COSTEXPLORER_API RightsizingRecommendationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API RightsizingRecommendationConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue