AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSubscriptionTargetResult.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/datazone/model/SubscriptionTargetForm.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataZone
27{
28namespace Model
29{
31 {
32 public:
36
37
39
43 inline const Aws::Vector<Aws::String>& GetApplicableAssetTypes() const{ return m_applicableAssetTypes; }
44 inline void SetApplicableAssetTypes(const Aws::Vector<Aws::String>& value) { m_applicableAssetTypes = value; }
45 inline void SetApplicableAssetTypes(Aws::Vector<Aws::String>&& value) { m_applicableAssetTypes = std::move(value); }
48 inline UpdateSubscriptionTargetResult& AddApplicableAssetTypes(const Aws::String& value) { m_applicableAssetTypes.push_back(value); return *this; }
49 inline UpdateSubscriptionTargetResult& AddApplicableAssetTypes(Aws::String&& value) { m_applicableAssetTypes.push_back(std::move(value)); return *this; }
50 inline UpdateSubscriptionTargetResult& AddApplicableAssetTypes(const char* value) { m_applicableAssetTypes.push_back(value); return *this; }
52
54
58 inline const Aws::Vector<Aws::String>& GetAuthorizedPrincipals() const{ return m_authorizedPrincipals; }
59 inline void SetAuthorizedPrincipals(const Aws::Vector<Aws::String>& value) { m_authorizedPrincipals = value; }
60 inline void SetAuthorizedPrincipals(Aws::Vector<Aws::String>&& value) { m_authorizedPrincipals = std::move(value); }
63 inline UpdateSubscriptionTargetResult& AddAuthorizedPrincipals(const Aws::String& value) { m_authorizedPrincipals.push_back(value); return *this; }
64 inline UpdateSubscriptionTargetResult& AddAuthorizedPrincipals(Aws::String&& value) { m_authorizedPrincipals.push_back(std::move(value)); return *this; }
65 inline UpdateSubscriptionTargetResult& AddAuthorizedPrincipals(const char* value) { m_authorizedPrincipals.push_back(value); return *this; }
67
69
72 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
73 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
74 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
76 inline UpdateSubscriptionTargetResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
78
80
83 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
84 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
85 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
86 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
87 inline UpdateSubscriptionTargetResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
88 inline UpdateSubscriptionTargetResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
89 inline UpdateSubscriptionTargetResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
91
93
97 inline const Aws::String& GetDomainId() const{ return m_domainId; }
98 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
99 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
100 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
101 inline UpdateSubscriptionTargetResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
102 inline UpdateSubscriptionTargetResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
103 inline UpdateSubscriptionTargetResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
105
107
111 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
112 inline void SetEnvironmentId(const Aws::String& value) { m_environmentId = value; }
113 inline void SetEnvironmentId(Aws::String&& value) { m_environmentId = std::move(value); }
114 inline void SetEnvironmentId(const char* value) { m_environmentId.assign(value); }
116 inline UpdateSubscriptionTargetResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
117 inline UpdateSubscriptionTargetResult& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
119
121
124 inline const Aws::String& GetId() const{ return m_id; }
125 inline void SetId(const Aws::String& value) { m_id = value; }
126 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
127 inline void SetId(const char* value) { m_id.assign(value); }
128 inline UpdateSubscriptionTargetResult& WithId(const Aws::String& value) { SetId(value); return *this;}
129 inline UpdateSubscriptionTargetResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
130 inline UpdateSubscriptionTargetResult& WithId(const char* value) { SetId(value); return *this;}
132
134
138 inline const Aws::String& GetManageAccessRole() const{ return m_manageAccessRole; }
139 inline void SetManageAccessRole(const Aws::String& value) { m_manageAccessRole = value; }
140 inline void SetManageAccessRole(Aws::String&& value) { m_manageAccessRole = std::move(value); }
141 inline void SetManageAccessRole(const char* value) { m_manageAccessRole.assign(value); }
143 inline UpdateSubscriptionTargetResult& WithManageAccessRole(Aws::String&& value) { SetManageAccessRole(std::move(value)); return *this;}
144 inline UpdateSubscriptionTargetResult& WithManageAccessRole(const char* value) { SetManageAccessRole(value); return *this;}
146
148
152 inline const Aws::String& GetName() const{ return m_name; }
153 inline void SetName(const Aws::String& value) { m_name = value; }
154 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
155 inline void SetName(const char* value) { m_name.assign(value); }
156 inline UpdateSubscriptionTargetResult& WithName(const Aws::String& value) { SetName(value); return *this;}
157 inline UpdateSubscriptionTargetResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
158 inline UpdateSubscriptionTargetResult& WithName(const char* value) { SetName(value); return *this;}
160
162
166 inline const Aws::String& GetProjectId() const{ return m_projectId; }
167 inline void SetProjectId(const Aws::String& value) { m_projectId = value; }
168 inline void SetProjectId(Aws::String&& value) { m_projectId = std::move(value); }
169 inline void SetProjectId(const char* value) { m_projectId.assign(value); }
170 inline UpdateSubscriptionTargetResult& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
171 inline UpdateSubscriptionTargetResult& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
172 inline UpdateSubscriptionTargetResult& WithProjectId(const char* value) { SetProjectId(value); return *this;}
174
176
180 inline const Aws::String& GetProvider() const{ return m_provider; }
181 inline void SetProvider(const Aws::String& value) { m_provider = value; }
182 inline void SetProvider(Aws::String&& value) { m_provider = std::move(value); }
183 inline void SetProvider(const char* value) { m_provider.assign(value); }
184 inline UpdateSubscriptionTargetResult& WithProvider(const Aws::String& value) { SetProvider(value); return *this;}
185 inline UpdateSubscriptionTargetResult& WithProvider(Aws::String&& value) { SetProvider(std::move(value)); return *this;}
186 inline UpdateSubscriptionTargetResult& WithProvider(const char* value) { SetProvider(value); return *this;}
188
190
194 inline const Aws::Vector<SubscriptionTargetForm>& GetSubscriptionTargetConfig() const{ return m_subscriptionTargetConfig; }
195 inline void SetSubscriptionTargetConfig(const Aws::Vector<SubscriptionTargetForm>& value) { m_subscriptionTargetConfig = value; }
196 inline void SetSubscriptionTargetConfig(Aws::Vector<SubscriptionTargetForm>&& value) { m_subscriptionTargetConfig = std::move(value); }
199 inline UpdateSubscriptionTargetResult& AddSubscriptionTargetConfig(const SubscriptionTargetForm& value) { m_subscriptionTargetConfig.push_back(value); return *this; }
200 inline UpdateSubscriptionTargetResult& AddSubscriptionTargetConfig(SubscriptionTargetForm&& value) { m_subscriptionTargetConfig.push_back(std::move(value)); return *this; }
202
204
208 inline const Aws::String& GetType() const{ return m_type; }
209 inline void SetType(const Aws::String& value) { m_type = value; }
210 inline void SetType(Aws::String&& value) { m_type = std::move(value); }
211 inline void SetType(const char* value) { m_type.assign(value); }
212 inline UpdateSubscriptionTargetResult& WithType(const Aws::String& value) { SetType(value); return *this;}
213 inline UpdateSubscriptionTargetResult& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
214 inline UpdateSubscriptionTargetResult& WithType(const char* value) { SetType(value); return *this;}
216
218
221 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
222 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
223 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
225 inline UpdateSubscriptionTargetResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
227
229
232 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
233 inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; }
234 inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); }
235 inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); }
236 inline UpdateSubscriptionTargetResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
237 inline UpdateSubscriptionTargetResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
238 inline UpdateSubscriptionTargetResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
240
242
243 inline const Aws::String& GetRequestId() const{ return m_requestId; }
244 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
245 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
246 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
247 inline UpdateSubscriptionTargetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
248 inline UpdateSubscriptionTargetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
249 inline UpdateSubscriptionTargetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
251 private:
252
253 Aws::Vector<Aws::String> m_applicableAssetTypes;
254
255 Aws::Vector<Aws::String> m_authorizedPrincipals;
256
257 Aws::Utils::DateTime m_createdAt;
258
259 Aws::String m_createdBy;
260
261 Aws::String m_domainId;
262
263 Aws::String m_environmentId;
264
265 Aws::String m_id;
266
267 Aws::String m_manageAccessRole;
268
269 Aws::String m_name;
270
271 Aws::String m_projectId;
272
273 Aws::String m_provider;
274
275 Aws::Vector<SubscriptionTargetForm> m_subscriptionTargetConfig;
276
277 Aws::String m_type;
278
279 Aws::Utils::DateTime m_updatedAt;
280
281 Aws::String m_updatedBy;
282
283 Aws::String m_requestId;
284 };
285
286} // namespace Model
287} // namespace DataZone
288} // namespace Aws
UpdateSubscriptionTargetResult & WithUpdatedBy(Aws::String &&value)
UpdateSubscriptionTargetResult & WithCreatedBy(const Aws::String &value)
UpdateSubscriptionTargetResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
UpdateSubscriptionTargetResult & WithSubscriptionTargetConfig(Aws::Vector< SubscriptionTargetForm > &&value)
UpdateSubscriptionTargetResult & WithUpdatedBy(const Aws::String &value)
UpdateSubscriptionTargetResult & WithId(const Aws::String &value)
UpdateSubscriptionTargetResult & WithRequestId(const Aws::String &value)
UpdateSubscriptionTargetResult & WithEnvironmentId(const Aws::String &value)
UpdateSubscriptionTargetResult & WithName(Aws::String &&value)
UpdateSubscriptionTargetResult & AddApplicableAssetTypes(const Aws::String &value)
UpdateSubscriptionTargetResult & WithId(const char *value)
UpdateSubscriptionTargetResult & WithCreatedAt(Aws::Utils::DateTime &&value)
UpdateSubscriptionTargetResult & WithType(const Aws::String &value)
UpdateSubscriptionTargetResult & WithDomainId(Aws::String &&value)
AWS_DATAZONE_API UpdateSubscriptionTargetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSubscriptionTargetResult & WithProjectId(Aws::String &&value)
UpdateSubscriptionTargetResult & WithRequestId(const char *value)
const Aws::Vector< Aws::String > & GetApplicableAssetTypes() const
UpdateSubscriptionTargetResult & WithDomainId(const char *value)
UpdateSubscriptionTargetResult & WithManageAccessRole(Aws::String &&value)
void SetAuthorizedPrincipals(Aws::Vector< Aws::String > &&value)
UpdateSubscriptionTargetResult & WithAuthorizedPrincipals(Aws::Vector< Aws::String > &&value)
UpdateSubscriptionTargetResult & WithProjectId(const Aws::String &value)
UpdateSubscriptionTargetResult & WithCreatedAt(const Aws::Utils::DateTime &value)
UpdateSubscriptionTargetResult & WithUpdatedBy(const char *value)
UpdateSubscriptionTargetResult & WithCreatedBy(const char *value)
UpdateSubscriptionTargetResult & WithProvider(const char *value)
UpdateSubscriptionTargetResult & AddSubscriptionTargetConfig(const SubscriptionTargetForm &value)
UpdateSubscriptionTargetResult & WithType(Aws::String &&value)
void SetApplicableAssetTypes(Aws::Vector< Aws::String > &&value)
UpdateSubscriptionTargetResult & AddSubscriptionTargetConfig(SubscriptionTargetForm &&value)
UpdateSubscriptionTargetResult & AddAuthorizedPrincipals(Aws::String &&value)
UpdateSubscriptionTargetResult & WithType(const char *value)
UpdateSubscriptionTargetResult & WithDomainId(const Aws::String &value)
void SetApplicableAssetTypes(const Aws::Vector< Aws::String > &value)
UpdateSubscriptionTargetResult & WithProvider(Aws::String &&value)
UpdateSubscriptionTargetResult & WithManageAccessRole(const char *value)
const Aws::Vector< Aws::String > & GetAuthorizedPrincipals() const
UpdateSubscriptionTargetResult & WithName(const Aws::String &value)
void SetSubscriptionTargetConfig(Aws::Vector< SubscriptionTargetForm > &&value)
void SetAuthorizedPrincipals(const Aws::Vector< Aws::String > &value)
UpdateSubscriptionTargetResult & WithApplicableAssetTypes(Aws::Vector< Aws::String > &&value)
UpdateSubscriptionTargetResult & WithName(const char *value)
UpdateSubscriptionTargetResult & AddApplicableAssetTypes(Aws::String &&value)
UpdateSubscriptionTargetResult & AddApplicableAssetTypes(const char *value)
UpdateSubscriptionTargetResult & WithId(Aws::String &&value)
const Aws::Vector< SubscriptionTargetForm > & GetSubscriptionTargetConfig() const
UpdateSubscriptionTargetResult & WithEnvironmentId(Aws::String &&value)
UpdateSubscriptionTargetResult & WithRequestId(Aws::String &&value)
UpdateSubscriptionTargetResult & WithAuthorizedPrincipals(const Aws::Vector< Aws::String > &value)
AWS_DATAZONE_API UpdateSubscriptionTargetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSubscriptionTargetResult & WithManageAccessRole(const Aws::String &value)
UpdateSubscriptionTargetResult & WithEnvironmentId(const char *value)
UpdateSubscriptionTargetResult & WithApplicableAssetTypes(const Aws::Vector< Aws::String > &value)
UpdateSubscriptionTargetResult & WithProvider(const Aws::String &value)
void SetSubscriptionTargetConfig(const Aws::Vector< SubscriptionTargetForm > &value)
UpdateSubscriptionTargetResult & AddAuthorizedPrincipals(const Aws::String &value)
UpdateSubscriptionTargetResult & WithCreatedBy(Aws::String &&value)
UpdateSubscriptionTargetResult & WithProjectId(const char *value)
UpdateSubscriptionTargetResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
UpdateSubscriptionTargetResult & AddAuthorizedPrincipals(const char *value)
UpdateSubscriptionTargetResult & WithSubscriptionTargetConfig(const Aws::Vector< SubscriptionTargetForm > &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