AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CheckSummary.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/CheckProvider.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/wellarchitected/model/CheckStatus.h>
12#include <aws/core/utils/memory/stl/AWSMap.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
36 {
37 public:
38 AWS_WELLARCHITECTED_API CheckSummary();
39 AWS_WELLARCHITECTED_API CheckSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_WELLARCHITECTED_API CheckSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetId() const{ return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline CheckSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline CheckSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline CheckSummary& WithId(const char* value) { SetId(value); return *this;}
57
59
62 inline const Aws::String& GetName() const{ return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
65 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
66 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 inline CheckSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
68 inline CheckSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 inline CheckSummary& WithName(const char* value) { SetName(value); return *this;}
71
73
76 inline const CheckProvider& GetProvider() const{ return m_provider; }
77 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
78 inline void SetProvider(const CheckProvider& value) { m_providerHasBeenSet = true; m_provider = value; }
79 inline void SetProvider(CheckProvider&& value) { m_providerHasBeenSet = true; m_provider = std::move(value); }
80 inline CheckSummary& WithProvider(const CheckProvider& value) { SetProvider(value); return *this;}
81 inline CheckSummary& WithProvider(CheckProvider&& value) { SetProvider(std::move(value)); return *this;}
83
85
88 inline const Aws::String& GetDescription() const{ return m_description; }
89 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
90 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
91 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
92 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
93 inline CheckSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
94 inline CheckSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
95 inline CheckSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
97
99
100 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
101 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
102 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
103 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
104 inline CheckSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
105 inline CheckSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
107
109
112 inline const Aws::String& GetLensArn() const{ return m_lensArn; }
113 inline bool LensArnHasBeenSet() const { return m_lensArnHasBeenSet; }
114 inline void SetLensArn(const Aws::String& value) { m_lensArnHasBeenSet = true; m_lensArn = value; }
115 inline void SetLensArn(Aws::String&& value) { m_lensArnHasBeenSet = true; m_lensArn = std::move(value); }
116 inline void SetLensArn(const char* value) { m_lensArnHasBeenSet = true; m_lensArn.assign(value); }
117 inline CheckSummary& WithLensArn(const Aws::String& value) { SetLensArn(value); return *this;}
118 inline CheckSummary& WithLensArn(Aws::String&& value) { SetLensArn(std::move(value)); return *this;}
119 inline CheckSummary& WithLensArn(const char* value) { SetLensArn(value); return *this;}
121
123
124 inline const Aws::String& GetPillarId() const{ return m_pillarId; }
125 inline bool PillarIdHasBeenSet() const { return m_pillarIdHasBeenSet; }
126 inline void SetPillarId(const Aws::String& value) { m_pillarIdHasBeenSet = true; m_pillarId = value; }
127 inline void SetPillarId(Aws::String&& value) { m_pillarIdHasBeenSet = true; m_pillarId = std::move(value); }
128 inline void SetPillarId(const char* value) { m_pillarIdHasBeenSet = true; m_pillarId.assign(value); }
129 inline CheckSummary& WithPillarId(const Aws::String& value) { SetPillarId(value); return *this;}
130 inline CheckSummary& WithPillarId(Aws::String&& value) { SetPillarId(std::move(value)); return *this;}
131 inline CheckSummary& WithPillarId(const char* value) { SetPillarId(value); return *this;}
133
135
136 inline const Aws::String& GetQuestionId() const{ return m_questionId; }
137 inline bool QuestionIdHasBeenSet() const { return m_questionIdHasBeenSet; }
138 inline void SetQuestionId(const Aws::String& value) { m_questionIdHasBeenSet = true; m_questionId = value; }
139 inline void SetQuestionId(Aws::String&& value) { m_questionIdHasBeenSet = true; m_questionId = std::move(value); }
140 inline void SetQuestionId(const char* value) { m_questionIdHasBeenSet = true; m_questionId.assign(value); }
141 inline CheckSummary& WithQuestionId(const Aws::String& value) { SetQuestionId(value); return *this;}
142 inline CheckSummary& WithQuestionId(Aws::String&& value) { SetQuestionId(std::move(value)); return *this;}
143 inline CheckSummary& WithQuestionId(const char* value) { SetQuestionId(value); return *this;}
145
147
148 inline const Aws::String& GetChoiceId() const{ return m_choiceId; }
149 inline bool ChoiceIdHasBeenSet() const { return m_choiceIdHasBeenSet; }
150 inline void SetChoiceId(const Aws::String& value) { m_choiceIdHasBeenSet = true; m_choiceId = value; }
151 inline void SetChoiceId(Aws::String&& value) { m_choiceIdHasBeenSet = true; m_choiceId = std::move(value); }
152 inline void SetChoiceId(const char* value) { m_choiceIdHasBeenSet = true; m_choiceId.assign(value); }
153 inline CheckSummary& WithChoiceId(const Aws::String& value) { SetChoiceId(value); return *this;}
154 inline CheckSummary& WithChoiceId(Aws::String&& value) { SetChoiceId(std::move(value)); return *this;}
155 inline CheckSummary& WithChoiceId(const char* value) { SetChoiceId(value); return *this;}
157
159
162 inline const CheckStatus& GetStatus() const{ return m_status; }
163 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
164 inline void SetStatus(const CheckStatus& value) { m_statusHasBeenSet = true; m_status = value; }
165 inline void SetStatus(CheckStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
166 inline CheckSummary& WithStatus(const CheckStatus& value) { SetStatus(value); return *this;}
167 inline CheckSummary& WithStatus(CheckStatus&& value) { SetStatus(std::move(value)); return *this;}
169
171
174 inline const Aws::Map<CheckStatus, int>& GetAccountSummary() const{ return m_accountSummary; }
175 inline bool AccountSummaryHasBeenSet() const { return m_accountSummaryHasBeenSet; }
176 inline void SetAccountSummary(const Aws::Map<CheckStatus, int>& value) { m_accountSummaryHasBeenSet = true; m_accountSummary = value; }
177 inline void SetAccountSummary(Aws::Map<CheckStatus, int>&& value) { m_accountSummaryHasBeenSet = true; m_accountSummary = std::move(value); }
179 inline CheckSummary& WithAccountSummary(Aws::Map<CheckStatus, int>&& value) { SetAccountSummary(std::move(value)); return *this;}
180 inline CheckSummary& AddAccountSummary(const CheckStatus& key, int value) { m_accountSummaryHasBeenSet = true; m_accountSummary.emplace(key, value); return *this; }
181 inline CheckSummary& AddAccountSummary(CheckStatus&& key, int value) { m_accountSummaryHasBeenSet = true; m_accountSummary.emplace(std::move(key), value); return *this; }
183 private:
184
185 Aws::String m_id;
186 bool m_idHasBeenSet = false;
187
188 Aws::String m_name;
189 bool m_nameHasBeenSet = false;
190
191 CheckProvider m_provider;
192 bool m_providerHasBeenSet = false;
193
194 Aws::String m_description;
195 bool m_descriptionHasBeenSet = false;
196
197 Aws::Utils::DateTime m_updatedAt;
198 bool m_updatedAtHasBeenSet = false;
199
200 Aws::String m_lensArn;
201 bool m_lensArnHasBeenSet = false;
202
203 Aws::String m_pillarId;
204 bool m_pillarIdHasBeenSet = false;
205
206 Aws::String m_questionId;
207 bool m_questionIdHasBeenSet = false;
208
209 Aws::String m_choiceId;
210 bool m_choiceIdHasBeenSet = false;
211
212 CheckStatus m_status;
213 bool m_statusHasBeenSet = false;
214
215 Aws::Map<CheckStatus, int> m_accountSummary;
216 bool m_accountSummaryHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace WellArchitected
221} // namespace Aws
CheckSummary & WithAccountSummary(Aws::Map< CheckStatus, int > &&value)
const Aws::String & GetChoiceId() const
CheckSummary & WithChoiceId(const char *value)
const Aws::String & GetQuestionId() const
void SetDescription(const Aws::String &value)
CheckSummary & WithDescription(const char *value)
void SetProvider(CheckProvider &&value)
CheckSummary & WithAccountSummary(const Aws::Map< CheckStatus, int > &value)
void SetAccountSummary(Aws::Map< CheckStatus, int > &&value)
CheckSummary & AddAccountSummary(const CheckStatus &key, int value)
AWS_WELLARCHITECTED_API CheckSummary()
const CheckProvider & GetProvider() const
const Aws::Map< CheckStatus, int > & GetAccountSummary() const
void SetDescription(Aws::String &&value)
void SetPillarId(Aws::String &&value)
CheckSummary & WithProvider(CheckProvider &&value)
CheckSummary & WithName(Aws::String &&value)
const CheckStatus & GetStatus() const
CheckSummary & WithDescription(Aws::String &&value)
CheckSummary & WithPillarId(const Aws::String &value)
CheckSummary & WithPillarId(const char *value)
CheckSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetId() const
void SetChoiceId(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
CheckSummary & WithQuestionId(Aws::String &&value)
void SetAccountSummary(const Aws::Map< CheckStatus, int > &value)
CheckSummary & WithQuestionId(const char *value)
void SetQuestionId(const Aws::String &value)
CheckSummary & WithLensArn(const Aws::String &value)
CheckSummary & WithDescription(const Aws::String &value)
void SetName(const Aws::String &value)
CheckSummary & WithProvider(const CheckProvider &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
CheckSummary & WithQuestionId(const Aws::String &value)
void SetId(const Aws::String &value)
const Aws::String & GetPillarId() const
CheckSummary & WithLensArn(const char *value)
void SetStatus(const CheckStatus &value)
const Aws::String & GetDescription() const
CheckSummary & WithId(const Aws::String &value)
AWS_WELLARCHITECTED_API CheckSummary(Aws::Utils::Json::JsonView jsonValue)
CheckSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
CheckSummary & WithPillarId(Aws::String &&value)
const Aws::String & GetName() const
CheckSummary & WithId(Aws::String &&value)
CheckSummary & WithName(const Aws::String &value)
void SetQuestionId(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetChoiceId(Aws::String &&value)
CheckSummary & WithStatus(const CheckStatus &value)
CheckSummary & WithChoiceId(Aws::String &&value)
CheckSummary & WithStatus(CheckStatus &&value)
CheckSummary & AddAccountSummary(CheckStatus &&key, int value)
CheckSummary & WithChoiceId(const Aws::String &value)
void SetProvider(const CheckProvider &value)
AWS_WELLARCHITECTED_API CheckSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CheckSummary & WithId(const char *value)
CheckSummary & WithName(const char *value)
void SetPillarId(const Aws::String &value)
CheckSummary & WithLensArn(Aws::String &&value)
void SetLensArn(const Aws::String &value)
const Aws::String & GetLensArn() const
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
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