AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProjectSummary.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/model/ProjectStatus.h>
12#include <aws/datazone/model/ProjectDeletionError.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace DataZone
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_DATAZONE_API ProjectSummary();
39 AWS_DATAZONE_API ProjectSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
49 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
50 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
51 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
52 inline ProjectSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
53 inline ProjectSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
61 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
62 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
63 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
64 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
65 inline ProjectSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
66 inline ProjectSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
67 inline ProjectSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
69
71
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline ProjectSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline ProjectSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline ProjectSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
88 inline const Aws::String& GetDomainId() const{ return m_domainId; }
89 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
90 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
91 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
92 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
93 inline ProjectSummary& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
94 inline ProjectSummary& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
95 inline ProjectSummary& WithDomainId(const char* value) { SetDomainId(value); return *this;}
97
99
102 inline const Aws::String& GetDomainUnitId() const{ return m_domainUnitId; }
103 inline bool DomainUnitIdHasBeenSet() const { return m_domainUnitIdHasBeenSet; }
104 inline void SetDomainUnitId(const Aws::String& value) { m_domainUnitIdHasBeenSet = true; m_domainUnitId = value; }
105 inline void SetDomainUnitId(Aws::String&& value) { m_domainUnitIdHasBeenSet = true; m_domainUnitId = std::move(value); }
106 inline void SetDomainUnitId(const char* value) { m_domainUnitIdHasBeenSet = true; m_domainUnitId.assign(value); }
107 inline ProjectSummary& WithDomainUnitId(const Aws::String& value) { SetDomainUnitId(value); return *this;}
108 inline ProjectSummary& WithDomainUnitId(Aws::String&& value) { SetDomainUnitId(std::move(value)); return *this;}
109 inline ProjectSummary& WithDomainUnitId(const char* value) { SetDomainUnitId(value); return *this;}
111
113
117 inline const Aws::Vector<ProjectDeletionError>& GetFailureReasons() const{ return m_failureReasons; }
118 inline bool FailureReasonsHasBeenSet() const { return m_failureReasonsHasBeenSet; }
119 inline void SetFailureReasons(const Aws::Vector<ProjectDeletionError>& value) { m_failureReasonsHasBeenSet = true; m_failureReasons = value; }
120 inline void SetFailureReasons(Aws::Vector<ProjectDeletionError>&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons = std::move(value); }
123 inline ProjectSummary& AddFailureReasons(const ProjectDeletionError& value) { m_failureReasonsHasBeenSet = true; m_failureReasons.push_back(value); return *this; }
124 inline ProjectSummary& AddFailureReasons(ProjectDeletionError&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons.push_back(std::move(value)); return *this; }
126
128
131 inline const Aws::String& GetId() const{ return m_id; }
132 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
133 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
134 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
135 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
136 inline ProjectSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
137 inline ProjectSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
138 inline ProjectSummary& WithId(const char* value) { SetId(value); return *this;}
140
142
145 inline const Aws::String& GetName() const{ return m_name; }
146 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
147 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
148 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
149 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
150 inline ProjectSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
151 inline ProjectSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
152 inline ProjectSummary& WithName(const char* value) { SetName(value); return *this;}
154
156
159 inline const ProjectStatus& GetProjectStatus() const{ return m_projectStatus; }
160 inline bool ProjectStatusHasBeenSet() const { return m_projectStatusHasBeenSet; }
161 inline void SetProjectStatus(const ProjectStatus& value) { m_projectStatusHasBeenSet = true; m_projectStatus = value; }
162 inline void SetProjectStatus(ProjectStatus&& value) { m_projectStatusHasBeenSet = true; m_projectStatus = std::move(value); }
163 inline ProjectSummary& WithProjectStatus(const ProjectStatus& value) { SetProjectStatus(value); return *this;}
164 inline ProjectSummary& WithProjectStatus(ProjectStatus&& value) { SetProjectStatus(std::move(value)); return *this;}
166
168
171 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
172 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
173 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
174 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
175 inline ProjectSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
176 inline ProjectSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
178 private:
179
180 Aws::Utils::DateTime m_createdAt;
181 bool m_createdAtHasBeenSet = false;
182
183 Aws::String m_createdBy;
184 bool m_createdByHasBeenSet = false;
185
186 Aws::String m_description;
187 bool m_descriptionHasBeenSet = false;
188
189 Aws::String m_domainId;
190 bool m_domainIdHasBeenSet = false;
191
192 Aws::String m_domainUnitId;
193 bool m_domainUnitIdHasBeenSet = false;
194
195 Aws::Vector<ProjectDeletionError> m_failureReasons;
196 bool m_failureReasonsHasBeenSet = false;
197
198 Aws::String m_id;
199 bool m_idHasBeenSet = false;
200
201 Aws::String m_name;
202 bool m_nameHasBeenSet = false;
203
204 ProjectStatus m_projectStatus;
205 bool m_projectStatusHasBeenSet = false;
206
207 Aws::Utils::DateTime m_updatedAt;
208 bool m_updatedAtHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace DataZone
213} // namespace Aws
void SetName(const Aws::String &value)
ProjectSummary & WithId(const char *value)
void SetDomainUnitId(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetName() const
void SetFailureReasons(const Aws::Vector< ProjectDeletionError > &value)
ProjectSummary & WithName(const Aws::String &value)
ProjectSummary & WithDescription(const char *value)
void SetName(Aws::String &&value)
const Aws::Vector< ProjectDeletionError > & GetFailureReasons() const
void SetCreatedBy(const Aws::String &value)
ProjectSummary & WithDescription(const Aws::String &value)
ProjectSummary & WithName(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetCreatedBy(Aws::String &&value)
void SetProjectStatus(const ProjectStatus &value)
void SetDescription(const char *value)
void SetDomainId(const Aws::String &value)
ProjectSummary & WithCreatedBy(const Aws::String &value)
ProjectSummary & WithCreatedBy(const char *value)
ProjectSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetCreatedBy(const char *value)
ProjectSummary & WithName(const char *value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
ProjectSummary & WithCreatedBy(Aws::String &&value)
ProjectSummary & WithId(Aws::String &&value)
void SetDescription(Aws::String &&value)
ProjectSummary & WithDomainUnitId(Aws::String &&value)
void SetDomainId(Aws::String &&value)
void SetDomainId(const char *value)
ProjectSummary & WithDomainId(const char *value)
const Aws::String & GetCreatedBy() const
ProjectSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
ProjectSummary & WithDomainId(const Aws::String &value)
ProjectSummary & AddFailureReasons(ProjectDeletionError &&value)
ProjectSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetDomainUnitId(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
ProjectSummary & WithDescription(Aws::String &&value)
void SetId(const Aws::String &value)
ProjectSummary & WithDomainUnitId(const Aws::String &value)
void SetId(Aws::String &&value)
ProjectSummary & WithDomainId(Aws::String &&value)
const Aws::String & GetDomainUnitId() const
AWS_DATAZONE_API ProjectSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
void SetFailureReasons(Aws::Vector< ProjectDeletionError > &&value)
ProjectSummary & WithFailureReasons(Aws::Vector< ProjectDeletionError > &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
ProjectSummary & AddFailureReasons(const ProjectDeletionError &value)
ProjectSummary & WithProjectStatus(ProjectStatus &&value)
ProjectSummary & WithProjectStatus(const ProjectStatus &value)
void SetDomainUnitId(const char *value)
const ProjectStatus & GetProjectStatus() const
ProjectSummary & WithDomainUnitId(const char *value)
ProjectSummary & WithId(const Aws::String &value)
ProjectSummary & WithFailureReasons(const Aws::Vector< ProjectDeletionError > &value)
const Aws::String & GetId() const
const Aws::String & GetDomainId() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
AWS_DATAZONE_API ProjectSummary(Aws::Utils::Json::JsonView jsonValue)
ProjectSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetProjectStatus(ProjectStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue