AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AssessmentRiskRecommendation.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ResilienceHub
23{
24namespace Model
25{
26
41 {
42 public:
43 AWS_RESILIENCEHUB_API AssessmentRiskRecommendation() = default;
46 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
56 inline const Aws::Vector<Aws::String>& GetAppComponents() const { return m_appComponents; }
57 inline bool AppComponentsHasBeenSet() const { return m_appComponentsHasBeenSet; }
58 template<typename AppComponentsT = Aws::Vector<Aws::String>>
59 void SetAppComponents(AppComponentsT&& value) { m_appComponentsHasBeenSet = true; m_appComponents = std::forward<AppComponentsT>(value); }
60 template<typename AppComponentsT = Aws::Vector<Aws::String>>
61 AssessmentRiskRecommendation& WithAppComponents(AppComponentsT&& value) { SetAppComponents(std::forward<AppComponentsT>(value)); return *this;}
62 template<typename AppComponentsT = Aws::String>
63 AssessmentRiskRecommendation& AddAppComponents(AppComponentsT&& value) { m_appComponentsHasBeenSet = true; m_appComponents.emplace_back(std::forward<AppComponentsT>(value)); return *this; }
65
67
72 inline const Aws::String& GetRecommendation() const { return m_recommendation; }
73 inline bool RecommendationHasBeenSet() const { return m_recommendationHasBeenSet; }
74 template<typename RecommendationT = Aws::String>
75 void SetRecommendation(RecommendationT&& value) { m_recommendationHasBeenSet = true; m_recommendation = std::forward<RecommendationT>(value); }
76 template<typename RecommendationT = Aws::String>
77 AssessmentRiskRecommendation& WithRecommendation(RecommendationT&& value) { SetRecommendation(std::forward<RecommendationT>(value)); return *this;}
79
81
86 inline const Aws::String& GetRisk() const { return m_risk; }
87 inline bool RiskHasBeenSet() const { return m_riskHasBeenSet; }
88 template<typename RiskT = Aws::String>
89 void SetRisk(RiskT&& value) { m_riskHasBeenSet = true; m_risk = std::forward<RiskT>(value); }
90 template<typename RiskT = Aws::String>
91 AssessmentRiskRecommendation& WithRisk(RiskT&& value) { SetRisk(std::forward<RiskT>(value)); return *this;}
93 private:
94
95 Aws::Vector<Aws::String> m_appComponents;
96 bool m_appComponentsHasBeenSet = false;
97
98 Aws::String m_recommendation;
99 bool m_recommendationHasBeenSet = false;
100
101 Aws::String m_risk;
102 bool m_riskHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace ResilienceHub
107} // namespace Aws
AssessmentRiskRecommendation & AddAppComponents(AppComponentsT &&value)
AWS_RESILIENCEHUB_API AssessmentRiskRecommendation(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUB_API AssessmentRiskRecommendation()=default
AWS_RESILIENCEHUB_API AssessmentRiskRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
AssessmentRiskRecommendation & WithAppComponents(AppComponentsT &&value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AssessmentRiskRecommendation & WithRecommendation(RecommendationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue