AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 ReviewTemplatePillarReviewSummary& WithPillarId(const Aws::String& value) { SetPillarId(value); return *this;}
50 inline ReviewTemplatePillarReviewSummary& WithPillarId(Aws::String&& value) { SetPillarId(std::move(value)); return *this;}
51 inline ReviewTemplatePillarReviewSummary& 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 ReviewTemplatePillarReviewSummary& WithPillarName(const Aws::String& value) { SetPillarName(value); return *this;}
62 inline ReviewTemplatePillarReviewSummary& WithPillarName(Aws::String&& value) { SetPillarName(std::move(value)); return *this;}
63 inline ReviewTemplatePillarReviewSummary& 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 ReviewTemplatePillarReviewSummary& WithNotes(const Aws::String& value) { SetNotes(value); return *this;}
74 inline ReviewTemplatePillarReviewSummary& WithNotes(Aws::String&& value) { SetNotes(std::move(value)); return *this;}
75 inline ReviewTemplatePillarReviewSummary& WithNotes(const char* value) { SetNotes(value); return *this;}
77
79
83 inline const Aws::Map<Question, int>& GetQuestionCounts() const{ return m_questionCounts; }
84 inline bool QuestionCountsHasBeenSet() const { return m_questionCountsHasBeenSet; }
85 inline void SetQuestionCounts(const Aws::Map<Question, int>& value) { m_questionCountsHasBeenSet = true; m_questionCounts = value; }
86 inline void SetQuestionCounts(Aws::Map<Question, int>&& value) { m_questionCountsHasBeenSet = true; m_questionCounts = std::move(value); }
89 inline ReviewTemplatePillarReviewSummary& AddQuestionCounts(const Question& key, int value) { m_questionCountsHasBeenSet = true; m_questionCounts.emplace(key, value); return *this; }
90 inline ReviewTemplatePillarReviewSummary& AddQuestionCounts(Question&& key, int value) { m_questionCountsHasBeenSet = true; m_questionCounts.emplace(std::move(key), value); return *this; }
92 private:
93
94 Aws::String m_pillarId;
95 bool m_pillarIdHasBeenSet = false;
96
97 Aws::String m_pillarName;
98 bool m_pillarNameHasBeenSet = false;
99
100 Aws::String m_notes;
101 bool m_notesHasBeenSet = false;
102
103 Aws::Map<Question, int> m_questionCounts;
104 bool m_questionCountsHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace WellArchitected
109} // namespace Aws
ReviewTemplatePillarReviewSummary & WithPillarId(const Aws::String &value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
ReviewTemplatePillarReviewSummary & WithPillarName(Aws::String &&value)
ReviewTemplatePillarReviewSummary & WithPillarName(const char *value)
ReviewTemplatePillarReviewSummary & WithPillarName(const Aws::String &value)
ReviewTemplatePillarReviewSummary & WithPillarId(const char *value)
ReviewTemplatePillarReviewSummary & AddQuestionCounts(Question &&key, int value)
AWS_WELLARCHITECTED_API ReviewTemplatePillarReviewSummary(Aws::Utils::Json::JsonView jsonValue)
ReviewTemplatePillarReviewSummary & WithPillarId(Aws::String &&value)
ReviewTemplatePillarReviewSummary & WithNotes(const char *value)
AWS_WELLARCHITECTED_API ReviewTemplatePillarReviewSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ReviewTemplatePillarReviewSummary & WithQuestionCounts(Aws::Map< Question, int > &&value)
ReviewTemplatePillarReviewSummary & WithQuestionCounts(const Aws::Map< Question, int > &value)
ReviewTemplatePillarReviewSummary & WithNotes(Aws::String &&value)
ReviewTemplatePillarReviewSummary & AddQuestionCounts(const Question &key, int value)
ReviewTemplatePillarReviewSummary & WithNotes(const Aws::String &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