AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
Remediation.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/model/RemediationRecommendation.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace imagebuilder {
20namespace Model {
21
28 public:
29 AWS_IMAGEBUILDER_API Remediation() = default;
30 AWS_IMAGEBUILDER_API Remediation(Aws::Utils::Json::JsonView jsonValue);
31 AWS_IMAGEBUILDER_API Remediation& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline const RemediationRecommendation& GetRecommendation() const { return m_recommendation; }
40 inline bool RecommendationHasBeenSet() const { return m_recommendationHasBeenSet; }
41 template <typename RecommendationT = RemediationRecommendation>
42 void SetRecommendation(RecommendationT&& value) {
43 m_recommendationHasBeenSet = true;
44 m_recommendation = std::forward<RecommendationT>(value);
45 }
46 template <typename RecommendationT = RemediationRecommendation>
47 Remediation& WithRecommendation(RecommendationT&& value) {
48 SetRecommendation(std::forward<RecommendationT>(value));
49 return *this;
50 }
52 private:
53 RemediationRecommendation m_recommendation;
54 bool m_recommendationHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace imagebuilder
59} // namespace Aws
AWS_IMAGEBUILDER_API Remediation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRecommendation(RecommendationT &&value)
Definition Remediation.h:42
const RemediationRecommendation & GetRecommendation() const
Definition Remediation.h:39
Remediation & WithRecommendation(RecommendationT &&value)
Definition Remediation.h:47
AWS_IMAGEBUILDER_API Remediation()=default
AWS_IMAGEBUILDER_API Remediation(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue