AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ModifyRedshiftIdcApplicationRequest.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/model/AuthorizedTokenIssuer.h>
12#include <aws/redshift/model/ServiceIntegrationsUnion.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Redshift
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_REDSHIFT_API ModifyRedshiftIdcApplicationRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ModifyRedshiftIdcApplication"; }
34
35 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39
40 public:
41
43
47 inline const Aws::String& GetRedshiftIdcApplicationArn() const { return m_redshiftIdcApplicationArn; }
48 inline bool RedshiftIdcApplicationArnHasBeenSet() const { return m_redshiftIdcApplicationArnHasBeenSet; }
49 template<typename RedshiftIdcApplicationArnT = Aws::String>
50 void SetRedshiftIdcApplicationArn(RedshiftIdcApplicationArnT&& value) { m_redshiftIdcApplicationArnHasBeenSet = true; m_redshiftIdcApplicationArn = std::forward<RedshiftIdcApplicationArnT>(value); }
51 template<typename RedshiftIdcApplicationArnT = Aws::String>
52 ModifyRedshiftIdcApplicationRequest& WithRedshiftIdcApplicationArn(RedshiftIdcApplicationArnT&& value) { SetRedshiftIdcApplicationArn(std::forward<RedshiftIdcApplicationArnT>(value)); return *this;}
54
56
61 inline const Aws::String& GetIdentityNamespace() const { return m_identityNamespace; }
62 inline bool IdentityNamespaceHasBeenSet() const { return m_identityNamespaceHasBeenSet; }
63 template<typename IdentityNamespaceT = Aws::String>
64 void SetIdentityNamespace(IdentityNamespaceT&& value) { m_identityNamespaceHasBeenSet = true; m_identityNamespace = std::forward<IdentityNamespaceT>(value); }
65 template<typename IdentityNamespaceT = Aws::String>
66 ModifyRedshiftIdcApplicationRequest& WithIdentityNamespace(IdentityNamespaceT&& value) { SetIdentityNamespace(std::forward<IdentityNamespaceT>(value)); return *this;}
68
70
75 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
76 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
77 template<typename IamRoleArnT = Aws::String>
78 void SetIamRoleArn(IamRoleArnT&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
79 template<typename IamRoleArnT = Aws::String>
80 ModifyRedshiftIdcApplicationRequest& WithIamRoleArn(IamRoleArnT&& value) { SetIamRoleArn(std::forward<IamRoleArnT>(value)); return *this;}
82
84
88 inline const Aws::String& GetIdcDisplayName() const { return m_idcDisplayName; }
89 inline bool IdcDisplayNameHasBeenSet() const { return m_idcDisplayNameHasBeenSet; }
90 template<typename IdcDisplayNameT = Aws::String>
91 void SetIdcDisplayName(IdcDisplayNameT&& value) { m_idcDisplayNameHasBeenSet = true; m_idcDisplayName = std::forward<IdcDisplayNameT>(value); }
92 template<typename IdcDisplayNameT = Aws::String>
93 ModifyRedshiftIdcApplicationRequest& WithIdcDisplayName(IdcDisplayNameT&& value) { SetIdcDisplayName(std::forward<IdcDisplayNameT>(value)); return *this;}
95
97
101 inline const Aws::Vector<AuthorizedTokenIssuer>& GetAuthorizedTokenIssuerList() const { return m_authorizedTokenIssuerList; }
102 inline bool AuthorizedTokenIssuerListHasBeenSet() const { return m_authorizedTokenIssuerListHasBeenSet; }
103 template<typename AuthorizedTokenIssuerListT = Aws::Vector<AuthorizedTokenIssuer>>
104 void SetAuthorizedTokenIssuerList(AuthorizedTokenIssuerListT&& value) { m_authorizedTokenIssuerListHasBeenSet = true; m_authorizedTokenIssuerList = std::forward<AuthorizedTokenIssuerListT>(value); }
105 template<typename AuthorizedTokenIssuerListT = Aws::Vector<AuthorizedTokenIssuer>>
106 ModifyRedshiftIdcApplicationRequest& WithAuthorizedTokenIssuerList(AuthorizedTokenIssuerListT&& value) { SetAuthorizedTokenIssuerList(std::forward<AuthorizedTokenIssuerListT>(value)); return *this;}
107 template<typename AuthorizedTokenIssuerListT = AuthorizedTokenIssuer>
108 ModifyRedshiftIdcApplicationRequest& AddAuthorizedTokenIssuerList(AuthorizedTokenIssuerListT&& value) { m_authorizedTokenIssuerListHasBeenSet = true; m_authorizedTokenIssuerList.emplace_back(std::forward<AuthorizedTokenIssuerListT>(value)); return *this; }
110
112
115 inline const Aws::Vector<ServiceIntegrationsUnion>& GetServiceIntegrations() const { return m_serviceIntegrations; }
116 inline bool ServiceIntegrationsHasBeenSet() const { return m_serviceIntegrationsHasBeenSet; }
117 template<typename ServiceIntegrationsT = Aws::Vector<ServiceIntegrationsUnion>>
118 void SetServiceIntegrations(ServiceIntegrationsT&& value) { m_serviceIntegrationsHasBeenSet = true; m_serviceIntegrations = std::forward<ServiceIntegrationsT>(value); }
119 template<typename ServiceIntegrationsT = Aws::Vector<ServiceIntegrationsUnion>>
120 ModifyRedshiftIdcApplicationRequest& WithServiceIntegrations(ServiceIntegrationsT&& value) { SetServiceIntegrations(std::forward<ServiceIntegrationsT>(value)); return *this;}
121 template<typename ServiceIntegrationsT = ServiceIntegrationsUnion>
122 ModifyRedshiftIdcApplicationRequest& AddServiceIntegrations(ServiceIntegrationsT&& value) { m_serviceIntegrationsHasBeenSet = true; m_serviceIntegrations.emplace_back(std::forward<ServiceIntegrationsT>(value)); return *this; }
124 private:
125
126 Aws::String m_redshiftIdcApplicationArn;
127 bool m_redshiftIdcApplicationArnHasBeenSet = false;
128
129 Aws::String m_identityNamespace;
130 bool m_identityNamespaceHasBeenSet = false;
131
132 Aws::String m_iamRoleArn;
133 bool m_iamRoleArnHasBeenSet = false;
134
135 Aws::String m_idcDisplayName;
136 bool m_idcDisplayNameHasBeenSet = false;
137
138 Aws::Vector<AuthorizedTokenIssuer> m_authorizedTokenIssuerList;
139 bool m_authorizedTokenIssuerListHasBeenSet = false;
140
141 Aws::Vector<ServiceIntegrationsUnion> m_serviceIntegrations;
142 bool m_serviceIntegrationsHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace Redshift
147} // 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