AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecommendationSummary.h
1
6#pragma once
7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CostOptimizationHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_COSTOPTIMIZATIONHUB_API RecommendationSummary();
36 AWS_COSTOPTIMIZATIONHUB_API RecommendationSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_COSTOPTIMIZATIONHUB_API RecommendationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetGroup() const{ return m_group; }
46 inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; }
47 inline void SetGroup(const Aws::String& value) { m_groupHasBeenSet = true; m_group = value; }
48 inline void SetGroup(Aws::String&& value) { m_groupHasBeenSet = true; m_group = std::move(value); }
49 inline void SetGroup(const char* value) { m_groupHasBeenSet = true; m_group.assign(value); }
50 inline RecommendationSummary& WithGroup(const Aws::String& value) { SetGroup(value); return *this;}
51 inline RecommendationSummary& WithGroup(Aws::String&& value) { SetGroup(std::move(value)); return *this;}
52 inline RecommendationSummary& WithGroup(const char* value) { SetGroup(value); return *this;}
54
56
60 inline double GetEstimatedMonthlySavings() const{ return m_estimatedMonthlySavings; }
61 inline bool EstimatedMonthlySavingsHasBeenSet() const { return m_estimatedMonthlySavingsHasBeenSet; }
62 inline void SetEstimatedMonthlySavings(double value) { m_estimatedMonthlySavingsHasBeenSet = true; m_estimatedMonthlySavings = value; }
65
67
70 inline int GetRecommendationCount() const{ return m_recommendationCount; }
71 inline bool RecommendationCountHasBeenSet() const { return m_recommendationCountHasBeenSet; }
72 inline void SetRecommendationCount(int value) { m_recommendationCountHasBeenSet = true; m_recommendationCount = value; }
73 inline RecommendationSummary& WithRecommendationCount(int value) { SetRecommendationCount(value); return *this;}
75 private:
76
77 Aws::String m_group;
78 bool m_groupHasBeenSet = false;
79
80 double m_estimatedMonthlySavings;
81 bool m_estimatedMonthlySavingsHasBeenSet = false;
82
83 int m_recommendationCount;
84 bool m_recommendationCountHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace CostOptimizationHub
89} // namespace Aws
RecommendationSummary & WithEstimatedMonthlySavings(double value)
AWS_COSTOPTIMIZATIONHUB_API RecommendationSummary(Aws::Utils::Json::JsonView jsonValue)
RecommendationSummary & WithGroup(const Aws::String &value)
RecommendationSummary & WithGroup(const char *value)
AWS_COSTOPTIMIZATIONHUB_API RecommendationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommendationSummary & WithGroup(Aws::String &&value)
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue