AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSubscriptionTargetResult.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
42 inline const Aws::Vector<Aws::String>& GetApplicableAssetTypes() const{ return m_applicableAssetTypes; }
43 inline void SetApplicableAssetTypes(const Aws::Vector<Aws::String>& value) { m_applicableAssetTypes = value; }
44 inline void SetApplicableAssetTypes(Aws::Vector<Aws::String>&& value) { m_applicableAssetTypes = std::move(value); }
47 inline CreateSubscriptionTargetResult& AddApplicableAssetTypes(const Aws::String& value) { m_applicableAssetTypes.push_back(value); return *this; }
48 inline CreateSubscriptionTargetResult& AddApplicableAssetTypes(Aws::String&& value) { m_applicableAssetTypes.push_back(std::move(value)); return *this; }
49 inline CreateSubscriptionTargetResult& AddApplicableAssetTypes(const char* value) { m_applicableAssetTypes.push_back(value); return *this; }
51
53
56 inline const Aws::Vector<Aws::String>& GetAuthorizedPrincipals() const{ return m_authorizedPrincipals; }
57 inline void SetAuthorizedPrincipals(const Aws::Vector<Aws::String>& value) { m_authorizedPrincipals = value; }
58 inline void SetAuthorizedPrincipals(Aws::Vector<Aws::String>&& value) { m_authorizedPrincipals = std::move(value); }
61 inline CreateSubscriptionTargetResult& AddAuthorizedPrincipals(const Aws::String& value) { m_authorizedPrincipals.push_back(value); return *this; }
62 inline CreateSubscriptionTargetResult& AddAuthorizedPrincipals(Aws::String&& value) { m_authorizedPrincipals.push_back(std::move(value)); return *this; }
63 inline CreateSubscriptionTargetResult& AddAuthorizedPrincipals(const char* value) { m_authorizedPrincipals.push_back(value); return *this; }
65
67
70 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
71 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
72 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
74 inline CreateSubscriptionTargetResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
76
78
81 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
82 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
83 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
84 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
85 inline CreateSubscriptionTargetResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
86 inline CreateSubscriptionTargetResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
87 inline CreateSubscriptionTargetResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
89
91
95 inline const Aws::String& GetDomainId() const{ return m_domainId; }
96 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
97 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
98 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
99 inline CreateSubscriptionTargetResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
100 inline CreateSubscriptionTargetResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
101 inline CreateSubscriptionTargetResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
103
105
108 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
109 inline void SetEnvironmentId(const Aws::String& value) { m_environmentId = value; }
110 inline void SetEnvironmentId(Aws::String&& value) { m_environmentId = std::move(value); }
111 inline void SetEnvironmentId(const char* value) { m_environmentId.assign(value); }
113 inline CreateSubscriptionTargetResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
114 inline CreateSubscriptionTargetResult& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
116
118
121 inline const Aws::String& GetId() const{ return m_id; }
122 inline void SetId(const Aws::String& value) { m_id = value; }
123 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
124 inline void SetId(const char* value) { m_id.assign(value); }
125 inline CreateSubscriptionTargetResult& WithId(const Aws::String& value) { SetId(value); return *this;}
126 inline CreateSubscriptionTargetResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
127 inline CreateSubscriptionTargetResult& WithId(const char* value) { SetId(value); return *this;}
129
131
134 inline const Aws::String& GetManageAccessRole() const{ return m_manageAccessRole; }
135 inline void SetManageAccessRole(const Aws::String& value) { m_manageAccessRole = value; }
136 inline void SetManageAccessRole(Aws::String&& value) { m_manageAccessRole = std::move(value); }
137 inline void SetManageAccessRole(const char* value) { m_manageAccessRole.assign(value); }
139 inline CreateSubscriptionTargetResult& WithManageAccessRole(Aws::String&& value) { SetManageAccessRole(std::move(value)); return *this;}
140 inline CreateSubscriptionTargetResult& WithManageAccessRole(const char* value) { SetManageAccessRole(value); return *this;}
142
144
147 inline const Aws::String& GetName() const{ return m_name; }
148 inline void SetName(const Aws::String& value) { m_name = value; }
149 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
150 inline void SetName(const char* value) { m_name.assign(value); }
151 inline CreateSubscriptionTargetResult& WithName(const Aws::String& value) { SetName(value); return *this;}
152 inline CreateSubscriptionTargetResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
153 inline CreateSubscriptionTargetResult& WithName(const char* value) { SetName(value); return *this;}
155
157
160 inline const Aws::String& GetProjectId() const{ return m_projectId; }
161 inline void SetProjectId(const Aws::String& value) { m_projectId = value; }
162 inline void SetProjectId(Aws::String&& value) { m_projectId = std::move(value); }
163 inline void SetProjectId(const char* value) { m_projectId.assign(value); }
164 inline CreateSubscriptionTargetResult& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
165 inline CreateSubscriptionTargetResult& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
166 inline CreateSubscriptionTargetResult& WithProjectId(const char* value) { SetProjectId(value); return *this;}
168
170
173 inline const Aws::String& GetProvider() const{ return m_provider; }
174 inline void SetProvider(const Aws::String& value) { m_provider = value; }
175 inline void SetProvider(Aws::String&& value) { m_provider = std::move(value); }
176 inline void SetProvider(const char* value) { m_provider.assign(value); }
177 inline CreateSubscriptionTargetResult& WithProvider(const Aws::String& value) { SetProvider(value); return *this;}
178 inline CreateSubscriptionTargetResult& WithProvider(Aws::String&& value) { SetProvider(std::move(value)); return *this;}
179 inline CreateSubscriptionTargetResult& WithProvider(const char* value) { SetProvider(value); return *this;}
181
183
186 inline const Aws::Vector<SubscriptionTargetForm>& GetSubscriptionTargetConfig() const{ return m_subscriptionTargetConfig; }
187 inline void SetSubscriptionTargetConfig(const Aws::Vector<SubscriptionTargetForm>& value) { m_subscriptionTargetConfig = value; }
188 inline void SetSubscriptionTargetConfig(Aws::Vector<SubscriptionTargetForm>&& value) { m_subscriptionTargetConfig = std::move(value); }
191 inline CreateSubscriptionTargetResult& AddSubscriptionTargetConfig(const SubscriptionTargetForm& value) { m_subscriptionTargetConfig.push_back(value); return *this; }
192 inline CreateSubscriptionTargetResult& AddSubscriptionTargetConfig(SubscriptionTargetForm&& value) { m_subscriptionTargetConfig.push_back(std::move(value)); return *this; }
194
196
199 inline const Aws::String& GetType() const{ return m_type; }
200 inline void SetType(const Aws::String& value) { m_type = value; }
201 inline void SetType(Aws::String&& value) { m_type = std::move(value); }
202 inline void SetType(const char* value) { m_type.assign(value); }
203 inline CreateSubscriptionTargetResult& WithType(const Aws::String& value) { SetType(value); return *this;}
204 inline CreateSubscriptionTargetResult& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
205 inline CreateSubscriptionTargetResult& WithType(const char* value) { SetType(value); return *this;}
207
209
212 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
213 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
214 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
216 inline CreateSubscriptionTargetResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
218
220
223 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
224 inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; }
225 inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); }
226 inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); }
227 inline CreateSubscriptionTargetResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
228 inline CreateSubscriptionTargetResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
229 inline CreateSubscriptionTargetResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
231
233
234 inline const Aws::String& GetRequestId() const{ return m_requestId; }
235 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
236 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
237 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
238 inline CreateSubscriptionTargetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
239 inline CreateSubscriptionTargetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
240 inline CreateSubscriptionTargetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
242 private:
243
244 Aws::Vector<Aws::String> m_applicableAssetTypes;
245
246 Aws::Vector<Aws::String> m_authorizedPrincipals;
247
248 Aws::Utils::DateTime m_createdAt;
249
250 Aws::String m_createdBy;
251
252 Aws::String m_domainId;
253
254 Aws::String m_environmentId;
255
256 Aws::String m_id;
257
258 Aws::String m_manageAccessRole;
259
260 Aws::String m_name;
261
262 Aws::String m_projectId;
263
264 Aws::String m_provider;
265
266 Aws::Vector<SubscriptionTargetForm> m_subscriptionTargetConfig;
267
268 Aws::String m_type;
269
270 Aws::Utils::DateTime m_updatedAt;
271
272 Aws::String m_updatedBy;
273
274 Aws::String m_requestId;
275 };
276
277} // namespace Model
278} // namespace DataZone
279} // namespace Aws
CreateSubscriptionTargetResult & AddAuthorizedPrincipals(Aws::String &&value)
CreateSubscriptionTargetResult & WithRequestId(const char *value)
void SetAuthorizedPrincipals(const Aws::Vector< Aws::String > &value)
CreateSubscriptionTargetResult & WithId(const Aws::String &value)
CreateSubscriptionTargetResult & WithEnvironmentId(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAuthorizedPrincipals() const
CreateSubscriptionTargetResult & WithName(Aws::String &&value)
CreateSubscriptionTargetResult & WithCreatedAt(Aws::Utils::DateTime &&value)
CreateSubscriptionTargetResult & WithUpdatedBy(const Aws::String &value)
CreateSubscriptionTargetResult & WithId(const char *value)
CreateSubscriptionTargetResult & WithId(Aws::String &&value)
CreateSubscriptionTargetResult & WithType(Aws::String &&value)
CreateSubscriptionTargetResult & WithProjectId(const char *value)
CreateSubscriptionTargetResult & WithProvider(const Aws::String &value)
AWS_DATAZONE_API CreateSubscriptionTargetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSubscriptionTargetResult & WithCreatedBy(Aws::String &&value)
CreateSubscriptionTargetResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
CreateSubscriptionTargetResult & WithProjectId(const Aws::String &value)
CreateSubscriptionTargetResult & WithRequestId(const Aws::String &value)
CreateSubscriptionTargetResult & WithSubscriptionTargetConfig(const Aws::Vector< SubscriptionTargetForm > &value)
CreateSubscriptionTargetResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
CreateSubscriptionTargetResult & WithCreatedBy(const Aws::String &value)
CreateSubscriptionTargetResult & WithAuthorizedPrincipals(Aws::Vector< Aws::String > &&value)
CreateSubscriptionTargetResult & WithEnvironmentId(const Aws::String &value)
CreateSubscriptionTargetResult & WithDomainId(Aws::String &&value)
CreateSubscriptionTargetResult & WithProvider(const char *value)
CreateSubscriptionTargetResult & AddSubscriptionTargetConfig(const SubscriptionTargetForm &value)
CreateSubscriptionTargetResult & WithRequestId(Aws::String &&value)
const Aws::Vector< Aws::String > & GetApplicableAssetTypes() const
void SetAuthorizedPrincipals(Aws::Vector< Aws::String > &&value)
CreateSubscriptionTargetResult & AddSubscriptionTargetConfig(SubscriptionTargetForm &&value)
void SetApplicableAssetTypes(Aws::Vector< Aws::String > &&value)
CreateSubscriptionTargetResult & WithType(const Aws::String &value)
CreateSubscriptionTargetResult & AddAuthorizedPrincipals(const Aws::String &value)
CreateSubscriptionTargetResult & WithAuthorizedPrincipals(const Aws::Vector< Aws::String > &value)
CreateSubscriptionTargetResult & WithApplicableAssetTypes(const Aws::Vector< Aws::String > &value)
CreateSubscriptionTargetResult & AddApplicableAssetTypes(Aws::String &&value)
CreateSubscriptionTargetResult & WithProvider(Aws::String &&value)
CreateSubscriptionTargetResult & WithCreatedBy(const char *value)
CreateSubscriptionTargetResult & AddApplicableAssetTypes(const Aws::String &value)
CreateSubscriptionTargetResult & WithSubscriptionTargetConfig(Aws::Vector< SubscriptionTargetForm > &&value)
CreateSubscriptionTargetResult & WithProjectId(Aws::String &&value)
void SetSubscriptionTargetConfig(const Aws::Vector< SubscriptionTargetForm > &value)
CreateSubscriptionTargetResult & WithApplicableAssetTypes(Aws::Vector< Aws::String > &&value)
CreateSubscriptionTargetResult & WithDomainId(const Aws::String &value)
CreateSubscriptionTargetResult & WithUpdatedBy(const char *value)
CreateSubscriptionTargetResult & WithCreatedAt(const Aws::Utils::DateTime &value)
CreateSubscriptionTargetResult & WithDomainId(const char *value)
CreateSubscriptionTargetResult & WithManageAccessRole(const char *value)
CreateSubscriptionTargetResult & WithUpdatedBy(Aws::String &&value)
CreateSubscriptionTargetResult & WithManageAccessRole(Aws::String &&value)
CreateSubscriptionTargetResult & WithEnvironmentId(const char *value)
CreateSubscriptionTargetResult & WithName(const char *value)
CreateSubscriptionTargetResult & AddAuthorizedPrincipals(const char *value)
CreateSubscriptionTargetResult & AddApplicableAssetTypes(const char *value)
void SetApplicableAssetTypes(const Aws::Vector< Aws::String > &value)
const Aws::Vector< SubscriptionTargetForm > & GetSubscriptionTargetConfig() const
void SetSubscriptionTargetConfig(Aws::Vector< SubscriptionTargetForm > &&value)
CreateSubscriptionTargetResult & WithType(const char *value)
CreateSubscriptionTargetResult & WithManageAccessRole(const Aws::String &value)
CreateSubscriptionTargetResult & WithName(const Aws::String &value)
AWS_DATAZONE_API CreateSubscriptionTargetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue