AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSubscriptionTargetResult.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:
33 AWS_DATAZONE_API GetSubscriptionTargetResult();
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 GetSubscriptionTargetResult& AddApplicableAssetTypes(const Aws::String& value) { m_applicableAssetTypes.push_back(value); return *this; }
48 inline GetSubscriptionTargetResult& AddApplicableAssetTypes(Aws::String&& value) { m_applicableAssetTypes.push_back(std::move(value)); return *this; }
49 inline GetSubscriptionTargetResult& 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 GetSubscriptionTargetResult& AddAuthorizedPrincipals(const Aws::String& value) { m_authorizedPrincipals.push_back(value); return *this; }
62 inline GetSubscriptionTargetResult& AddAuthorizedPrincipals(Aws::String&& value) { m_authorizedPrincipals.push_back(std::move(value)); return *this; }
63 inline GetSubscriptionTargetResult& 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); }
73 inline GetSubscriptionTargetResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
74 inline GetSubscriptionTargetResult& 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 GetSubscriptionTargetResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
86 inline GetSubscriptionTargetResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
87 inline GetSubscriptionTargetResult& 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 GetSubscriptionTargetResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
100 inline GetSubscriptionTargetResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
101 inline GetSubscriptionTargetResult& 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); }
112 inline GetSubscriptionTargetResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
113 inline GetSubscriptionTargetResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
114 inline GetSubscriptionTargetResult& 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 GetSubscriptionTargetResult& WithId(const Aws::String& value) { SetId(value); return *this;}
126 inline GetSubscriptionTargetResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
127 inline GetSubscriptionTargetResult& 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 GetSubscriptionTargetResult& WithManageAccessRole(Aws::String&& value) { SetManageAccessRole(std::move(value)); return *this;}
140 inline GetSubscriptionTargetResult& 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 GetSubscriptionTargetResult& WithName(const Aws::String& value) { SetName(value); return *this;}
152 inline GetSubscriptionTargetResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
153 inline GetSubscriptionTargetResult& 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 GetSubscriptionTargetResult& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
165 inline GetSubscriptionTargetResult& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
166 inline GetSubscriptionTargetResult& 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 GetSubscriptionTargetResult& WithProvider(const Aws::String& value) { SetProvider(value); return *this;}
178 inline GetSubscriptionTargetResult& WithProvider(Aws::String&& value) { SetProvider(std::move(value)); return *this;}
179 inline GetSubscriptionTargetResult& 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 GetSubscriptionTargetResult& AddSubscriptionTargetConfig(const SubscriptionTargetForm& value) { m_subscriptionTargetConfig.push_back(value); return *this; }
192 inline GetSubscriptionTargetResult& 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 GetSubscriptionTargetResult& WithType(const Aws::String& value) { SetType(value); return *this;}
204 inline GetSubscriptionTargetResult& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
205 inline GetSubscriptionTargetResult& 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); }
215 inline GetSubscriptionTargetResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
216 inline GetSubscriptionTargetResult& 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 GetSubscriptionTargetResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
228 inline GetSubscriptionTargetResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
229 inline GetSubscriptionTargetResult& 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 GetSubscriptionTargetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
239 inline GetSubscriptionTargetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
240 inline GetSubscriptionTargetResult& 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
GetSubscriptionTargetResult & WithProjectId(const char *value)
GetSubscriptionTargetResult & WithCreatedBy(Aws::String &&value)
GetSubscriptionTargetResult & WithUpdatedBy(Aws::String &&value)
GetSubscriptionTargetResult & WithAuthorizedPrincipals(Aws::Vector< Aws::String > &&value)
GetSubscriptionTargetResult & WithProvider(Aws::String &&value)
GetSubscriptionTargetResult & WithSubscriptionTargetConfig(Aws::Vector< SubscriptionTargetForm > &&value)
GetSubscriptionTargetResult & WithType(Aws::String &&value)
GetSubscriptionTargetResult & WithType(const Aws::String &value)
GetSubscriptionTargetResult & WithRequestId(Aws::String &&value)
GetSubscriptionTargetResult & AddApplicableAssetTypes(const char *value)
const Aws::Vector< Aws::String > & GetApplicableAssetTypes() const
GetSubscriptionTargetResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
GetSubscriptionTargetResult & WithRequestId(const char *value)
GetSubscriptionTargetResult & AddAuthorizedPrincipals(const Aws::String &value)
GetSubscriptionTargetResult & WithDomainId(Aws::String &&value)
GetSubscriptionTargetResult & WithManageAccessRole(const char *value)
GetSubscriptionTargetResult & AddApplicableAssetTypes(const Aws::String &value)
GetSubscriptionTargetResult & WithCreatedBy(const char *value)
void SetAuthorizedPrincipals(const Aws::Vector< Aws::String > &value)
void SetApplicableAssetTypes(const Aws::Vector< Aws::String > &value)
GetSubscriptionTargetResult & WithType(const char *value)
GetSubscriptionTargetResult & WithEnvironmentId(const char *value)
GetSubscriptionTargetResult & WithEnvironmentId(Aws::String &&value)
GetSubscriptionTargetResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetSubscriptionTargetResult & WithId(Aws::String &&value)
GetSubscriptionTargetResult & WithCreatedBy(const Aws::String &value)
GetSubscriptionTargetResult & WithProvider(const char *value)
GetSubscriptionTargetResult & WithDomainId(const Aws::String &value)
GetSubscriptionTargetResult & WithRequestId(const Aws::String &value)
void SetSubscriptionTargetConfig(Aws::Vector< SubscriptionTargetForm > &&value)
GetSubscriptionTargetResult & WithEnvironmentId(const Aws::String &value)
GetSubscriptionTargetResult & WithName(const Aws::String &value)
void SetApplicableAssetTypes(Aws::Vector< Aws::String > &&value)
GetSubscriptionTargetResult & AddSubscriptionTargetConfig(SubscriptionTargetForm &&value)
GetSubscriptionTargetResult & WithDomainId(const char *value)
GetSubscriptionTargetResult & WithSubscriptionTargetConfig(const Aws::Vector< SubscriptionTargetForm > &value)
const Aws::Vector< Aws::String > & GetAuthorizedPrincipals() const
GetSubscriptionTargetResult & WithManageAccessRole(Aws::String &&value)
void SetAuthorizedPrincipals(Aws::Vector< Aws::String > &&value)
GetSubscriptionTargetResult & WithName(const char *value)
GetSubscriptionTargetResult & WithName(Aws::String &&value)
GetSubscriptionTargetResult & AddAuthorizedPrincipals(const char *value)
GetSubscriptionTargetResult & WithApplicableAssetTypes(Aws::Vector< Aws::String > &&value)
GetSubscriptionTargetResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetSubscriptionTargetResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
GetSubscriptionTargetResult & AddAuthorizedPrincipals(Aws::String &&value)
GetSubscriptionTargetResult & WithId(const char *value)
GetSubscriptionTargetResult & WithProjectId(Aws::String &&value)
AWS_DATAZONE_API GetSubscriptionTargetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSubscriptionTargetResult & WithManageAccessRole(const Aws::String &value)
GetSubscriptionTargetResult & WithUpdatedBy(const Aws::String &value)
GetSubscriptionTargetResult & WithId(const Aws::String &value)
void SetSubscriptionTargetConfig(const Aws::Vector< SubscriptionTargetForm > &value)
GetSubscriptionTargetResult & WithApplicableAssetTypes(const Aws::Vector< Aws::String > &value)
AWS_DATAZONE_API GetSubscriptionTargetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSubscriptionTargetResult & AddApplicableAssetTypes(Aws::String &&value)
GetSubscriptionTargetResult & WithAuthorizedPrincipals(const Aws::Vector< Aws::String > &value)
const Aws::Vector< SubscriptionTargetForm > & GetSubscriptionTargetConfig() const
GetSubscriptionTargetResult & WithUpdatedBy(const char *value)
GetSubscriptionTargetResult & WithProjectId(const Aws::String &value)
GetSubscriptionTargetResult & WithProvider(const Aws::String &value)
GetSubscriptionTargetResult & AddSubscriptionTargetConfig(const 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