AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssessmentSummary.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 <aws/resiliencehub/model/AssessmentRiskRecommendation.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ResilienceHub
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_RESILIENCEHUB_API AssessmentSummary();
40 AWS_RESILIENCEHUB_API AssessmentSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_RESILIENCEHUB_API AssessmentSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
52 inline const Aws::Vector<AssessmentRiskRecommendation>& GetRiskRecommendations() const{ return m_riskRecommendations; }
53 inline bool RiskRecommendationsHasBeenSet() const { return m_riskRecommendationsHasBeenSet; }
54 inline void SetRiskRecommendations(const Aws::Vector<AssessmentRiskRecommendation>& value) { m_riskRecommendationsHasBeenSet = true; m_riskRecommendations = value; }
55 inline void SetRiskRecommendations(Aws::Vector<AssessmentRiskRecommendation>&& value) { m_riskRecommendationsHasBeenSet = true; m_riskRecommendations = std::move(value); }
58 inline AssessmentSummary& AddRiskRecommendations(const AssessmentRiskRecommendation& value) { m_riskRecommendationsHasBeenSet = true; m_riskRecommendations.push_back(value); return *this; }
59 inline AssessmentSummary& AddRiskRecommendations(AssessmentRiskRecommendation&& value) { m_riskRecommendationsHasBeenSet = true; m_riskRecommendations.push_back(std::move(value)); return *this; }
61
63
68 inline const Aws::String& GetSummary() const{ return m_summary; }
69 inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
70 inline void SetSummary(const Aws::String& value) { m_summaryHasBeenSet = true; m_summary = value; }
71 inline void SetSummary(Aws::String&& value) { m_summaryHasBeenSet = true; m_summary = std::move(value); }
72 inline void SetSummary(const char* value) { m_summaryHasBeenSet = true; m_summary.assign(value); }
73 inline AssessmentSummary& WithSummary(const Aws::String& value) { SetSummary(value); return *this;}
74 inline AssessmentSummary& WithSummary(Aws::String&& value) { SetSummary(std::move(value)); return *this;}
75 inline AssessmentSummary& WithSummary(const char* value) { SetSummary(value); return *this;}
77 private:
78
80 bool m_riskRecommendationsHasBeenSet = false;
81
82 Aws::String m_summary;
83 bool m_summaryHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace ResilienceHub
88} // namespace Aws
AWS_RESILIENCEHUB_API AssessmentSummary(Aws::Utils::Json::JsonView jsonValue)
AssessmentSummary & WithSummary(const char *value)
void SetSummary(const Aws::String &value)
AssessmentSummary & WithSummary(const Aws::String &value)
void SetRiskRecommendations(Aws::Vector< AssessmentRiskRecommendation > &&value)
void SetRiskRecommendations(const Aws::Vector< AssessmentRiskRecommendation > &value)
AssessmentSummary & WithRiskRecommendations(const Aws::Vector< AssessmentRiskRecommendation > &value)
AWS_RESILIENCEHUB_API AssessmentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AssessmentSummary & WithSummary(Aws::String &&value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< AssessmentRiskRecommendation > & GetRiskRecommendations() const
AssessmentSummary & AddRiskRecommendations(const AssessmentRiskRecommendation &value)
AssessmentSummary & WithRiskRecommendations(Aws::Vector< AssessmentRiskRecommendation > &&value)
AssessmentSummary & AddRiskRecommendations(AssessmentRiskRecommendation &&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