AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateProjectResult.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 UpdateProjectResult();
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 UpdateProjectResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
47 inline UpdateProjectResult& 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 UpdateProjectResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
59 inline UpdateProjectResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
60 inline UpdateProjectResult& 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 UpdateProjectResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
72 inline UpdateProjectResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
73 inline UpdateProjectResult& WithDescription(const char* value) { SetDescription(value); return *this;}
75
77
81 inline const Aws::String& GetDomainId() const{ return m_domainId; }
82 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
83 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
84 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
85 inline UpdateProjectResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
86 inline UpdateProjectResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
87 inline UpdateProjectResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
89
91
94 inline const Aws::String& GetDomainUnitId() const{ return m_domainUnitId; }
95 inline void SetDomainUnitId(const Aws::String& value) { m_domainUnitId = value; }
96 inline void SetDomainUnitId(Aws::String&& value) { m_domainUnitId = std::move(value); }
97 inline void SetDomainUnitId(const char* value) { m_domainUnitId.assign(value); }
98 inline UpdateProjectResult& WithDomainUnitId(const Aws::String& value) { SetDomainUnitId(value); return *this;}
99 inline UpdateProjectResult& WithDomainUnitId(Aws::String&& value) { SetDomainUnitId(std::move(value)); return *this;}
100 inline UpdateProjectResult& WithDomainUnitId(const char* value) { SetDomainUnitId(value); return *this;}
102
104
108 inline const Aws::Vector<ProjectDeletionError>& GetFailureReasons() const{ return m_failureReasons; }
109 inline void SetFailureReasons(const Aws::Vector<ProjectDeletionError>& value) { m_failureReasons = value; }
110 inline void SetFailureReasons(Aws::Vector<ProjectDeletionError>&& value) { m_failureReasons = std::move(value); }
113 inline UpdateProjectResult& AddFailureReasons(const ProjectDeletionError& value) { m_failureReasons.push_back(value); return *this; }
114 inline UpdateProjectResult& AddFailureReasons(ProjectDeletionError&& value) { m_failureReasons.push_back(std::move(value)); return *this; }
116
118
121 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const{ return m_glossaryTerms; }
122 inline void SetGlossaryTerms(const Aws::Vector<Aws::String>& value) { m_glossaryTerms = value; }
123 inline void SetGlossaryTerms(Aws::Vector<Aws::String>&& value) { m_glossaryTerms = std::move(value); }
125 inline UpdateProjectResult& WithGlossaryTerms(Aws::Vector<Aws::String>&& value) { SetGlossaryTerms(std::move(value)); return *this;}
126 inline UpdateProjectResult& AddGlossaryTerms(const Aws::String& value) { m_glossaryTerms.push_back(value); return *this; }
127 inline UpdateProjectResult& AddGlossaryTerms(Aws::String&& value) { m_glossaryTerms.push_back(std::move(value)); return *this; }
128 inline UpdateProjectResult& AddGlossaryTerms(const char* value) { m_glossaryTerms.push_back(value); return *this; }
130
132
135 inline const Aws::String& GetId() const{ return m_id; }
136 inline void SetId(const Aws::String& value) { m_id = value; }
137 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
138 inline void SetId(const char* value) { m_id.assign(value); }
139 inline UpdateProjectResult& WithId(const Aws::String& value) { SetId(value); return *this;}
140 inline UpdateProjectResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
141 inline UpdateProjectResult& WithId(const char* value) { SetId(value); return *this;}
143
145
148 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
149 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
150 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
151 inline UpdateProjectResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
152 inline UpdateProjectResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
154
156
159 inline const Aws::String& GetName() const{ return m_name; }
160 inline void SetName(const Aws::String& value) { m_name = value; }
161 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
162 inline void SetName(const char* value) { m_name.assign(value); }
163 inline UpdateProjectResult& WithName(const Aws::String& value) { SetName(value); return *this;}
164 inline UpdateProjectResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
165 inline UpdateProjectResult& WithName(const char* value) { SetName(value); return *this;}
167
169
172 inline const ProjectStatus& GetProjectStatus() const{ return m_projectStatus; }
173 inline void SetProjectStatus(const ProjectStatus& value) { m_projectStatus = value; }
174 inline void SetProjectStatus(ProjectStatus&& value) { m_projectStatus = std::move(value); }
175 inline UpdateProjectResult& WithProjectStatus(const ProjectStatus& value) { SetProjectStatus(value); return *this;}
176 inline UpdateProjectResult& WithProjectStatus(ProjectStatus&& value) { SetProjectStatus(std::move(value)); return *this;}
178
180
181 inline const Aws::String& GetRequestId() const{ return m_requestId; }
182 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
183 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
184 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
185 inline UpdateProjectResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
186 inline UpdateProjectResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
187 inline UpdateProjectResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
189 private:
190
191 Aws::Utils::DateTime m_createdAt;
192
193 Aws::String m_createdBy;
194
195 Aws::String m_description;
196
197 Aws::String m_domainId;
198
199 Aws::String m_domainUnitId;
200
201 Aws::Vector<ProjectDeletionError> m_failureReasons;
202
203 Aws::Vector<Aws::String> m_glossaryTerms;
204
205 Aws::String m_id;
206
207 Aws::Utils::DateTime m_lastUpdatedAt;
208
209 Aws::String m_name;
210
211 ProjectStatus m_projectStatus;
212
213 Aws::String m_requestId;
214 };
215
216} // namespace Model
217} // namespace DataZone
218} // namespace Aws
void SetRequestId(const Aws::String &value)
UpdateProjectResult & WithCreatedAt(Aws::Utils::DateTime &&value)
UpdateProjectResult & WithId(Aws::String &&value)
UpdateProjectResult & WithDescription(Aws::String &&value)
UpdateProjectResult & WithGlossaryTerms(Aws::Vector< Aws::String > &&value)
UpdateProjectResult & WithDomainUnitId(Aws::String &&value)
UpdateProjectResult & WithFailureReasons(Aws::Vector< ProjectDeletionError > &&value)
UpdateProjectResult & WithCreatedBy(Aws::String &&value)
void SetProjectStatus(const ProjectStatus &value)
void SetGlossaryTerms(const Aws::Vector< Aws::String > &value)
UpdateProjectResult & WithCreatedBy(const Aws::String &value)
UpdateProjectResult & WithRequestId(const Aws::String &value)
UpdateProjectResult & WithDomainId(const Aws::String &value)
UpdateProjectResult & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
UpdateProjectResult & WithProjectStatus(ProjectStatus &&value)
void SetGlossaryTerms(Aws::Vector< Aws::String > &&value)
UpdateProjectResult & WithDomainUnitId(const Aws::String &value)
UpdateProjectResult & AddGlossaryTerms(Aws::String &&value)
UpdateProjectResult & WithDescription(const char *value)
AWS_DATAZONE_API UpdateProjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateProjectResult & WithRequestId(const char *value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
UpdateProjectResult & WithDomainUnitId(const char *value)
void SetDomainUnitId(const Aws::String &value)
UpdateProjectResult & WithGlossaryTerms(const Aws::Vector< Aws::String > &value)
UpdateProjectResult & AddFailureReasons(const ProjectDeletionError &value)
UpdateProjectResult & AddGlossaryTerms(const Aws::String &value)
void SetDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
UpdateProjectResult & WithRequestId(Aws::String &&value)
UpdateProjectResult & WithDomainId(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
UpdateProjectResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
UpdateProjectResult & WithDescription(const Aws::String &value)
AWS_DATAZONE_API UpdateProjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetDomainId(const Aws::String &value)
void SetFailureReasons(Aws::Vector< ProjectDeletionError > &&value)
UpdateProjectResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
UpdateProjectResult & WithName(Aws::String &&value)
const ProjectStatus & GetProjectStatus() const
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
UpdateProjectResult & AddGlossaryTerms(const char *value)
UpdateProjectResult & WithDomainId(Aws::String &&value)
UpdateProjectResult & WithId(const char *value)
UpdateProjectResult & AddFailureReasons(ProjectDeletionError &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
UpdateProjectResult & WithName(const char *value)
UpdateProjectResult & WithCreatedBy(const char *value)
UpdateProjectResult & WithFailureReasons(const Aws::Vector< ProjectDeletionError > &value)
void SetCreatedBy(const Aws::String &value)
UpdateProjectResult & WithName(const Aws::String &value)
const Aws::Vector< ProjectDeletionError > & GetFailureReasons() const
UpdateProjectResult & WithId(const Aws::String &value)
UpdateProjectResult & WithProjectStatus(const ProjectStatus &value)
void SetFailureReasons(const Aws::Vector< ProjectDeletionError > &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