AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
RemediationSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace WellArchitected {
21namespace Model {
22
30 public:
31 AWS_WELLARCHITECTED_API RemediationSummary() = default;
32 AWS_WELLARCHITECTED_API RemediationSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_WELLARCHITECTED_API RemediationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetRecommendation() const { return m_recommendation; }
41 inline bool RecommendationHasBeenSet() const { return m_recommendationHasBeenSet; }
42 template <typename RecommendationT = Aws::String>
43 void SetRecommendation(RecommendationT&& value) {
44 m_recommendationHasBeenSet = true;
45 m_recommendation = std::forward<RecommendationT>(value);
46 }
47 template <typename RecommendationT = Aws::String>
48 RemediationSummary& WithRecommendation(RecommendationT&& value) {
49 SetRecommendation(std::forward<RecommendationT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<Aws::String>& GetSteps() const { return m_steps; }
59 inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
60 template <typename StepsT = Aws::Vector<Aws::String>>
61 void SetSteps(StepsT&& value) {
62 m_stepsHasBeenSet = true;
63 m_steps = std::forward<StepsT>(value);
64 }
65 template <typename StepsT = Aws::Vector<Aws::String>>
66 RemediationSummary& WithSteps(StepsT&& value) {
67 SetSteps(std::forward<StepsT>(value));
68 return *this;
69 }
70 template <typename StepsT = Aws::String>
71 RemediationSummary& AddSteps(StepsT&& value) {
72 m_stepsHasBeenSet = true;
73 m_steps.emplace_back(std::forward<StepsT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_recommendation;
79
81 bool m_recommendationHasBeenSet = false;
82 bool m_stepsHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace WellArchitected
87} // namespace Aws
AWS_WELLARCHITECTED_API RemediationSummary(Aws::Utils::Json::JsonView jsonValue)
RemediationSummary & WithRecommendation(RecommendationT &&value)
RemediationSummary & AddSteps(StepsT &&value)
const Aws::Vector< Aws::String > & GetSteps() const
RemediationSummary & WithSteps(StepsT &&value)
AWS_WELLARCHITECTED_API RemediationSummary()=default
AWS_WELLARCHITECTED_API RemediationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue