AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateProjectProfileResult.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/Status.h>
12#include <aws/datazone/model/EnvironmentConfiguration.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 CreateProjectProfileResult() = default;
37
38
40
43 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
44 template<typename CreatedAtT = Aws::Utils::DateTime>
45 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
46 template<typename CreatedAtT = Aws::Utils::DateTime>
47 CreateProjectProfileResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
49
51
54 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
55 template<typename CreatedByT = Aws::String>
56 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
57 template<typename CreatedByT = Aws::String>
58 CreateProjectProfileResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
60
62
65 inline const Aws::String& GetDescription() const { return m_description; }
66 template<typename DescriptionT = Aws::String>
67 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
68 template<typename DescriptionT = Aws::String>
69 CreateProjectProfileResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
71
73
76 inline const Aws::String& GetDomainId() const { return m_domainId; }
77 template<typename DomainIdT = Aws::String>
78 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
79 template<typename DomainIdT = Aws::String>
80 CreateProjectProfileResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
82
84
87 inline const Aws::String& GetDomainUnitId() const { return m_domainUnitId; }
88 template<typename DomainUnitIdT = Aws::String>
89 void SetDomainUnitId(DomainUnitIdT&& value) { m_domainUnitIdHasBeenSet = true; m_domainUnitId = std::forward<DomainUnitIdT>(value); }
90 template<typename DomainUnitIdT = Aws::String>
91 CreateProjectProfileResult& WithDomainUnitId(DomainUnitIdT&& value) { SetDomainUnitId(std::forward<DomainUnitIdT>(value)); return *this;}
93
95
98 inline const Aws::Vector<EnvironmentConfiguration>& GetEnvironmentConfigurations() const { return m_environmentConfigurations; }
99 template<typename EnvironmentConfigurationsT = Aws::Vector<EnvironmentConfiguration>>
100 void SetEnvironmentConfigurations(EnvironmentConfigurationsT&& value) { m_environmentConfigurationsHasBeenSet = true; m_environmentConfigurations = std::forward<EnvironmentConfigurationsT>(value); }
101 template<typename EnvironmentConfigurationsT = Aws::Vector<EnvironmentConfiguration>>
102 CreateProjectProfileResult& WithEnvironmentConfigurations(EnvironmentConfigurationsT&& value) { SetEnvironmentConfigurations(std::forward<EnvironmentConfigurationsT>(value)); return *this;}
103 template<typename EnvironmentConfigurationsT = EnvironmentConfiguration>
104 CreateProjectProfileResult& AddEnvironmentConfigurations(EnvironmentConfigurationsT&& value) { m_environmentConfigurationsHasBeenSet = true; m_environmentConfigurations.emplace_back(std::forward<EnvironmentConfigurationsT>(value)); return *this; }
106
108
111 inline const Aws::String& GetId() const { return m_id; }
112 template<typename IdT = Aws::String>
113 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
114 template<typename IdT = Aws::String>
115 CreateProjectProfileResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
117
119
122 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
123 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
124 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
125 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
126 CreateProjectProfileResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
128
130
133 inline const Aws::String& GetName() const { return m_name; }
134 template<typename NameT = Aws::String>
135 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
136 template<typename NameT = Aws::String>
137 CreateProjectProfileResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
139
141
144 inline Status GetStatus() const { return m_status; }
145 inline void SetStatus(Status value) { m_statusHasBeenSet = true; m_status = value; }
146 inline CreateProjectProfileResult& WithStatus(Status value) { SetStatus(value); return *this;}
148
150
151 inline const Aws::String& GetRequestId() const { return m_requestId; }
152 template<typename RequestIdT = Aws::String>
153 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
154 template<typename RequestIdT = Aws::String>
155 CreateProjectProfileResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
157 private:
158
159 Aws::Utils::DateTime m_createdAt{};
160 bool m_createdAtHasBeenSet = false;
161
162 Aws::String m_createdBy;
163 bool m_createdByHasBeenSet = false;
164
165 Aws::String m_description;
166 bool m_descriptionHasBeenSet = false;
167
168 Aws::String m_domainId;
169 bool m_domainIdHasBeenSet = false;
170
171 Aws::String m_domainUnitId;
172 bool m_domainUnitIdHasBeenSet = false;
173
174 Aws::Vector<EnvironmentConfiguration> m_environmentConfigurations;
175 bool m_environmentConfigurationsHasBeenSet = false;
176
177 Aws::String m_id;
178 bool m_idHasBeenSet = false;
179
180 Aws::Utils::DateTime m_lastUpdatedAt{};
181 bool m_lastUpdatedAtHasBeenSet = false;
182
183 Aws::String m_name;
184 bool m_nameHasBeenSet = false;
185
186 Status m_status{Status::NOT_SET};
187 bool m_statusHasBeenSet = false;
188
189 Aws::String m_requestId;
190 bool m_requestIdHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace DataZone
195} // namespace Aws
CreateProjectProfileResult & WithId(IdT &&value)
CreateProjectProfileResult & WithDomainId(DomainIdT &&value)
CreateProjectProfileResult & WithRequestId(RequestIdT &&value)
CreateProjectProfileResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
CreateProjectProfileResult & WithCreatedAt(CreatedAtT &&value)
CreateProjectProfileResult & WithEnvironmentConfigurations(EnvironmentConfigurationsT &&value)
CreateProjectProfileResult & WithDomainUnitId(DomainUnitIdT &&value)
CreateProjectProfileResult & WithName(NameT &&value)
CreateProjectProfileResult & WithStatus(Status value)
AWS_DATAZONE_API CreateProjectProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API CreateProjectProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< EnvironmentConfiguration > & GetEnvironmentConfigurations() const
CreateProjectProfileResult & WithCreatedBy(CreatedByT &&value)
void SetEnvironmentConfigurations(EnvironmentConfigurationsT &&value)
CreateProjectProfileResult & WithDescription(DescriptionT &&value)
CreateProjectProfileResult & AddEnvironmentConfigurations(EnvironmentConfigurationsT &&value)
AWS_DATAZONE_API CreateProjectProfileResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue