AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSubscriptionTargetRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/datazone/model/SubscriptionTargetForm.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DataZone
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateSubscriptionTarget"; }
33
34 AWS_DATAZONE_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::Vector<Aws::String>& GetApplicableAssetTypes() const{ return m_applicableAssetTypes; }
43 inline bool ApplicableAssetTypesHasBeenSet() const { return m_applicableAssetTypesHasBeenSet; }
44 inline void SetApplicableAssetTypes(const Aws::Vector<Aws::String>& value) { m_applicableAssetTypesHasBeenSet = true; m_applicableAssetTypes = value; }
45 inline void SetApplicableAssetTypes(Aws::Vector<Aws::String>&& value) { m_applicableAssetTypesHasBeenSet = true; m_applicableAssetTypes = std::move(value); }
48 inline UpdateSubscriptionTargetRequest& AddApplicableAssetTypes(const Aws::String& value) { m_applicableAssetTypesHasBeenSet = true; m_applicableAssetTypes.push_back(value); return *this; }
49 inline UpdateSubscriptionTargetRequest& AddApplicableAssetTypes(Aws::String&& value) { m_applicableAssetTypesHasBeenSet = true; m_applicableAssetTypes.push_back(std::move(value)); return *this; }
50 inline UpdateSubscriptionTargetRequest& AddApplicableAssetTypes(const char* value) { m_applicableAssetTypesHasBeenSet = true; m_applicableAssetTypes.push_back(value); return *this; }
52
54
58 inline const Aws::Vector<Aws::String>& GetAuthorizedPrincipals() const{ return m_authorizedPrincipals; }
59 inline bool AuthorizedPrincipalsHasBeenSet() const { return m_authorizedPrincipalsHasBeenSet; }
60 inline void SetAuthorizedPrincipals(const Aws::Vector<Aws::String>& value) { m_authorizedPrincipalsHasBeenSet = true; m_authorizedPrincipals = value; }
61 inline void SetAuthorizedPrincipals(Aws::Vector<Aws::String>&& value) { m_authorizedPrincipalsHasBeenSet = true; m_authorizedPrincipals = std::move(value); }
64 inline UpdateSubscriptionTargetRequest& AddAuthorizedPrincipals(const Aws::String& value) { m_authorizedPrincipalsHasBeenSet = true; m_authorizedPrincipals.push_back(value); return *this; }
65 inline UpdateSubscriptionTargetRequest& AddAuthorizedPrincipals(Aws::String&& value) { m_authorizedPrincipalsHasBeenSet = true; m_authorizedPrincipals.push_back(std::move(value)); return *this; }
66 inline UpdateSubscriptionTargetRequest& AddAuthorizedPrincipals(const char* value) { m_authorizedPrincipalsHasBeenSet = true; m_authorizedPrincipals.push_back(value); return *this; }
68
70
74 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
75 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
76 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
77 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
78 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
80 inline UpdateSubscriptionTargetRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
81 inline UpdateSubscriptionTargetRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
83
85
89 inline const Aws::String& GetEnvironmentIdentifier() const{ return m_environmentIdentifier; }
90 inline bool EnvironmentIdentifierHasBeenSet() const { return m_environmentIdentifierHasBeenSet; }
91 inline void SetEnvironmentIdentifier(const Aws::String& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = value; }
92 inline void SetEnvironmentIdentifier(Aws::String&& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = std::move(value); }
93 inline void SetEnvironmentIdentifier(const char* value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier.assign(value); }
98
100
103 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
104 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
105 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
106 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
107 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
108 inline UpdateSubscriptionTargetRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
109 inline UpdateSubscriptionTargetRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
110 inline UpdateSubscriptionTargetRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
112
114
118 inline const Aws::String& GetManageAccessRole() const{ return m_manageAccessRole; }
119 inline bool ManageAccessRoleHasBeenSet() const { return m_manageAccessRoleHasBeenSet; }
120 inline void SetManageAccessRole(const Aws::String& value) { m_manageAccessRoleHasBeenSet = true; m_manageAccessRole = value; }
121 inline void SetManageAccessRole(Aws::String&& value) { m_manageAccessRoleHasBeenSet = true; m_manageAccessRole = std::move(value); }
122 inline void SetManageAccessRole(const char* value) { m_manageAccessRoleHasBeenSet = true; m_manageAccessRole.assign(value); }
124 inline UpdateSubscriptionTargetRequest& WithManageAccessRole(Aws::String&& value) { SetManageAccessRole(std::move(value)); return *this;}
125 inline UpdateSubscriptionTargetRequest& WithManageAccessRole(const char* value) { SetManageAccessRole(value); return *this;}
127
129
133 inline const Aws::String& GetName() const{ return m_name; }
134 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
135 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
136 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
137 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
138 inline UpdateSubscriptionTargetRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
139 inline UpdateSubscriptionTargetRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
140 inline UpdateSubscriptionTargetRequest& WithName(const char* value) { SetName(value); return *this;}
142
144
148 inline const Aws::String& GetProvider() const{ return m_provider; }
149 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
150 inline void SetProvider(const Aws::String& value) { m_providerHasBeenSet = true; m_provider = value; }
151 inline void SetProvider(Aws::String&& value) { m_providerHasBeenSet = true; m_provider = std::move(value); }
152 inline void SetProvider(const char* value) { m_providerHasBeenSet = true; m_provider.assign(value); }
153 inline UpdateSubscriptionTargetRequest& WithProvider(const Aws::String& value) { SetProvider(value); return *this;}
154 inline UpdateSubscriptionTargetRequest& WithProvider(Aws::String&& value) { SetProvider(std::move(value)); return *this;}
155 inline UpdateSubscriptionTargetRequest& WithProvider(const char* value) { SetProvider(value); return *this;}
157
159
163 inline const Aws::Vector<SubscriptionTargetForm>& GetSubscriptionTargetConfig() const{ return m_subscriptionTargetConfig; }
164 inline bool SubscriptionTargetConfigHasBeenSet() const { return m_subscriptionTargetConfigHasBeenSet; }
165 inline void SetSubscriptionTargetConfig(const Aws::Vector<SubscriptionTargetForm>& value) { m_subscriptionTargetConfigHasBeenSet = true; m_subscriptionTargetConfig = value; }
166 inline void SetSubscriptionTargetConfig(Aws::Vector<SubscriptionTargetForm>&& value) { m_subscriptionTargetConfigHasBeenSet = true; m_subscriptionTargetConfig = std::move(value); }
169 inline UpdateSubscriptionTargetRequest& AddSubscriptionTargetConfig(const SubscriptionTargetForm& value) { m_subscriptionTargetConfigHasBeenSet = true; m_subscriptionTargetConfig.push_back(value); return *this; }
170 inline UpdateSubscriptionTargetRequest& AddSubscriptionTargetConfig(SubscriptionTargetForm&& value) { m_subscriptionTargetConfigHasBeenSet = true; m_subscriptionTargetConfig.push_back(std::move(value)); return *this; }
172 private:
173
174 Aws::Vector<Aws::String> m_applicableAssetTypes;
175 bool m_applicableAssetTypesHasBeenSet = false;
176
177 Aws::Vector<Aws::String> m_authorizedPrincipals;
178 bool m_authorizedPrincipalsHasBeenSet = false;
179
180 Aws::String m_domainIdentifier;
181 bool m_domainIdentifierHasBeenSet = false;
182
183 Aws::String m_environmentIdentifier;
184 bool m_environmentIdentifierHasBeenSet = false;
185
186 Aws::String m_identifier;
187 bool m_identifierHasBeenSet = false;
188
189 Aws::String m_manageAccessRole;
190 bool m_manageAccessRoleHasBeenSet = false;
191
192 Aws::String m_name;
193 bool m_nameHasBeenSet = false;
194
195 Aws::String m_provider;
196 bool m_providerHasBeenSet = false;
197
198 Aws::Vector<SubscriptionTargetForm> m_subscriptionTargetConfig;
199 bool m_subscriptionTargetConfigHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace DataZone
204} // namespace Aws
UpdateSubscriptionTargetRequest & AddApplicableAssetTypes(const Aws::String &value)
void SetSubscriptionTargetConfig(Aws::Vector< SubscriptionTargetForm > &&value)
UpdateSubscriptionTargetRequest & WithName(const char *value)
UpdateSubscriptionTargetRequest & WithProvider(Aws::String &&value)
UpdateSubscriptionTargetRequest & WithAuthorizedPrincipals(Aws::Vector< Aws::String > &&value)
void SetSubscriptionTargetConfig(const Aws::Vector< SubscriptionTargetForm > &value)
UpdateSubscriptionTargetRequest & AddApplicableAssetTypes(Aws::String &&value)
UpdateSubscriptionTargetRequest & AddAuthorizedPrincipals(const Aws::String &value)
UpdateSubscriptionTargetRequest & WithEnvironmentIdentifier(const Aws::String &value)
UpdateSubscriptionTargetRequest & WithSubscriptionTargetConfig(Aws::Vector< SubscriptionTargetForm > &&value)
void SetAuthorizedPrincipals(const Aws::Vector< Aws::String > &value)
UpdateSubscriptionTargetRequest & WithDomainIdentifier(const char *value)
const Aws::Vector< Aws::String > & GetAuthorizedPrincipals() const
UpdateSubscriptionTargetRequest & WithSubscriptionTargetConfig(const Aws::Vector< SubscriptionTargetForm > &value)
UpdateSubscriptionTargetRequest & AddAuthorizedPrincipals(Aws::String &&value)
UpdateSubscriptionTargetRequest & WithProvider(const Aws::String &value)
UpdateSubscriptionTargetRequest & WithApplicableAssetTypes(const Aws::Vector< Aws::String > &value)
UpdateSubscriptionTargetRequest & WithAuthorizedPrincipals(const Aws::Vector< Aws::String > &value)
UpdateSubscriptionTargetRequest & WithDomainIdentifier(const Aws::String &value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
const Aws::Vector< SubscriptionTargetForm > & GetSubscriptionTargetConfig() const
UpdateSubscriptionTargetRequest & WithManageAccessRole(Aws::String &&value)
UpdateSubscriptionTargetRequest & WithEnvironmentIdentifier(const char *value)
UpdateSubscriptionTargetRequest & WithIdentifier(const Aws::String &value)
UpdateSubscriptionTargetRequest & WithApplicableAssetTypes(Aws::Vector< Aws::String > &&value)
UpdateSubscriptionTargetRequest & AddAuthorizedPrincipals(const char *value)
UpdateSubscriptionTargetRequest & WithIdentifier(Aws::String &&value)
UpdateSubscriptionTargetRequest & WithEnvironmentIdentifier(Aws::String &&value)
UpdateSubscriptionTargetRequest & AddApplicableAssetTypes(const char *value)
UpdateSubscriptionTargetRequest & WithManageAccessRole(const char *value)
UpdateSubscriptionTargetRequest & WithName(Aws::String &&value)
UpdateSubscriptionTargetRequest & AddSubscriptionTargetConfig(SubscriptionTargetForm &&value)
const Aws::Vector< Aws::String > & GetApplicableAssetTypes() const
UpdateSubscriptionTargetRequest & WithDomainIdentifier(Aws::String &&value)
UpdateSubscriptionTargetRequest & WithIdentifier(const char *value)
UpdateSubscriptionTargetRequest & WithProvider(const char *value)
UpdateSubscriptionTargetRequest & WithName(const Aws::String &value)
void SetApplicableAssetTypes(const Aws::Vector< Aws::String > &value)
UpdateSubscriptionTargetRequest & AddSubscriptionTargetConfig(const SubscriptionTargetForm &value)
UpdateSubscriptionTargetRequest & WithManageAccessRole(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector