AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetProjectResult.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{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace DataZone
28{
29namespace Model
30{
32 {
33 public:
34 AWS_DATAZONE_API GetProjectResult();
37
38
40
43 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
44 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
45 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
46 inline GetProjectResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
47 inline GetProjectResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
49
51
54 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
55 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
56 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
57 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
58 inline GetProjectResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
59 inline GetProjectResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
60 inline GetProjectResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
62
64
67 inline const Aws::String& GetDescription() const{ return m_description; }
68 inline void SetDescription(const Aws::String& value) { m_description = value; }
69 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
70 inline void SetDescription(const char* value) { m_description.assign(value); }
71 inline GetProjectResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
72 inline GetProjectResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
73 inline GetProjectResult& WithDescription(const char* value) { SetDescription(value); return *this;}
75
77
80 inline const Aws::String& GetDomainId() const{ return m_domainId; }
81 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
82 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
83 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
84 inline GetProjectResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
85 inline GetProjectResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
86 inline GetProjectResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
88
90
93 inline const Aws::String& GetDomainUnitId() const{ return m_domainUnitId; }
94 inline void SetDomainUnitId(const Aws::String& value) { m_domainUnitId = value; }
95 inline void SetDomainUnitId(Aws::String&& value) { m_domainUnitId = std::move(value); }
96 inline void SetDomainUnitId(const char* value) { m_domainUnitId.assign(value); }
97 inline GetProjectResult& WithDomainUnitId(const Aws::String& value) { SetDomainUnitId(value); return *this;}
98 inline GetProjectResult& WithDomainUnitId(Aws::String&& value) { SetDomainUnitId(std::move(value)); return *this;}
99 inline GetProjectResult& WithDomainUnitId(const char* value) { SetDomainUnitId(value); return *this;}
101
103
107 inline const Aws::Vector<ProjectDeletionError>& GetFailureReasons() const{ return m_failureReasons; }
108 inline void SetFailureReasons(const Aws::Vector<ProjectDeletionError>& value) { m_failureReasons = value; }
109 inline void SetFailureReasons(Aws::Vector<ProjectDeletionError>&& value) { m_failureReasons = std::move(value); }
112 inline GetProjectResult& AddFailureReasons(const ProjectDeletionError& value) { m_failureReasons.push_back(value); return *this; }
113 inline GetProjectResult& AddFailureReasons(ProjectDeletionError&& value) { m_failureReasons.push_back(std::move(value)); return *this; }
115
117
120 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const{ return m_glossaryTerms; }
121 inline void SetGlossaryTerms(const Aws::Vector<Aws::String>& value) { m_glossaryTerms = value; }
122 inline void SetGlossaryTerms(Aws::Vector<Aws::String>&& value) { m_glossaryTerms = std::move(value); }
124 inline GetProjectResult& WithGlossaryTerms(Aws::Vector<Aws::String>&& value) { SetGlossaryTerms(std::move(value)); return *this;}
125 inline GetProjectResult& AddGlossaryTerms(const Aws::String& value) { m_glossaryTerms.push_back(value); return *this; }
126 inline GetProjectResult& AddGlossaryTerms(Aws::String&& value) { m_glossaryTerms.push_back(std::move(value)); return *this; }
127 inline GetProjectResult& AddGlossaryTerms(const char* value) { m_glossaryTerms.push_back(value); return *this; }
129
131
134 inline const Aws::String& GetId() const{ return m_id; }
135 inline void SetId(const Aws::String& value) { m_id = value; }
136 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
137 inline void SetId(const char* value) { m_id.assign(value); }
138 inline GetProjectResult& WithId(const Aws::String& value) { SetId(value); return *this;}
139 inline GetProjectResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
140 inline GetProjectResult& WithId(const char* value) { SetId(value); return *this;}
142
144
147 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
148 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
149 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
150 inline GetProjectResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
151 inline GetProjectResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
153
155
158 inline const Aws::String& GetName() const{ return m_name; }
159 inline void SetName(const Aws::String& value) { m_name = value; }
160 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
161 inline void SetName(const char* value) { m_name.assign(value); }
162 inline GetProjectResult& WithName(const Aws::String& value) { SetName(value); return *this;}
163 inline GetProjectResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
164 inline GetProjectResult& WithName(const char* value) { SetName(value); return *this;}
166
168
171 inline const ProjectStatus& GetProjectStatus() const{ return m_projectStatus; }
172 inline void SetProjectStatus(const ProjectStatus& value) { m_projectStatus = value; }
173 inline void SetProjectStatus(ProjectStatus&& value) { m_projectStatus = std::move(value); }
174 inline GetProjectResult& WithProjectStatus(const ProjectStatus& value) { SetProjectStatus(value); return *this;}
175 inline GetProjectResult& WithProjectStatus(ProjectStatus&& value) { SetProjectStatus(std::move(value)); return *this;}
177
179
180 inline const Aws::String& GetRequestId() const{ return m_requestId; }
181 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
182 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
183 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
184 inline GetProjectResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
185 inline GetProjectResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
186 inline GetProjectResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
188 private:
189
190 Aws::Utils::DateTime m_createdAt;
191
192 Aws::String m_createdBy;
193
194 Aws::String m_description;
195
196 Aws::String m_domainId;
197
198 Aws::String m_domainUnitId;
199
200 Aws::Vector<ProjectDeletionError> m_failureReasons;
201
202 Aws::Vector<Aws::String> m_glossaryTerms;
203
204 Aws::String m_id;
205
206 Aws::Utils::DateTime m_lastUpdatedAt;
207
208 Aws::String m_name;
209
210 ProjectStatus m_projectStatus;
211
212 Aws::String m_requestId;
213 };
214
215} // namespace Model
216} // namespace DataZone
217} // namespace Aws
void SetDomainId(const Aws::String &value)
GetProjectResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
GetProjectResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetProjectResult & WithFailureReasons(const Aws::Vector< ProjectDeletionError > &value)
GetProjectResult & WithName(Aws::String &&value)
GetProjectResult & WithId(const char *value)
GetProjectResult & WithRequestId(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetProjectResult & WithDomainId(const Aws::String &value)
void SetProjectStatus(const ProjectStatus &value)
GetProjectResult & WithCreatedBy(const Aws::String &value)
GetProjectResult & WithDomainUnitId(Aws::String &&value)
void SetDescription(Aws::String &&value)
GetProjectResult & WithName(const Aws::String &value)
void SetDomainUnitId(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetName() const
void SetCreatedBy(const Aws::String &value)
void SetCreatedBy(Aws::String &&value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetRequestId() const
void SetRequestId(const Aws::String &value)
GetProjectResult & WithDescription(Aws::String &&value)
void SetGlossaryTerms(Aws::Vector< Aws::String > &&value)
GetProjectResult & AddFailureReasons(const ProjectDeletionError &value)
GetProjectResult & WithDescription(const Aws::String &value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
void SetDescription(const Aws::String &value)
const Aws::String & GetDomainUnitId() const
GetProjectResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
void SetGlossaryTerms(const Aws::Vector< Aws::String > &value)
void SetId(const Aws::String &value)
const Aws::String & GetDomainId() const
void SetFailureReasons(Aws::Vector< ProjectDeletionError > &&value)
GetProjectResult & WithCreatedBy(const char *value)
GetProjectResult & AddGlossaryTerms(const char *value)
void SetFailureReasons(const Aws::Vector< ProjectDeletionError > &value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
GetProjectResult & WithDomainId(const char *value)
GetProjectResult & WithName(const char *value)
GetProjectResult & WithCreatedBy(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
GetProjectResult & AddGlossaryTerms(const Aws::String &value)
GetProjectResult & WithId(const Aws::String &value)
GetProjectResult & WithProjectStatus(ProjectStatus &&value)
GetProjectResult & WithFailureReasons(Aws::Vector< ProjectDeletionError > &&value)
GetProjectResult & AddGlossaryTerms(Aws::String &&value)
GetProjectResult & WithId(Aws::String &&value)
const Aws::String & GetCreatedBy() const
AWS_DATAZONE_API GetProjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetProjectResult & WithDescription(const char *value)
const Aws::Vector< ProjectDeletionError > & GetFailureReasons() const
void SetDomainId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetProjectResult & WithDomainUnitId(const char *value)
void SetDomainUnitId(Aws::String &&value)
AWS_DATAZONE_API GetProjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetProjectResult & WithGlossaryTerms(const Aws::Vector< Aws::String > &value)
GetProjectResult & WithGlossaryTerms(Aws::Vector< Aws::String > &&value)
GetProjectResult & WithCreatedAt(const Aws::Utils::DateTime &value)
const ProjectStatus & GetProjectStatus() const
GetProjectResult & AddFailureReasons(ProjectDeletionError &&value)
GetProjectResult & WithProjectStatus(const ProjectStatus &value)
GetProjectResult & WithDomainId(Aws::String &&value)
void SetName(const Aws::String &value)
GetProjectResult & WithDomainUnitId(const Aws::String &value)
GetProjectResult & WithRequestId(const Aws::String &value)
const Aws::String & GetDescription() const
void SetProjectStatus(ProjectStatus &&value)
GetProjectResult & WithRequestId(const char *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