AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
ModifyRedshiftIdcApplicationRequest.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/AuthorizedTokenIssuer.h>
12#include <aws/redshift/model/ServiceIntegrationsUnion.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Redshift {
18namespace Model {
19
23 public:
24 AWS_REDSHIFT_API ModifyRedshiftIdcApplicationRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ModifyRedshiftIdcApplication"; }
31
32 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
36
37 public:
39
43 inline const Aws::String& GetRedshiftIdcApplicationArn() const { return m_redshiftIdcApplicationArn; }
44 inline bool RedshiftIdcApplicationArnHasBeenSet() const { return m_redshiftIdcApplicationArnHasBeenSet; }
45 template <typename RedshiftIdcApplicationArnT = Aws::String>
46 void SetRedshiftIdcApplicationArn(RedshiftIdcApplicationArnT&& value) {
47 m_redshiftIdcApplicationArnHasBeenSet = true;
48 m_redshiftIdcApplicationArn = std::forward<RedshiftIdcApplicationArnT>(value);
49 }
50 template <typename RedshiftIdcApplicationArnT = Aws::String>
52 SetRedshiftIdcApplicationArn(std::forward<RedshiftIdcApplicationArnT>(value));
53 return *this;
54 }
56
58
63 inline const Aws::String& GetIdentityNamespace() const { return m_identityNamespace; }
64 inline bool IdentityNamespaceHasBeenSet() const { return m_identityNamespaceHasBeenSet; }
65 template <typename IdentityNamespaceT = Aws::String>
66 void SetIdentityNamespace(IdentityNamespaceT&& value) {
67 m_identityNamespaceHasBeenSet = true;
68 m_identityNamespace = std::forward<IdentityNamespaceT>(value);
69 }
70 template <typename IdentityNamespaceT = Aws::String>
72 SetIdentityNamespace(std::forward<IdentityNamespaceT>(value));
73 return *this;
74 }
76
78
83 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
84 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
85 template <typename IamRoleArnT = Aws::String>
86 void SetIamRoleArn(IamRoleArnT&& value) {
87 m_iamRoleArnHasBeenSet = true;
88 m_iamRoleArn = std::forward<IamRoleArnT>(value);
89 }
90 template <typename IamRoleArnT = Aws::String>
92 SetIamRoleArn(std::forward<IamRoleArnT>(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
121 inline const Aws::Vector<AuthorizedTokenIssuer>& GetAuthorizedTokenIssuerList() const { return m_authorizedTokenIssuerList; }
122 inline bool AuthorizedTokenIssuerListHasBeenSet() const { return m_authorizedTokenIssuerListHasBeenSet; }
123 template <typename AuthorizedTokenIssuerListT = Aws::Vector<AuthorizedTokenIssuer>>
124 void SetAuthorizedTokenIssuerList(AuthorizedTokenIssuerListT&& value) {
125 m_authorizedTokenIssuerListHasBeenSet = true;
126 m_authorizedTokenIssuerList = std::forward<AuthorizedTokenIssuerListT>(value);
127 }
128 template <typename AuthorizedTokenIssuerListT = Aws::Vector<AuthorizedTokenIssuer>>
130 SetAuthorizedTokenIssuerList(std::forward<AuthorizedTokenIssuerListT>(value));
131 return *this;
132 }
133 template <typename AuthorizedTokenIssuerListT = AuthorizedTokenIssuer>
135 m_authorizedTokenIssuerListHasBeenSet = true;
136 m_authorizedTokenIssuerList.emplace_back(std::forward<AuthorizedTokenIssuerListT>(value));
137 return *this;
138 }
140
142
145 inline const Aws::Vector<ServiceIntegrationsUnion>& GetServiceIntegrations() const { return m_serviceIntegrations; }
146 inline bool ServiceIntegrationsHasBeenSet() const { return m_serviceIntegrationsHasBeenSet; }
147 template <typename ServiceIntegrationsT = Aws::Vector<ServiceIntegrationsUnion>>
148 void SetServiceIntegrations(ServiceIntegrationsT&& value) {
149 m_serviceIntegrationsHasBeenSet = true;
150 m_serviceIntegrations = std::forward<ServiceIntegrationsT>(value);
151 }
152 template <typename ServiceIntegrationsT = Aws::Vector<ServiceIntegrationsUnion>>
154 SetServiceIntegrations(std::forward<ServiceIntegrationsT>(value));
155 return *this;
156 }
157 template <typename ServiceIntegrationsT = ServiceIntegrationsUnion>
159 m_serviceIntegrationsHasBeenSet = true;
160 m_serviceIntegrations.emplace_back(std::forward<ServiceIntegrationsT>(value));
161 return *this;
162 }
164 private:
165 Aws::String m_redshiftIdcApplicationArn;
166
167 Aws::String m_identityNamespace;
168
169 Aws::String m_iamRoleArn;
170
171 Aws::String m_idcDisplayName;
172
173 Aws::Vector<AuthorizedTokenIssuer> m_authorizedTokenIssuerList;
174
175 Aws::Vector<ServiceIntegrationsUnion> m_serviceIntegrations;
176 bool m_redshiftIdcApplicationArnHasBeenSet = false;
177 bool m_identityNamespaceHasBeenSet = false;
178 bool m_iamRoleArnHasBeenSet = false;
179 bool m_idcDisplayNameHasBeenSet = false;
180 bool m_authorizedTokenIssuerListHasBeenSet = false;
181 bool m_serviceIntegrationsHasBeenSet = false;
182};
183
184} // namespace Model
185} // namespace Redshift
186} // namespace Aws
ModifyRedshiftIdcApplicationRequest & WithIdcDisplayName(IdcDisplayNameT &&value)
ModifyRedshiftIdcApplicationRequest & WithIamRoleArn(IamRoleArnT &&value)
ModifyRedshiftIdcApplicationRequest & AddAuthorizedTokenIssuerList(AuthorizedTokenIssuerListT &&value)
ModifyRedshiftIdcApplicationRequest & WithServiceIntegrations(ServiceIntegrationsT &&value)
ModifyRedshiftIdcApplicationRequest & WithAuthorizedTokenIssuerList(AuthorizedTokenIssuerListT &&value)
const Aws::Vector< AuthorizedTokenIssuer > & GetAuthorizedTokenIssuerList() const
ModifyRedshiftIdcApplicationRequest & WithIdentityNamespace(IdentityNamespaceT &&value)
ModifyRedshiftIdcApplicationRequest & AddServiceIntegrations(ServiceIntegrationsT &&value)
const Aws::Vector< ServiceIntegrationsUnion > & GetServiceIntegrations() const
AWS_REDSHIFT_API Aws::String SerializePayload() const override
ModifyRedshiftIdcApplicationRequest & WithRedshiftIdcApplicationArn(RedshiftIdcApplicationArnT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector