AWS SDK for C++  1.9.109
AWS SDK for C++
Remediation.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SecurityHub
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline const Recommendation& GetRecommendation() const{ return m_recommendation; }
46 
51  inline bool RecommendationHasBeenSet() const { return m_recommendationHasBeenSet; }
52 
57  inline void SetRecommendation(const Recommendation& value) { m_recommendationHasBeenSet = true; m_recommendation = value; }
58 
63  inline void SetRecommendation(Recommendation&& value) { m_recommendationHasBeenSet = true; m_recommendation = std::move(value); }
64 
69  inline Remediation& WithRecommendation(const Recommendation& value) { SetRecommendation(value); return *this;}
70 
75  inline Remediation& WithRecommendation(Recommendation&& value) { SetRecommendation(std::move(value)); return *this;}
76 
77  private:
78 
79  Recommendation m_recommendation;
80  bool m_recommendationHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace SecurityHub
85 } // namespace Aws
Aws::SecurityHub::Model::Remediation::SetRecommendation
void SetRecommendation(Recommendation &&value)
Definition: Remediation.h:63
Aws::SecurityHub::Model::Recommendation
Definition: Recommendation.h:33
Aws::SecurityHub::Model::Remediation
Definition: Remediation.h:33
Aws::SecurityHub::Model::Remediation::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::Remediation::RecommendationHasBeenSet
bool RecommendationHasBeenSet() const
Definition: Remediation.h:51
Aws::SecurityHub::Model::Remediation::Remediation
Remediation()
Aws::SecurityHub::Model::Remediation::GetRecommendation
const Recommendation & GetRecommendation() const
Definition: Remediation.h:45
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::Remediation::WithRecommendation
Remediation & WithRecommendation(const Recommendation &value)
Definition: Remediation.h:69
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::Remediation::WithRecommendation
Remediation & WithRecommendation(Recommendation &&value)
Definition: Remediation.h:75
Recommendation.h
Aws::SecurityHub::Model::Remediation::SetRecommendation
void SetRecommendation(const Recommendation &value)
Definition: Remediation.h:57
Aws::SecurityHub::Model::Remediation::operator=
Remediation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::Remediation::Remediation
Remediation(Aws::Utils::Json::JsonView jsonValue)