AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImprovementSummary.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/model/Risk.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/wellarchitected/model/JiraConfiguration.h>
12#include <aws/wellarchitected/model/ChoiceImprovementPlan.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace WellArchitected
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_WELLARCHITECTED_API ImprovementSummary();
40 AWS_WELLARCHITECTED_API ImprovementSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_WELLARCHITECTED_API ImprovementSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
47 inline const Aws::String& GetQuestionId() const{ return m_questionId; }
48 inline bool QuestionIdHasBeenSet() const { return m_questionIdHasBeenSet; }
49 inline void SetQuestionId(const Aws::String& value) { m_questionIdHasBeenSet = true; m_questionId = value; }
50 inline void SetQuestionId(Aws::String&& value) { m_questionIdHasBeenSet = true; m_questionId = std::move(value); }
51 inline void SetQuestionId(const char* value) { m_questionIdHasBeenSet = true; m_questionId.assign(value); }
52 inline ImprovementSummary& WithQuestionId(const Aws::String& value) { SetQuestionId(value); return *this;}
53 inline ImprovementSummary& WithQuestionId(Aws::String&& value) { SetQuestionId(std::move(value)); return *this;}
54 inline ImprovementSummary& WithQuestionId(const char* value) { SetQuestionId(value); return *this;}
56
58
59 inline const Aws::String& GetPillarId() const{ return m_pillarId; }
60 inline bool PillarIdHasBeenSet() const { return m_pillarIdHasBeenSet; }
61 inline void SetPillarId(const Aws::String& value) { m_pillarIdHasBeenSet = true; m_pillarId = value; }
62 inline void SetPillarId(Aws::String&& value) { m_pillarIdHasBeenSet = true; m_pillarId = std::move(value); }
63 inline void SetPillarId(const char* value) { m_pillarIdHasBeenSet = true; m_pillarId.assign(value); }
64 inline ImprovementSummary& WithPillarId(const Aws::String& value) { SetPillarId(value); return *this;}
65 inline ImprovementSummary& WithPillarId(Aws::String&& value) { SetPillarId(std::move(value)); return *this;}
66 inline ImprovementSummary& WithPillarId(const char* value) { SetPillarId(value); return *this;}
68
70
71 inline const Aws::String& GetQuestionTitle() const{ return m_questionTitle; }
72 inline bool QuestionTitleHasBeenSet() const { return m_questionTitleHasBeenSet; }
73 inline void SetQuestionTitle(const Aws::String& value) { m_questionTitleHasBeenSet = true; m_questionTitle = value; }
74 inline void SetQuestionTitle(Aws::String&& value) { m_questionTitleHasBeenSet = true; m_questionTitle = std::move(value); }
75 inline void SetQuestionTitle(const char* value) { m_questionTitleHasBeenSet = true; m_questionTitle.assign(value); }
76 inline ImprovementSummary& WithQuestionTitle(const Aws::String& value) { SetQuestionTitle(value); return *this;}
77 inline ImprovementSummary& WithQuestionTitle(Aws::String&& value) { SetQuestionTitle(std::move(value)); return *this;}
78 inline ImprovementSummary& WithQuestionTitle(const char* value) { SetQuestionTitle(value); return *this;}
80
82
83 inline const Risk& GetRisk() const{ return m_risk; }
84 inline bool RiskHasBeenSet() const { return m_riskHasBeenSet; }
85 inline void SetRisk(const Risk& value) { m_riskHasBeenSet = true; m_risk = value; }
86 inline void SetRisk(Risk&& value) { m_riskHasBeenSet = true; m_risk = std::move(value); }
87 inline ImprovementSummary& WithRisk(const Risk& value) { SetRisk(value); return *this;}
88 inline ImprovementSummary& WithRisk(Risk&& value) { SetRisk(std::move(value)); return *this;}
90
92
93 inline const Aws::String& GetImprovementPlanUrl() const{ return m_improvementPlanUrl; }
94 inline bool ImprovementPlanUrlHasBeenSet() const { return m_improvementPlanUrlHasBeenSet; }
95 inline void SetImprovementPlanUrl(const Aws::String& value) { m_improvementPlanUrlHasBeenSet = true; m_improvementPlanUrl = value; }
96 inline void SetImprovementPlanUrl(Aws::String&& value) { m_improvementPlanUrlHasBeenSet = true; m_improvementPlanUrl = std::move(value); }
97 inline void SetImprovementPlanUrl(const char* value) { m_improvementPlanUrlHasBeenSet = true; m_improvementPlanUrl.assign(value); }
98 inline ImprovementSummary& WithImprovementPlanUrl(const Aws::String& value) { SetImprovementPlanUrl(value); return *this;}
99 inline ImprovementSummary& WithImprovementPlanUrl(Aws::String&& value) { SetImprovementPlanUrl(std::move(value)); return *this;}
100 inline ImprovementSummary& WithImprovementPlanUrl(const char* value) { SetImprovementPlanUrl(value); return *this;}
102
104
107 inline const Aws::Vector<ChoiceImprovementPlan>& GetImprovementPlans() const{ return m_improvementPlans; }
108 inline bool ImprovementPlansHasBeenSet() const { return m_improvementPlansHasBeenSet; }
109 inline void SetImprovementPlans(const Aws::Vector<ChoiceImprovementPlan>& value) { m_improvementPlansHasBeenSet = true; m_improvementPlans = value; }
110 inline void SetImprovementPlans(Aws::Vector<ChoiceImprovementPlan>&& value) { m_improvementPlansHasBeenSet = true; m_improvementPlans = std::move(value); }
113 inline ImprovementSummary& AddImprovementPlans(const ChoiceImprovementPlan& value) { m_improvementPlansHasBeenSet = true; m_improvementPlans.push_back(value); return *this; }
114 inline ImprovementSummary& AddImprovementPlans(ChoiceImprovementPlan&& value) { m_improvementPlansHasBeenSet = true; m_improvementPlans.push_back(std::move(value)); return *this; }
116
118
121 inline const JiraConfiguration& GetJiraConfiguration() const{ return m_jiraConfiguration; }
122 inline bool JiraConfigurationHasBeenSet() const { return m_jiraConfigurationHasBeenSet; }
123 inline void SetJiraConfiguration(const JiraConfiguration& value) { m_jiraConfigurationHasBeenSet = true; m_jiraConfiguration = value; }
124 inline void SetJiraConfiguration(JiraConfiguration&& value) { m_jiraConfigurationHasBeenSet = true; m_jiraConfiguration = std::move(value); }
126 inline ImprovementSummary& WithJiraConfiguration(JiraConfiguration&& value) { SetJiraConfiguration(std::move(value)); return *this;}
128 private:
129
130 Aws::String m_questionId;
131 bool m_questionIdHasBeenSet = false;
132
133 Aws::String m_pillarId;
134 bool m_pillarIdHasBeenSet = false;
135
136 Aws::String m_questionTitle;
137 bool m_questionTitleHasBeenSet = false;
138
139 Risk m_risk;
140 bool m_riskHasBeenSet = false;
141
142 Aws::String m_improvementPlanUrl;
143 bool m_improvementPlanUrlHasBeenSet = false;
144
145 Aws::Vector<ChoiceImprovementPlan> m_improvementPlans;
146 bool m_improvementPlansHasBeenSet = false;
147
148 JiraConfiguration m_jiraConfiguration;
149 bool m_jiraConfigurationHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace WellArchitected
154} // namespace Aws
ImprovementSummary & WithQuestionTitle(const Aws::String &value)
ImprovementSummary & WithPillarId(const Aws::String &value)
ImprovementSummary & WithPillarId(Aws::String &&value)
const JiraConfiguration & GetJiraConfiguration() const
ImprovementSummary & WithJiraConfiguration(JiraConfiguration &&value)
void SetJiraConfiguration(JiraConfiguration &&value)
ImprovementSummary & WithImprovementPlans(Aws::Vector< ChoiceImprovementPlan > &&value)
ImprovementSummary & WithImprovementPlanUrl(const Aws::String &value)
ImprovementSummary & WithJiraConfiguration(const JiraConfiguration &value)
void SetJiraConfiguration(const JiraConfiguration &value)
void SetImprovementPlanUrl(const Aws::String &value)
AWS_WELLARCHITECTED_API ImprovementSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetImprovementPlans(const Aws::Vector< ChoiceImprovementPlan > &value)
ImprovementSummary & WithPillarId(const char *value)
ImprovementSummary & AddImprovementPlans(ChoiceImprovementPlan &&value)
const Aws::Vector< ChoiceImprovementPlan > & GetImprovementPlans() const
void SetImprovementPlans(Aws::Vector< ChoiceImprovementPlan > &&value)
ImprovementSummary & WithQuestionId(const Aws::String &value)
AWS_WELLARCHITECTED_API ImprovementSummary(Aws::Utils::Json::JsonView jsonValue)
ImprovementSummary & WithImprovementPlanUrl(const char *value)
ImprovementSummary & WithRisk(const Risk &value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
ImprovementSummary & WithQuestionId(Aws::String &&value)
ImprovementSummary & WithImprovementPlans(const Aws::Vector< ChoiceImprovementPlan > &value)
ImprovementSummary & WithQuestionId(const char *value)
ImprovementSummary & WithImprovementPlanUrl(Aws::String &&value)
ImprovementSummary & WithQuestionTitle(Aws::String &&value)
ImprovementSummary & WithQuestionTitle(const char *value)
ImprovementSummary & WithRisk(Risk &&value)
ImprovementSummary & AddImprovementPlans(const ChoiceImprovementPlan &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