AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAppComponents(const Aws::Vector<Aws::String>& value) { m_appComponentsHasBeenSet = true; m_appComponents = value; }
59 inline void SetAppComponents(Aws::Vector<Aws::String>&& value) { m_appComponentsHasBeenSet = true; m_appComponents = std::move(value); }
62 inline AssessmentRiskRecommendation& AddAppComponents(const Aws::String& value) { m_appComponentsHasBeenSet = true; m_appComponents.push_back(value); return *this; }
63 inline AssessmentRiskRecommendation& AddAppComponents(Aws::String&& value) { m_appComponentsHasBeenSet = true; m_appComponents.push_back(std::move(value)); return *this; }
64 inline AssessmentRiskRecommendation& AddAppComponents(const char* value) { m_appComponentsHasBeenSet = true; m_appComponents.push_back(value); return *this; }
66
68
73 inline const Aws::String& GetRecommendation() const{ return m_recommendation; }
74 inline bool RecommendationHasBeenSet() const { return m_recommendationHasBeenSet; }
75 inline void SetRecommendation(const Aws::String& value) { m_recommendationHasBeenSet = true; m_recommendation = value; }
76 inline void SetRecommendation(Aws::String&& value) { m_recommendationHasBeenSet = true; m_recommendation = std::move(value); }
77 inline void SetRecommendation(const char* value) { m_recommendationHasBeenSet = true; m_recommendation.assign(value); }
79 inline AssessmentRiskRecommendation& WithRecommendation(Aws::String&& value) { SetRecommendation(std::move(value)); return *this;}
80 inline AssessmentRiskRecommendation& WithRecommendation(const char* value) { SetRecommendation(value); return *this;}
82
84
89 inline const Aws::String& GetRisk() const{ return m_risk; }
90 inline bool RiskHasBeenSet() const { return m_riskHasBeenSet; }
91 inline void SetRisk(const Aws::String& value) { m_riskHasBeenSet = true; m_risk = value; }
92 inline void SetRisk(Aws::String&& value) { m_riskHasBeenSet = true; m_risk = std::move(value); }
93 inline void SetRisk(const char* value) { m_riskHasBeenSet = true; m_risk.assign(value); }
94 inline AssessmentRiskRecommendation& WithRisk(const Aws::String& value) { SetRisk(value); return *this;}
95 inline AssessmentRiskRecommendation& WithRisk(Aws::String&& value) { SetRisk(std::move(value)); return *this;}
96 inline AssessmentRiskRecommendation& WithRisk(const char* value) { SetRisk(value); return *this;}
98 private:
99
100 Aws::Vector<Aws::String> m_appComponents;
101 bool m_appComponentsHasBeenSet = false;
102
103 Aws::String m_recommendation;
104 bool m_recommendationHasBeenSet = false;
105
106 Aws::String m_risk;
107 bool m_riskHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace ResilienceHub
112} // namespace Aws
AssessmentRiskRecommendation & AddAppComponents(const Aws::String &value)
AssessmentRiskRecommendation & AddAppComponents(Aws::String &&value)
AssessmentRiskRecommendation & WithRecommendation(Aws::String &&value)
AssessmentRiskRecommendation & WithAppComponents(const Aws::Vector< Aws::String > &value)
AssessmentRiskRecommendation & AddAppComponents(const char *value)
void SetAppComponents(const Aws::Vector< Aws::String > &value)
AWS_RESILIENCEHUB_API AssessmentRiskRecommendation(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUB_API AssessmentRiskRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
AssessmentRiskRecommendation & WithRecommendation(const Aws::String &value)
AssessmentRiskRecommendation & WithRisk(const Aws::String &value)
AssessmentRiskRecommendation & WithAppComponents(Aws::Vector< Aws::String > &&value)
AssessmentRiskRecommendation & WithRisk(const char *value)
AssessmentRiskRecommendation & WithRecommendation(const char *value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AssessmentRiskRecommendation & WithRisk(Aws::String &&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