AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateRedshiftIdcApplicationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift/RedshiftRequest.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11#include <aws/redshift/model/ApplicationType.h>
12#include <aws/redshift/model/AuthorizedTokenIssuer.h>
13#include <aws/redshift/model/ServiceIntegrationsUnion.h>
14#include <aws/redshift/model/Tag.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Redshift {
20namespace Model {
21
25 public:
26 AWS_REDSHIFT_API CreateRedshiftIdcApplicationRequest() = default;
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 "CreateRedshiftIdcApplication"; }
33
34 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
38
39 public:
41
45 inline const Aws::String& GetIdcInstanceArn() const { return m_idcInstanceArn; }
46 inline bool IdcInstanceArnHasBeenSet() const { return m_idcInstanceArnHasBeenSet; }
47 template <typename IdcInstanceArnT = Aws::String>
48 void SetIdcInstanceArn(IdcInstanceArnT&& value) {
49 m_idcInstanceArnHasBeenSet = true;
50 m_idcInstanceArn = std::forward<IdcInstanceArnT>(value);
51 }
52 template <typename IdcInstanceArnT = Aws::String>
54 SetIdcInstanceArn(std::forward<IdcInstanceArnT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetRedshiftIdcApplicationName() const { return m_redshiftIdcApplicationName; }
64 inline bool RedshiftIdcApplicationNameHasBeenSet() const { return m_redshiftIdcApplicationNameHasBeenSet; }
65 template <typename RedshiftIdcApplicationNameT = Aws::String>
66 void SetRedshiftIdcApplicationName(RedshiftIdcApplicationNameT&& value) {
67 m_redshiftIdcApplicationNameHasBeenSet = true;
68 m_redshiftIdcApplicationName = std::forward<RedshiftIdcApplicationNameT>(value);
69 }
70 template <typename RedshiftIdcApplicationNameT = Aws::String>
72 SetRedshiftIdcApplicationName(std::forward<RedshiftIdcApplicationNameT>(value));
73 return *this;
74 }
76
78
83 inline const Aws::String& GetIdentityNamespace() const { return m_identityNamespace; }
84 inline bool IdentityNamespaceHasBeenSet() const { return m_identityNamespaceHasBeenSet; }
85 template <typename IdentityNamespaceT = Aws::String>
86 void SetIdentityNamespace(IdentityNamespaceT&& value) {
87 m_identityNamespaceHasBeenSet = true;
88 m_identityNamespace = std::forward<IdentityNamespaceT>(value);
89 }
90 template <typename IdentityNamespaceT = Aws::String>
92 SetIdentityNamespace(std::forward<IdentityNamespaceT>(value));
93 return *this;
94 }
96
98
102 inline const Aws::String& GetIdcDisplayName() const { return m_idcDisplayName; }
103 inline bool IdcDisplayNameHasBeenSet() const { return m_idcDisplayNameHasBeenSet; }
104 template <typename IdcDisplayNameT = Aws::String>
105 void SetIdcDisplayName(IdcDisplayNameT&& value) {
106 m_idcDisplayNameHasBeenSet = true;
107 m_idcDisplayName = std::forward<IdcDisplayNameT>(value);
108 }
109 template <typename IdcDisplayNameT = Aws::String>
111 SetIdcDisplayName(std::forward<IdcDisplayNameT>(value));
112 return *this;
113 }
115
117
122 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
123 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
124 template <typename IamRoleArnT = Aws::String>
125 void SetIamRoleArn(IamRoleArnT&& value) {
126 m_iamRoleArnHasBeenSet = true;
127 m_iamRoleArn = std::forward<IamRoleArnT>(value);
128 }
129 template <typename IamRoleArnT = Aws::String>
131 SetIamRoleArn(std::forward<IamRoleArnT>(value));
132 return *this;
133 }
135
137
141 inline const Aws::Vector<AuthorizedTokenIssuer>& GetAuthorizedTokenIssuerList() const { return m_authorizedTokenIssuerList; }
142 inline bool AuthorizedTokenIssuerListHasBeenSet() const { return m_authorizedTokenIssuerListHasBeenSet; }
143 template <typename AuthorizedTokenIssuerListT = Aws::Vector<AuthorizedTokenIssuer>>
144 void SetAuthorizedTokenIssuerList(AuthorizedTokenIssuerListT&& value) {
145 m_authorizedTokenIssuerListHasBeenSet = true;
146 m_authorizedTokenIssuerList = std::forward<AuthorizedTokenIssuerListT>(value);
147 }
148 template <typename AuthorizedTokenIssuerListT = Aws::Vector<AuthorizedTokenIssuer>>
150 SetAuthorizedTokenIssuerList(std::forward<AuthorizedTokenIssuerListT>(value));
151 return *this;
152 }
153 template <typename AuthorizedTokenIssuerListT = AuthorizedTokenIssuer>
155 m_authorizedTokenIssuerListHasBeenSet = true;
156 m_authorizedTokenIssuerList.emplace_back(std::forward<AuthorizedTokenIssuerListT>(value));
157 return *this;
158 }
160
162
166 inline const Aws::Vector<ServiceIntegrationsUnion>& GetServiceIntegrations() const { return m_serviceIntegrations; }
167 inline bool ServiceIntegrationsHasBeenSet() const { return m_serviceIntegrationsHasBeenSet; }
168 template <typename ServiceIntegrationsT = Aws::Vector<ServiceIntegrationsUnion>>
169 void SetServiceIntegrations(ServiceIntegrationsT&& value) {
170 m_serviceIntegrationsHasBeenSet = true;
171 m_serviceIntegrations = std::forward<ServiceIntegrationsT>(value);
172 }
173 template <typename ServiceIntegrationsT = Aws::Vector<ServiceIntegrationsUnion>>
175 SetServiceIntegrations(std::forward<ServiceIntegrationsT>(value));
176 return *this;
177 }
178 template <typename ServiceIntegrationsT = ServiceIntegrationsUnion>
180 m_serviceIntegrationsHasBeenSet = true;
181 m_serviceIntegrations.emplace_back(std::forward<ServiceIntegrationsT>(value));
182 return *this;
183 }
185
187
192 inline ApplicationType GetApplicationType() const { return m_applicationType; }
193 inline bool ApplicationTypeHasBeenSet() const { return m_applicationTypeHasBeenSet; }
195 m_applicationTypeHasBeenSet = true;
196 m_applicationType = value;
197 }
199 SetApplicationType(value);
200 return *this;
201 }
203
205
208 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
209 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
210 template <typename TagsT = Aws::Vector<Tag>>
211 void SetTags(TagsT&& value) {
212 m_tagsHasBeenSet = true;
213 m_tags = std::forward<TagsT>(value);
214 }
215 template <typename TagsT = Aws::Vector<Tag>>
217 SetTags(std::forward<TagsT>(value));
218 return *this;
219 }
220 template <typename TagsT = Tag>
222 m_tagsHasBeenSet = true;
223 m_tags.emplace_back(std::forward<TagsT>(value));
224 return *this;
225 }
227
229
234 inline const Aws::Vector<Aws::String>& GetSsoTagKeys() const { return m_ssoTagKeys; }
235 inline bool SsoTagKeysHasBeenSet() const { return m_ssoTagKeysHasBeenSet; }
236 template <typename SsoTagKeysT = Aws::Vector<Aws::String>>
237 void SetSsoTagKeys(SsoTagKeysT&& value) {
238 m_ssoTagKeysHasBeenSet = true;
239 m_ssoTagKeys = std::forward<SsoTagKeysT>(value);
240 }
241 template <typename SsoTagKeysT = Aws::Vector<Aws::String>>
243 SetSsoTagKeys(std::forward<SsoTagKeysT>(value));
244 return *this;
245 }
246 template <typename SsoTagKeysT = Aws::String>
248 m_ssoTagKeysHasBeenSet = true;
249 m_ssoTagKeys.emplace_back(std::forward<SsoTagKeysT>(value));
250 return *this;
251 }
253 private:
254 Aws::String m_idcInstanceArn;
255
256 Aws::String m_redshiftIdcApplicationName;
257
258 Aws::String m_identityNamespace;
259
260 Aws::String m_idcDisplayName;
261
262 Aws::String m_iamRoleArn;
263
264 Aws::Vector<AuthorizedTokenIssuer> m_authorizedTokenIssuerList;
265
266 Aws::Vector<ServiceIntegrationsUnion> m_serviceIntegrations;
267
268 ApplicationType m_applicationType{ApplicationType::NOT_SET};
269
270 Aws::Vector<Tag> m_tags;
271
272 Aws::Vector<Aws::String> m_ssoTagKeys;
273 bool m_idcInstanceArnHasBeenSet = false;
274 bool m_redshiftIdcApplicationNameHasBeenSet = false;
275 bool m_identityNamespaceHasBeenSet = false;
276 bool m_idcDisplayNameHasBeenSet = false;
277 bool m_iamRoleArnHasBeenSet = false;
278 bool m_authorizedTokenIssuerListHasBeenSet = false;
279 bool m_serviceIntegrationsHasBeenSet = false;
280 bool m_applicationTypeHasBeenSet = false;
281 bool m_tagsHasBeenSet = false;
282 bool m_ssoTagKeysHasBeenSet = false;
283};
284
285} // namespace Model
286} // namespace Redshift
287} // namespace Aws
CreateRedshiftIdcApplicationRequest & WithTags(TagsT &&value)
CreateRedshiftIdcApplicationRequest & WithAuthorizedTokenIssuerList(AuthorizedTokenIssuerListT &&value)
CreateRedshiftIdcApplicationRequest & WithIdcDisplayName(IdcDisplayNameT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
CreateRedshiftIdcApplicationRequest & WithIdcInstanceArn(IdcInstanceArnT &&value)
CreateRedshiftIdcApplicationRequest & WithIdentityNamespace(IdentityNamespaceT &&value)
CreateRedshiftIdcApplicationRequest & AddServiceIntegrations(ServiceIntegrationsT &&value)
CreateRedshiftIdcApplicationRequest & WithSsoTagKeys(SsoTagKeysT &&value)
CreateRedshiftIdcApplicationRequest & AddSsoTagKeys(SsoTagKeysT &&value)
const Aws::Vector< ServiceIntegrationsUnion > & GetServiceIntegrations() const
CreateRedshiftIdcApplicationRequest & WithIamRoleArn(IamRoleArnT &&value)
const Aws::Vector< AuthorizedTokenIssuer > & GetAuthorizedTokenIssuerList() const
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateRedshiftIdcApplicationRequest & WithApplicationType(ApplicationType value)
CreateRedshiftIdcApplicationRequest & WithServiceIntegrations(ServiceIntegrationsT &&value)
CreateRedshiftIdcApplicationRequest & WithRedshiftIdcApplicationName(RedshiftIdcApplicationNameT &&value)
CreateRedshiftIdcApplicationRequest & AddAuthorizedTokenIssuerList(AuthorizedTokenIssuerListT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector