AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssessmentReportMetadata.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
35 {
36 public:
37 AWS_AUDITMANAGER_API AssessmentReportMetadata();
40 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline AssessmentReportMetadata& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline AssessmentReportMetadata& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline AssessmentReportMetadata& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline AssessmentReportMetadata& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline AssessmentReportMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline AssessmentReportMetadata& WithName(const char* value) { SetName(value); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline AssessmentReportMetadata& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline AssessmentReportMetadata& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline AssessmentReportMetadata& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
89 inline const Aws::String& GetAssessmentId() const{ return m_assessmentId; }
90 inline bool AssessmentIdHasBeenSet() const { return m_assessmentIdHasBeenSet; }
91 inline void SetAssessmentId(const Aws::String& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = value; }
92 inline void SetAssessmentId(Aws::String&& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = std::move(value); }
93 inline void SetAssessmentId(const char* value) { m_assessmentIdHasBeenSet = true; m_assessmentId.assign(value); }
94 inline AssessmentReportMetadata& WithAssessmentId(const Aws::String& value) { SetAssessmentId(value); return *this;}
95 inline AssessmentReportMetadata& WithAssessmentId(Aws::String&& value) { SetAssessmentId(std::move(value)); return *this;}
96 inline AssessmentReportMetadata& WithAssessmentId(const char* value) { SetAssessmentId(value); return *this;}
98
100
103 inline const Aws::String& GetAssessmentName() const{ return m_assessmentName; }
104 inline bool AssessmentNameHasBeenSet() const { return m_assessmentNameHasBeenSet; }
105 inline void SetAssessmentName(const Aws::String& value) { m_assessmentNameHasBeenSet = true; m_assessmentName = value; }
106 inline void SetAssessmentName(Aws::String&& value) { m_assessmentNameHasBeenSet = true; m_assessmentName = std::move(value); }
107 inline void SetAssessmentName(const char* value) { m_assessmentNameHasBeenSet = true; m_assessmentName.assign(value); }
108 inline AssessmentReportMetadata& WithAssessmentName(const Aws::String& value) { SetAssessmentName(value); return *this;}
109 inline AssessmentReportMetadata& WithAssessmentName(Aws::String&& value) { SetAssessmentName(std::move(value)); return *this;}
110 inline AssessmentReportMetadata& WithAssessmentName(const char* value) { SetAssessmentName(value); return *this;}
112
114
117 inline const Aws::String& GetAuthor() const{ return m_author; }
118 inline bool AuthorHasBeenSet() const { return m_authorHasBeenSet; }
119 inline void SetAuthor(const Aws::String& value) { m_authorHasBeenSet = true; m_author = value; }
120 inline void SetAuthor(Aws::String&& value) { m_authorHasBeenSet = true; m_author = std::move(value); }
121 inline void SetAuthor(const char* value) { m_authorHasBeenSet = true; m_author.assign(value); }
122 inline AssessmentReportMetadata& WithAuthor(const Aws::String& value) { SetAuthor(value); return *this;}
123 inline AssessmentReportMetadata& WithAuthor(Aws::String&& value) { SetAuthor(std::move(value)); return *this;}
124 inline AssessmentReportMetadata& WithAuthor(const char* value) { SetAuthor(value); return *this;}
126
128
131 inline const AssessmentReportStatus& GetStatus() const{ return m_status; }
132 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
133 inline void SetStatus(const AssessmentReportStatus& value) { m_statusHasBeenSet = true; m_status = value; }
134 inline void SetStatus(AssessmentReportStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
135 inline AssessmentReportMetadata& WithStatus(const AssessmentReportStatus& value) { SetStatus(value); return *this;}
136 inline AssessmentReportMetadata& WithStatus(AssessmentReportStatus&& value) { SetStatus(std::move(value)); return *this;}
138
140
143 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
144 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
145 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
146 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
148 inline AssessmentReportMetadata& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
150 private:
151
152 Aws::String m_id;
153 bool m_idHasBeenSet = false;
154
155 Aws::String m_name;
156 bool m_nameHasBeenSet = false;
157
158 Aws::String m_description;
159 bool m_descriptionHasBeenSet = false;
160
161 Aws::String m_assessmentId;
162 bool m_assessmentIdHasBeenSet = false;
163
164 Aws::String m_assessmentName;
165 bool m_assessmentNameHasBeenSet = false;
166
167 Aws::String m_author;
168 bool m_authorHasBeenSet = false;
169
170 AssessmentReportStatus m_status;
171 bool m_statusHasBeenSet = false;
172
173 Aws::Utils::DateTime m_creationTime;
174 bool m_creationTimeHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace AuditManager
179} // namespace Aws
AssessmentReportMetadata & WithId(const Aws::String &value)
AssessmentReportMetadata & WithAuthor(const char *value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AssessmentReportMetadata & WithAssessmentName(const Aws::String &value)
AssessmentReportMetadata & WithStatus(const AssessmentReportStatus &value)
AssessmentReportMetadata & WithCreationTime(const Aws::Utils::DateTime &value)
AssessmentReportMetadata & WithAuthor(const Aws::String &value)
AssessmentReportMetadata & WithAssessmentId(Aws::String &&value)
AWS_AUDITMANAGER_API AssessmentReportMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AssessmentReportMetadata & WithId(Aws::String &&value)
AssessmentReportMetadata & WithDescription(Aws::String &&value)
AssessmentReportMetadata & WithStatus(AssessmentReportStatus &&value)
AssessmentReportMetadata & WithAssessmentName(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
AssessmentReportMetadata & WithAssessmentId(const char *value)
AssessmentReportMetadata & WithDescription(const char *value)
AssessmentReportMetadata & WithName(const Aws::String &value)
AssessmentReportMetadata & WithId(const char *value)
AssessmentReportMetadata & WithAssessmentName(const char *value)
AssessmentReportMetadata & WithName(Aws::String &&value)
AssessmentReportMetadata & WithName(const char *value)
AssessmentReportMetadata & WithAssessmentId(const Aws::String &value)
AssessmentReportMetadata & WithDescription(const Aws::String &value)
AWS_AUDITMANAGER_API AssessmentReportMetadata(Aws::Utils::Json::JsonView jsonValue)
AssessmentReportMetadata & WithAuthor(Aws::String &&value)
void SetStatus(const AssessmentReportStatus &value)
AssessmentReportMetadata & WithCreationTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue