AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ReviewTemplatePillarReviewSummary.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/Question.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 ReviewTemplatePillarReviewSummary() = default;
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 template<typename PillarIdT = Aws::String>
47 void SetPillarId(PillarIdT&& value) { m_pillarIdHasBeenSet = true; m_pillarId = std::forward<PillarIdT>(value); }
48 template<typename PillarIdT = Aws::String>
49 ReviewTemplatePillarReviewSummary& WithPillarId(PillarIdT&& value) { SetPillarId(std::forward<PillarIdT>(value)); return *this;}
51
53
54 inline const Aws::String& GetPillarName() const { return m_pillarName; }
55 inline bool PillarNameHasBeenSet() const { return m_pillarNameHasBeenSet; }
56 template<typename PillarNameT = Aws::String>
57 void SetPillarName(PillarNameT&& value) { m_pillarNameHasBeenSet = true; m_pillarName = std::forward<PillarNameT>(value); }
58 template<typename PillarNameT = Aws::String>
59 ReviewTemplatePillarReviewSummary& WithPillarName(PillarNameT&& value) { SetPillarName(std::forward<PillarNameT>(value)); return *this;}
61
63
64 inline const Aws::String& GetNotes() const { return m_notes; }
65 inline bool NotesHasBeenSet() const { return m_notesHasBeenSet; }
66 template<typename NotesT = Aws::String>
67 void SetNotes(NotesT&& value) { m_notesHasBeenSet = true; m_notes = std::forward<NotesT>(value); }
68 template<typename NotesT = Aws::String>
69 ReviewTemplatePillarReviewSummary& WithNotes(NotesT&& value) { SetNotes(std::forward<NotesT>(value)); return *this;}
71
73
77 inline const Aws::Map<Question, int>& GetQuestionCounts() const { return m_questionCounts; }
78 inline bool QuestionCountsHasBeenSet() const { return m_questionCountsHasBeenSet; }
79 template<typename QuestionCountsT = Aws::Map<Question, int>>
80 void SetQuestionCounts(QuestionCountsT&& value) { m_questionCountsHasBeenSet = true; m_questionCounts = std::forward<QuestionCountsT>(value); }
81 template<typename QuestionCountsT = Aws::Map<Question, int>>
82 ReviewTemplatePillarReviewSummary& WithQuestionCounts(QuestionCountsT&& value) { SetQuestionCounts(std::forward<QuestionCountsT>(value)); return *this;}
84 m_questionCountsHasBeenSet = true; m_questionCounts.emplace(key, value); return *this;
85 }
87 private:
88
89 Aws::String m_pillarId;
90 bool m_pillarIdHasBeenSet = false;
91
92 Aws::String m_pillarName;
93 bool m_pillarNameHasBeenSet = false;
94
95 Aws::String m_notes;
96 bool m_notesHasBeenSet = false;
97
98 Aws::Map<Question, int> m_questionCounts;
99 bool m_questionCountsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace WellArchitected
104} // namespace Aws
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
ReviewTemplatePillarReviewSummary & WithPillarName(PillarNameT &&value)
ReviewTemplatePillarReviewSummary & AddQuestionCounts(Question key, int value)
AWS_WELLARCHITECTED_API ReviewTemplatePillarReviewSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API ReviewTemplatePillarReviewSummary()=default
AWS_WELLARCHITECTED_API ReviewTemplatePillarReviewSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ReviewTemplatePillarReviewSummary & WithQuestionCounts(QuestionCountsT &&value)
ReviewTemplatePillarReviewSummary & WithPillarId(PillarIdT &&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