AWS SDK for C++

AWS SDK for C++ Version 1.11.772

Loading...
Searching...
No Matches
RecommendedActionSummary.h
1
6#pragma once
7#include <aws/compute-optimizer-automation/ComputeOptimizerAutomation_EXPORTS.h>
8#include <aws/compute-optimizer-automation/model/RecommendedActionTotal.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ComputeOptimizerAutomation {
21namespace Model {
22
30 public:
31 AWS_COMPUTEOPTIMIZERAUTOMATION_API RecommendedActionSummary() = default;
32 AWS_COMPUTEOPTIMIZERAUTOMATION_API RecommendedActionSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_COMPUTEOPTIMIZERAUTOMATION_API RecommendedActionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_COMPUTEOPTIMIZERAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetKey() const { return m_key; }
42 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
43 template <typename KeyT = Aws::String>
44 void SetKey(KeyT&& value) {
45 m_keyHasBeenSet = true;
46 m_key = std::forward<KeyT>(value);
47 }
48 template <typename KeyT = Aws::String>
50 SetKey(std::forward<KeyT>(value));
51 return *this;
52 }
54
56
60 inline const RecommendedActionTotal& GetTotal() const { return m_total; }
61 inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; }
62 template <typename TotalT = RecommendedActionTotal>
63 void SetTotal(TotalT&& value) {
64 m_totalHasBeenSet = true;
65 m_total = std::forward<TotalT>(value);
66 }
67 template <typename TotalT = RecommendedActionTotal>
69 SetTotal(std::forward<TotalT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_key;
75
77 bool m_keyHasBeenSet = false;
78 bool m_totalHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace ComputeOptimizerAutomation
83} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue