AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AssessmentReport.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/auditmanager/model/AssessmentReportStatus.h>
10#include <aws/core/utils/DateTime.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 AuditManager
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_AUDITMANAGER_API AssessmentReport() = default;
41 AWS_AUDITMANAGER_API AssessmentReport(Aws::Utils::Json::JsonView jsonValue);
42 AWS_AUDITMANAGER_API AssessmentReport& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetId() const { return m_id; }
51 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
52 template<typename IdT = Aws::String>
53 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
54 template<typename IdT = Aws::String>
55 AssessmentReport& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
66 template<typename NameT = Aws::String>
67 AssessmentReport& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 template<typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
78 template<typename DescriptionT = Aws::String>
79 AssessmentReport& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
81
83
86 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
87 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
88 template<typename AwsAccountIdT = Aws::String>
89 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
90 template<typename AwsAccountIdT = Aws::String>
91 AssessmentReport& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
93
95
98 inline const Aws::String& GetAssessmentId() const { return m_assessmentId; }
99 inline bool AssessmentIdHasBeenSet() const { return m_assessmentIdHasBeenSet; }
100 template<typename AssessmentIdT = Aws::String>
101 void SetAssessmentId(AssessmentIdT&& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = std::forward<AssessmentIdT>(value); }
102 template<typename AssessmentIdT = Aws::String>
103 AssessmentReport& WithAssessmentId(AssessmentIdT&& value) { SetAssessmentId(std::forward<AssessmentIdT>(value)); return *this;}
105
107
110 inline const Aws::String& GetAssessmentName() const { return m_assessmentName; }
111 inline bool AssessmentNameHasBeenSet() const { return m_assessmentNameHasBeenSet; }
112 template<typename AssessmentNameT = Aws::String>
113 void SetAssessmentName(AssessmentNameT&& value) { m_assessmentNameHasBeenSet = true; m_assessmentName = std::forward<AssessmentNameT>(value); }
114 template<typename AssessmentNameT = Aws::String>
115 AssessmentReport& WithAssessmentName(AssessmentNameT&& value) { SetAssessmentName(std::forward<AssessmentNameT>(value)); return *this;}
117
119
122 inline const Aws::String& GetAuthor() const { return m_author; }
123 inline bool AuthorHasBeenSet() const { return m_authorHasBeenSet; }
124 template<typename AuthorT = Aws::String>
125 void SetAuthor(AuthorT&& value) { m_authorHasBeenSet = true; m_author = std::forward<AuthorT>(value); }
126 template<typename AuthorT = Aws::String>
127 AssessmentReport& WithAuthor(AuthorT&& value) { SetAuthor(std::forward<AuthorT>(value)); return *this;}
129
131
134 inline AssessmentReportStatus GetStatus() const { return m_status; }
135 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
136 inline void SetStatus(AssessmentReportStatus value) { m_statusHasBeenSet = true; m_status = value; }
137 inline AssessmentReport& WithStatus(AssessmentReportStatus value) { SetStatus(value); return *this;}
139
141
144 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
145 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
146 template<typename CreationTimeT = Aws::Utils::DateTime>
147 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
148 template<typename CreationTimeT = Aws::Utils::DateTime>
149 AssessmentReport& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
151 private:
152
153 Aws::String m_id;
154 bool m_idHasBeenSet = false;
155
156 Aws::String m_name;
157 bool m_nameHasBeenSet = false;
158
159 Aws::String m_description;
160 bool m_descriptionHasBeenSet = false;
161
162 Aws::String m_awsAccountId;
163 bool m_awsAccountIdHasBeenSet = false;
164
165 Aws::String m_assessmentId;
166 bool m_assessmentIdHasBeenSet = false;
167
168 Aws::String m_assessmentName;
169 bool m_assessmentNameHasBeenSet = false;
170
171 Aws::String m_author;
172 bool m_authorHasBeenSet = false;
173
175 bool m_statusHasBeenSet = false;
176
177 Aws::Utils::DateTime m_creationTime{};
178 bool m_creationTimeHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace AuditManager
183} // 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