AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
53 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
54 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
55 inline AssessmentReport& WithId(const Aws::String& value) { SetId(value); return *this;}
56 inline AssessmentReport& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
57 inline AssessmentReport& WithId(const char* value) { SetId(value); return *this;}
59
61
64 inline const Aws::String& GetName() const{ return m_name; }
65 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
66 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
67 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
68 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
69 inline AssessmentReport& WithName(const Aws::String& value) { SetName(value); return *this;}
70 inline AssessmentReport& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
71 inline AssessmentReport& WithName(const char* value) { SetName(value); return *this;}
73
75
78 inline const Aws::String& GetDescription() const{ return m_description; }
79 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
80 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
81 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
82 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
83 inline AssessmentReport& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
84 inline AssessmentReport& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
85 inline AssessmentReport& WithDescription(const char* value) { SetDescription(value); return *this;}
87
89
92 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
93 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
94 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
95 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
96 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
97 inline AssessmentReport& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
98 inline AssessmentReport& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
99 inline AssessmentReport& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
101
103
106 inline const Aws::String& GetAssessmentId() const{ return m_assessmentId; }
107 inline bool AssessmentIdHasBeenSet() const { return m_assessmentIdHasBeenSet; }
108 inline void SetAssessmentId(const Aws::String& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = value; }
109 inline void SetAssessmentId(Aws::String&& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = std::move(value); }
110 inline void SetAssessmentId(const char* value) { m_assessmentIdHasBeenSet = true; m_assessmentId.assign(value); }
111 inline AssessmentReport& WithAssessmentId(const Aws::String& value) { SetAssessmentId(value); return *this;}
112 inline AssessmentReport& WithAssessmentId(Aws::String&& value) { SetAssessmentId(std::move(value)); return *this;}
113 inline AssessmentReport& WithAssessmentId(const char* value) { SetAssessmentId(value); return *this;}
115
117
120 inline const Aws::String& GetAssessmentName() const{ return m_assessmentName; }
121 inline bool AssessmentNameHasBeenSet() const { return m_assessmentNameHasBeenSet; }
122 inline void SetAssessmentName(const Aws::String& value) { m_assessmentNameHasBeenSet = true; m_assessmentName = value; }
123 inline void SetAssessmentName(Aws::String&& value) { m_assessmentNameHasBeenSet = true; m_assessmentName = std::move(value); }
124 inline void SetAssessmentName(const char* value) { m_assessmentNameHasBeenSet = true; m_assessmentName.assign(value); }
125 inline AssessmentReport& WithAssessmentName(const Aws::String& value) { SetAssessmentName(value); return *this;}
126 inline AssessmentReport& WithAssessmentName(Aws::String&& value) { SetAssessmentName(std::move(value)); return *this;}
127 inline AssessmentReport& WithAssessmentName(const char* value) { SetAssessmentName(value); return *this;}
129
131
134 inline const Aws::String& GetAuthor() const{ return m_author; }
135 inline bool AuthorHasBeenSet() const { return m_authorHasBeenSet; }
136 inline void SetAuthor(const Aws::String& value) { m_authorHasBeenSet = true; m_author = value; }
137 inline void SetAuthor(Aws::String&& value) { m_authorHasBeenSet = true; m_author = std::move(value); }
138 inline void SetAuthor(const char* value) { m_authorHasBeenSet = true; m_author.assign(value); }
139 inline AssessmentReport& WithAuthor(const Aws::String& value) { SetAuthor(value); return *this;}
140 inline AssessmentReport& WithAuthor(Aws::String&& value) { SetAuthor(std::move(value)); return *this;}
141 inline AssessmentReport& WithAuthor(const char* value) { SetAuthor(value); return *this;}
143
145
148 inline const AssessmentReportStatus& GetStatus() const{ return m_status; }
149 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
150 inline void SetStatus(const AssessmentReportStatus& value) { m_statusHasBeenSet = true; m_status = value; }
151 inline void SetStatus(AssessmentReportStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
152 inline AssessmentReport& WithStatus(const AssessmentReportStatus& value) { SetStatus(value); return *this;}
153 inline AssessmentReport& WithStatus(AssessmentReportStatus&& value) { SetStatus(std::move(value)); return *this;}
155
157
160 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
161 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
162 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
163 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
164 inline AssessmentReport& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
165 inline AssessmentReport& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
167 private:
168
169 Aws::String m_id;
170 bool m_idHasBeenSet = false;
171
172 Aws::String m_name;
173 bool m_nameHasBeenSet = false;
174
175 Aws::String m_description;
176 bool m_descriptionHasBeenSet = false;
177
178 Aws::String m_awsAccountId;
179 bool m_awsAccountIdHasBeenSet = false;
180
181 Aws::String m_assessmentId;
182 bool m_assessmentIdHasBeenSet = false;
183
184 Aws::String m_assessmentName;
185 bool m_assessmentNameHasBeenSet = false;
186
187 Aws::String m_author;
188 bool m_authorHasBeenSet = false;
189
190 AssessmentReportStatus m_status;
191 bool m_statusHasBeenSet = false;
192
193 Aws::Utils::DateTime m_creationTime;
194 bool m_creationTimeHasBeenSet = false;
195 };
196
197} // namespace Model
198} // namespace AuditManager
199} // namespace Aws
AssessmentReport & WithId(Aws::String &&value)
const Aws::String & GetDescription() const
AssessmentReport & WithName(const Aws::String &value)
void SetStatus(AssessmentReportStatus &&value)
AWS_AUDITMANAGER_API AssessmentReport & operator=(Aws::Utils::Json::JsonView jsonValue)
AssessmentReport & WithAssessmentName(const char *value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AssessmentReport & WithStatus(const AssessmentReportStatus &value)
AssessmentReport & WithAssessmentId(const Aws::String &value)
void SetAssessmentId(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetAuthor(const Aws::String &value)
void SetDescription(const Aws::String &value)
AssessmentReport & WithAssessmentId(Aws::String &&value)
AssessmentReport & WithDescription(const Aws::String &value)
const Aws::String & GetAssessmentId() const
AssessmentReport & WithId(const char *value)
AssessmentReport & WithAwsAccountId(Aws::String &&value)
AssessmentReport & WithId(const Aws::String &value)
void SetAssessmentName(const Aws::String &value)
AssessmentReport & WithAssessmentId(const char *value)
AssessmentReport & WithName(const char *value)
AssessmentReport & WithAuthor(Aws::String &&value)
AssessmentReport & WithAwsAccountId(const char *value)
void SetId(const Aws::String &value)
void SetName(const Aws::String &value)
const Aws::String & GetAwsAccountId() const
AssessmentReport & WithDescription(const char *value)
AssessmentReport & WithCreationTime(const Aws::Utils::DateTime &value)
AssessmentReport & WithDescription(Aws::String &&value)
AssessmentReport & WithStatus(AssessmentReportStatus &&value)
const Aws::String & GetAssessmentName() const
AssessmentReport & WithAwsAccountId(const Aws::String &value)
AssessmentReport & WithCreationTime(Aws::Utils::DateTime &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
const AssessmentReportStatus & GetStatus() const
void SetAwsAccountId(const Aws::String &value)
AWS_AUDITMANAGER_API AssessmentReport(Aws::Utils::Json::JsonView jsonValue)
AssessmentReport & WithAssessmentName(Aws::String &&value)
AssessmentReport & WithName(Aws::String &&value)
AssessmentReport & WithAuthor(const char *value)
void SetStatus(const AssessmentReportStatus &value)
AssessmentReport & WithAuthor(const Aws::String &value)
AssessmentReport & WithAssessmentName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue