AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
AssessmentReport.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/model/AssessmentReportStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AuditManager {
22namespace Model {
23
34 public:
35 AWS_AUDITMANAGER_API AssessmentReport() = default;
36 AWS_AUDITMANAGER_API AssessmentReport(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AUDITMANAGER_API AssessmentReport& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetId() const { return m_id; }
45 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
46 template <typename IdT = Aws::String>
47 void SetId(IdT&& value) {
48 m_idHasBeenSet = true;
49 m_id = std::forward<IdT>(value);
50 }
51 template <typename IdT = Aws::String>
52 AssessmentReport& WithId(IdT&& value) {
53 SetId(std::forward<IdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetName() const { return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 template <typename NameT = Aws::String>
65 void SetName(NameT&& value) {
66 m_nameHasBeenSet = true;
67 m_name = std::forward<NameT>(value);
68 }
69 template <typename NameT = Aws::String>
70 AssessmentReport& WithName(NameT&& value) {
71 SetName(std::forward<NameT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetDescription() const { return m_description; }
81 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
82 template <typename DescriptionT = Aws::String>
83 void SetDescription(DescriptionT&& value) {
84 m_descriptionHasBeenSet = true;
85 m_description = std::forward<DescriptionT>(value);
86 }
87 template <typename DescriptionT = Aws::String>
88 AssessmentReport& WithDescription(DescriptionT&& value) {
89 SetDescription(std::forward<DescriptionT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
99 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
100 template <typename AwsAccountIdT = Aws::String>
101 void SetAwsAccountId(AwsAccountIdT&& value) {
102 m_awsAccountIdHasBeenSet = true;
103 m_awsAccountId = std::forward<AwsAccountIdT>(value);
104 }
105 template <typename AwsAccountIdT = Aws::String>
106 AssessmentReport& WithAwsAccountId(AwsAccountIdT&& value) {
107 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::String& GetAssessmentId() const { return m_assessmentId; }
117 inline bool AssessmentIdHasBeenSet() const { return m_assessmentIdHasBeenSet; }
118 template <typename AssessmentIdT = Aws::String>
119 void SetAssessmentId(AssessmentIdT&& value) {
120 m_assessmentIdHasBeenSet = true;
121 m_assessmentId = std::forward<AssessmentIdT>(value);
122 }
123 template <typename AssessmentIdT = Aws::String>
124 AssessmentReport& WithAssessmentId(AssessmentIdT&& value) {
125 SetAssessmentId(std::forward<AssessmentIdT>(value));
126 return *this;
127 }
129
131
134 inline const Aws::String& GetAssessmentName() const { return m_assessmentName; }
135 inline bool AssessmentNameHasBeenSet() const { return m_assessmentNameHasBeenSet; }
136 template <typename AssessmentNameT = Aws::String>
137 void SetAssessmentName(AssessmentNameT&& value) {
138 m_assessmentNameHasBeenSet = true;
139 m_assessmentName = std::forward<AssessmentNameT>(value);
140 }
141 template <typename AssessmentNameT = Aws::String>
142 AssessmentReport& WithAssessmentName(AssessmentNameT&& value) {
143 SetAssessmentName(std::forward<AssessmentNameT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::String& GetAuthor() const { return m_author; }
153 inline bool AuthorHasBeenSet() const { return m_authorHasBeenSet; }
154 template <typename AuthorT = Aws::String>
155 void SetAuthor(AuthorT&& value) {
156 m_authorHasBeenSet = true;
157 m_author = std::forward<AuthorT>(value);
158 }
159 template <typename AuthorT = Aws::String>
160 AssessmentReport& WithAuthor(AuthorT&& value) {
161 SetAuthor(std::forward<AuthorT>(value));
162 return *this;
163 }
165
167
170 inline AssessmentReportStatus GetStatus() const { return m_status; }
171 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
173 m_statusHasBeenSet = true;
174 m_status = value;
175 }
177 SetStatus(value);
178 return *this;
179 }
181
183
186 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
187 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
188 template <typename CreationTimeT = Aws::Utils::DateTime>
189 void SetCreationTime(CreationTimeT&& value) {
190 m_creationTimeHasBeenSet = true;
191 m_creationTime = std::forward<CreationTimeT>(value);
192 }
193 template <typename CreationTimeT = Aws::Utils::DateTime>
194 AssessmentReport& WithCreationTime(CreationTimeT&& value) {
195 SetCreationTime(std::forward<CreationTimeT>(value));
196 return *this;
197 }
199 private:
200 Aws::String m_id;
201
202 Aws::String m_name;
203
204 Aws::String m_description;
205
206 Aws::String m_awsAccountId;
207
208 Aws::String m_assessmentId;
209
210 Aws::String m_assessmentName;
211
212 Aws::String m_author;
213
215
216 Aws::Utils::DateTime m_creationTime{};
217 bool m_idHasBeenSet = false;
218 bool m_nameHasBeenSet = false;
219 bool m_descriptionHasBeenSet = false;
220 bool m_awsAccountIdHasBeenSet = false;
221 bool m_assessmentIdHasBeenSet = false;
222 bool m_assessmentNameHasBeenSet = false;
223 bool m_authorHasBeenSet = false;
224 bool m_statusHasBeenSet = false;
225 bool m_creationTimeHasBeenSet = false;
226};
227
228} // namespace Model
229} // namespace AuditManager
230} // namespace Aws
AssessmentReport & WithId(IdT &&value)
void SetCreationTime(CreationTimeT &&value)
void SetAssessmentId(AssessmentIdT &&value)
const Aws::String & GetDescription() const
AWS_AUDITMANAGER_API AssessmentReport & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AssessmentReport & WithStatus(AssessmentReportStatus value)
AssessmentReport & WithName(NameT &&value)
const Aws::String & GetAssessmentId() const
AWS_AUDITMANAGER_API AssessmentReport()=default
AssessmentReport & WithAssessmentId(AssessmentIdT &&value)
void SetStatus(AssessmentReportStatus value)
const Aws::String & GetAwsAccountId() const
void SetAwsAccountId(AwsAccountIdT &&value)
AssessmentReport & WithAwsAccountId(AwsAccountIdT &&value)
const Aws::String & GetAssessmentName() const
AssessmentReport & WithAssessmentName(AssessmentNameT &&value)
AWS_AUDITMANAGER_API AssessmentReport(Aws::Utils::Json::JsonView jsonValue)
AssessmentReportStatus GetStatus() const
AssessmentReport & WithCreationTime(CreationTimeT &&value)
AssessmentReport & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetAssessmentName(AssessmentNameT &&value)
AssessmentReport & WithAuthor(AuthorT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue