AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
AssessmentReportMetadata.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
31 public:
32 AWS_AUDITMANAGER_API AssessmentReportMetadata() = default;
35 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetDescription() const { return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 template <typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) {
81 m_descriptionHasBeenSet = true;
82 m_description = std::forward<DescriptionT>(value);
83 }
84 template <typename DescriptionT = Aws::String>
86 SetDescription(std::forward<DescriptionT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetAssessmentId() const { return m_assessmentId; }
96 inline bool AssessmentIdHasBeenSet() const { return m_assessmentIdHasBeenSet; }
97 template <typename AssessmentIdT = Aws::String>
98 void SetAssessmentId(AssessmentIdT&& value) {
99 m_assessmentIdHasBeenSet = true;
100 m_assessmentId = std::forward<AssessmentIdT>(value);
101 }
102 template <typename AssessmentIdT = Aws::String>
104 SetAssessmentId(std::forward<AssessmentIdT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetAssessmentName() const { return m_assessmentName; }
114 inline bool AssessmentNameHasBeenSet() const { return m_assessmentNameHasBeenSet; }
115 template <typename AssessmentNameT = Aws::String>
116 void SetAssessmentName(AssessmentNameT&& value) {
117 m_assessmentNameHasBeenSet = true;
118 m_assessmentName = std::forward<AssessmentNameT>(value);
119 }
120 template <typename AssessmentNameT = Aws::String>
122 SetAssessmentName(std::forward<AssessmentNameT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetAuthor() const { return m_author; }
132 inline bool AuthorHasBeenSet() const { return m_authorHasBeenSet; }
133 template <typename AuthorT = Aws::String>
134 void SetAuthor(AuthorT&& value) {
135 m_authorHasBeenSet = true;
136 m_author = std::forward<AuthorT>(value);
137 }
138 template <typename AuthorT = Aws::String>
140 SetAuthor(std::forward<AuthorT>(value));
141 return *this;
142 }
144
146
149 inline AssessmentReportStatus GetStatus() const { return m_status; }
150 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
152 m_statusHasBeenSet = true;
153 m_status = value;
154 }
156 SetStatus(value);
157 return *this;
158 }
160
162
165 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
166 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
167 template <typename CreationTimeT = Aws::Utils::DateTime>
168 void SetCreationTime(CreationTimeT&& value) {
169 m_creationTimeHasBeenSet = true;
170 m_creationTime = std::forward<CreationTimeT>(value);
171 }
172 template <typename CreationTimeT = Aws::Utils::DateTime>
174 SetCreationTime(std::forward<CreationTimeT>(value));
175 return *this;
176 }
178 private:
179 Aws::String m_id;
180
181 Aws::String m_name;
182
183 Aws::String m_description;
184
185 Aws::String m_assessmentId;
186
187 Aws::String m_assessmentName;
188
189 Aws::String m_author;
190
192
193 Aws::Utils::DateTime m_creationTime{};
194 bool m_idHasBeenSet = false;
195 bool m_nameHasBeenSet = false;
196 bool m_descriptionHasBeenSet = false;
197 bool m_assessmentIdHasBeenSet = false;
198 bool m_assessmentNameHasBeenSet = false;
199 bool m_authorHasBeenSet = false;
200 bool m_statusHasBeenSet = false;
201 bool m_creationTimeHasBeenSet = false;
202};
203
204} // namespace Model
205} // namespace AuditManager
206} // namespace Aws
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AssessmentReportMetadata & WithAuthor(AuthorT &&value)
AssessmentReportMetadata & WithStatus(AssessmentReportStatus value)
AssessmentReportMetadata & WithName(NameT &&value)
AssessmentReportMetadata & WithCreationTime(CreationTimeT &&value)
AWS_AUDITMANAGER_API AssessmentReportMetadata()=default
AWS_AUDITMANAGER_API AssessmentReportMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AssessmentReportMetadata & WithAssessmentId(AssessmentIdT &&value)
AssessmentReportMetadata & WithAssessmentName(AssessmentNameT &&value)
AWS_AUDITMANAGER_API AssessmentReportMetadata(Aws::Utils::Json::JsonView jsonValue)
AssessmentReportMetadata & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue