AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PillarReviewSummary.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/wellarchitected/model/Risk.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 WellArchitected
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_WELLARCHITECTED_API PillarReviewSummary();
37 AWS_WELLARCHITECTED_API PillarReviewSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WELLARCHITECTED_API PillarReviewSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const Aws::String& GetPillarId() const{ return m_pillarId; }
45 inline bool PillarIdHasBeenSet() const { return m_pillarIdHasBeenSet; }
46 inline void SetPillarId(const Aws::String& value) { m_pillarIdHasBeenSet = true; m_pillarId = value; }
47 inline void SetPillarId(Aws::String&& value) { m_pillarIdHasBeenSet = true; m_pillarId = std::move(value); }
48 inline void SetPillarId(const char* value) { m_pillarIdHasBeenSet = true; m_pillarId.assign(value); }
49 inline PillarReviewSummary& WithPillarId(const Aws::String& value) { SetPillarId(value); return *this;}
50 inline PillarReviewSummary& WithPillarId(Aws::String&& value) { SetPillarId(std::move(value)); return *this;}
51 inline PillarReviewSummary& WithPillarId(const char* value) { SetPillarId(value); return *this;}
53
55
56 inline const Aws::String& GetPillarName() const{ return m_pillarName; }
57 inline bool PillarNameHasBeenSet() const { return m_pillarNameHasBeenSet; }
58 inline void SetPillarName(const Aws::String& value) { m_pillarNameHasBeenSet = true; m_pillarName = value; }
59 inline void SetPillarName(Aws::String&& value) { m_pillarNameHasBeenSet = true; m_pillarName = std::move(value); }
60 inline void SetPillarName(const char* value) { m_pillarNameHasBeenSet = true; m_pillarName.assign(value); }
61 inline PillarReviewSummary& WithPillarName(const Aws::String& value) { SetPillarName(value); return *this;}
62 inline PillarReviewSummary& WithPillarName(Aws::String&& value) { SetPillarName(std::move(value)); return *this;}
63 inline PillarReviewSummary& WithPillarName(const char* value) { SetPillarName(value); return *this;}
65
67
68 inline const Aws::String& GetNotes() const{ return m_notes; }
69 inline bool NotesHasBeenSet() const { return m_notesHasBeenSet; }
70 inline void SetNotes(const Aws::String& value) { m_notesHasBeenSet = true; m_notes = value; }
71 inline void SetNotes(Aws::String&& value) { m_notesHasBeenSet = true; m_notes = std::move(value); }
72 inline void SetNotes(const char* value) { m_notesHasBeenSet = true; m_notes.assign(value); }
73 inline PillarReviewSummary& WithNotes(const Aws::String& value) { SetNotes(value); return *this;}
74 inline PillarReviewSummary& WithNotes(Aws::String&& value) { SetNotes(std::move(value)); return *this;}
75 inline PillarReviewSummary& WithNotes(const char* value) { SetNotes(value); return *this;}
77
79
80 inline const Aws::Map<Risk, int>& GetRiskCounts() const{ return m_riskCounts; }
81 inline bool RiskCountsHasBeenSet() const { return m_riskCountsHasBeenSet; }
82 inline void SetRiskCounts(const Aws::Map<Risk, int>& value) { m_riskCountsHasBeenSet = true; m_riskCounts = value; }
83 inline void SetRiskCounts(Aws::Map<Risk, int>&& value) { m_riskCountsHasBeenSet = true; m_riskCounts = std::move(value); }
84 inline PillarReviewSummary& WithRiskCounts(const Aws::Map<Risk, int>& value) { SetRiskCounts(value); return *this;}
85 inline PillarReviewSummary& WithRiskCounts(Aws::Map<Risk, int>&& value) { SetRiskCounts(std::move(value)); return *this;}
86 inline PillarReviewSummary& AddRiskCounts(const Risk& key, int value) { m_riskCountsHasBeenSet = true; m_riskCounts.emplace(key, value); return *this; }
87 inline PillarReviewSummary& AddRiskCounts(Risk&& key, int value) { m_riskCountsHasBeenSet = true; m_riskCounts.emplace(std::move(key), value); return *this; }
89
91
92 inline const Aws::Map<Risk, int>& GetPrioritizedRiskCounts() const{ return m_prioritizedRiskCounts; }
93 inline bool PrioritizedRiskCountsHasBeenSet() const { return m_prioritizedRiskCountsHasBeenSet; }
94 inline void SetPrioritizedRiskCounts(const Aws::Map<Risk, int>& value) { m_prioritizedRiskCountsHasBeenSet = true; m_prioritizedRiskCounts = value; }
95 inline void SetPrioritizedRiskCounts(Aws::Map<Risk, int>&& value) { m_prioritizedRiskCountsHasBeenSet = true; m_prioritizedRiskCounts = std::move(value); }
98 inline PillarReviewSummary& AddPrioritizedRiskCounts(const Risk& key, int value) { m_prioritizedRiskCountsHasBeenSet = true; m_prioritizedRiskCounts.emplace(key, value); return *this; }
99 inline PillarReviewSummary& AddPrioritizedRiskCounts(Risk&& key, int value) { m_prioritizedRiskCountsHasBeenSet = true; m_prioritizedRiskCounts.emplace(std::move(key), value); return *this; }
101 private:
102
103 Aws::String m_pillarId;
104 bool m_pillarIdHasBeenSet = false;
105
106 Aws::String m_pillarName;
107 bool m_pillarNameHasBeenSet = false;
108
109 Aws::String m_notes;
110 bool m_notesHasBeenSet = false;
111
112 Aws::Map<Risk, int> m_riskCounts;
113 bool m_riskCountsHasBeenSet = false;
114
115 Aws::Map<Risk, int> m_prioritizedRiskCounts;
116 bool m_prioritizedRiskCountsHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace WellArchitected
121} // namespace Aws
PillarReviewSummary & WithNotes(const char *value)
PillarReviewSummary & WithPillarName(const Aws::String &value)
PillarReviewSummary & WithPillarId(Aws::String &&value)
PillarReviewSummary & AddPrioritizedRiskCounts(const Risk &key, int value)
PillarReviewSummary & WithPillarId(const char *value)
const Aws::Map< Risk, int > & GetPrioritizedRiskCounts() const
PillarReviewSummary & WithPillarName(const char *value)
PillarReviewSummary & WithPrioritizedRiskCounts(Aws::Map< Risk, int > &&value)
PillarReviewSummary & AddRiskCounts(const Risk &key, int value)
PillarReviewSummary & WithPillarName(Aws::String &&value)
PillarReviewSummary & WithNotes(const Aws::String &value)
AWS_WELLARCHITECTED_API PillarReviewSummary(Aws::Utils::Json::JsonView jsonValue)
PillarReviewSummary & WithRiskCounts(Aws::Map< Risk, int > &&value)
void SetRiskCounts(Aws::Map< Risk, int > &&value)
PillarReviewSummary & WithPrioritizedRiskCounts(const Aws::Map< Risk, int > &value)
PillarReviewSummary & AddPrioritizedRiskCounts(Risk &&key, int value)
PillarReviewSummary & WithNotes(Aws::String &&value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPrioritizedRiskCounts(const Aws::Map< Risk, int > &value)
PillarReviewSummary & WithPillarId(const Aws::String &value)
const Aws::Map< Risk, int > & GetRiskCounts() const
AWS_WELLARCHITECTED_API PillarReviewSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPrioritizedRiskCounts(Aws::Map< Risk, int > &&value)
PillarReviewSummary & AddRiskCounts(Risk &&key, int value)
void SetRiskCounts(const Aws::Map< Risk, int > &value)
PillarReviewSummary & WithRiskCounts(const Aws::Map< Risk, int > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue