AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateRedshiftIdcApplicationRequest.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 CreateRedshiftIdcApplicationRequest() = 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 "CreateRedshiftIdcApplication"; }
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& GetIdcInstanceArn() const { return m_idcInstanceArn; }
48 inline bool IdcInstanceArnHasBeenSet() const { return m_idcInstanceArnHasBeenSet; }
49 template<typename IdcInstanceArnT = Aws::String>
50 void SetIdcInstanceArn(IdcInstanceArnT&& value) { m_idcInstanceArnHasBeenSet = true; m_idcInstanceArn = std::forward<IdcInstanceArnT>(value); }
51 template<typename IdcInstanceArnT = Aws::String>
52 CreateRedshiftIdcApplicationRequest& WithIdcInstanceArn(IdcInstanceArnT&& value) { SetIdcInstanceArn(std::forward<IdcInstanceArnT>(value)); return *this;}
54
56
59 inline const Aws::String& GetRedshiftIdcApplicationName() const { return m_redshiftIdcApplicationName; }
60 inline bool RedshiftIdcApplicationNameHasBeenSet() const { return m_redshiftIdcApplicationNameHasBeenSet; }
61 template<typename RedshiftIdcApplicationNameT = Aws::String>
62 void SetRedshiftIdcApplicationName(RedshiftIdcApplicationNameT&& value) { m_redshiftIdcApplicationNameHasBeenSet = true; m_redshiftIdcApplicationName = std::forward<RedshiftIdcApplicationNameT>(value); }
63 template<typename RedshiftIdcApplicationNameT = Aws::String>
64 CreateRedshiftIdcApplicationRequest& WithRedshiftIdcApplicationName(RedshiftIdcApplicationNameT&& value) { SetRedshiftIdcApplicationName(std::forward<RedshiftIdcApplicationNameT>(value)); return *this;}
66
68
73 inline const Aws::String& GetIdentityNamespace() const { return m_identityNamespace; }
74 inline bool IdentityNamespaceHasBeenSet() const { return m_identityNamespaceHasBeenSet; }
75 template<typename IdentityNamespaceT = Aws::String>
76 void SetIdentityNamespace(IdentityNamespaceT&& value) { m_identityNamespaceHasBeenSet = true; m_identityNamespace = std::forward<IdentityNamespaceT>(value); }
77 template<typename IdentityNamespaceT = Aws::String>
78 CreateRedshiftIdcApplicationRequest& WithIdentityNamespace(IdentityNamespaceT&& value) { SetIdentityNamespace(std::forward<IdentityNamespaceT>(value)); return *this;}
80
82
86 inline const Aws::String& GetIdcDisplayName() const { return m_idcDisplayName; }
87 inline bool IdcDisplayNameHasBeenSet() const { return m_idcDisplayNameHasBeenSet; }
88 template<typename IdcDisplayNameT = Aws::String>
89 void SetIdcDisplayName(IdcDisplayNameT&& value) { m_idcDisplayNameHasBeenSet = true; m_idcDisplayName = std::forward<IdcDisplayNameT>(value); }
90 template<typename IdcDisplayNameT = Aws::String>
91 CreateRedshiftIdcApplicationRequest& WithIdcDisplayName(IdcDisplayNameT&& value) { SetIdcDisplayName(std::forward<IdcDisplayNameT>(value)); return *this;}
93
95
100 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
101 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
102 template<typename IamRoleArnT = Aws::String>
103 void SetIamRoleArn(IamRoleArnT&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
104 template<typename IamRoleArnT = Aws::String>
105 CreateRedshiftIdcApplicationRequest& WithIamRoleArn(IamRoleArnT&& value) { SetIamRoleArn(std::forward<IamRoleArnT>(value)); return *this;}
107
109
113 inline const Aws::Vector<AuthorizedTokenIssuer>& GetAuthorizedTokenIssuerList() const { return m_authorizedTokenIssuerList; }
114 inline bool AuthorizedTokenIssuerListHasBeenSet() const { return m_authorizedTokenIssuerListHasBeenSet; }
115 template<typename AuthorizedTokenIssuerListT = Aws::Vector<AuthorizedTokenIssuer>>
116 void SetAuthorizedTokenIssuerList(AuthorizedTokenIssuerListT&& value) { m_authorizedTokenIssuerListHasBeenSet = true; m_authorizedTokenIssuerList = std::forward<AuthorizedTokenIssuerListT>(value); }
117 template<typename AuthorizedTokenIssuerListT = Aws::Vector<AuthorizedTokenIssuer>>
118 CreateRedshiftIdcApplicationRequest& WithAuthorizedTokenIssuerList(AuthorizedTokenIssuerListT&& value) { SetAuthorizedTokenIssuerList(std::forward<AuthorizedTokenIssuerListT>(value)); return *this;}
119 template<typename AuthorizedTokenIssuerListT = AuthorizedTokenIssuer>
120 CreateRedshiftIdcApplicationRequest& AddAuthorizedTokenIssuerList(AuthorizedTokenIssuerListT&& value) { m_authorizedTokenIssuerListHasBeenSet = true; m_authorizedTokenIssuerList.emplace_back(std::forward<AuthorizedTokenIssuerListT>(value)); return *this; }
122
124
128 inline const Aws::Vector<ServiceIntegrationsUnion>& GetServiceIntegrations() const { return m_serviceIntegrations; }
129 inline bool ServiceIntegrationsHasBeenSet() const { return m_serviceIntegrationsHasBeenSet; }
130 template<typename ServiceIntegrationsT = Aws::Vector<ServiceIntegrationsUnion>>
131 void SetServiceIntegrations(ServiceIntegrationsT&& value) { m_serviceIntegrationsHasBeenSet = true; m_serviceIntegrations = std::forward<ServiceIntegrationsT>(value); }
132 template<typename ServiceIntegrationsT = Aws::Vector<ServiceIntegrationsUnion>>
133 CreateRedshiftIdcApplicationRequest& WithServiceIntegrations(ServiceIntegrationsT&& value) { SetServiceIntegrations(std::forward<ServiceIntegrationsT>(value)); return *this;}
134 template<typename ServiceIntegrationsT = ServiceIntegrationsUnion>
135 CreateRedshiftIdcApplicationRequest& AddServiceIntegrations(ServiceIntegrationsT&& value) { m_serviceIntegrationsHasBeenSet = true; m_serviceIntegrations.emplace_back(std::forward<ServiceIntegrationsT>(value)); return *this; }
137 private:
138
139 Aws::String m_idcInstanceArn;
140 bool m_idcInstanceArnHasBeenSet = false;
141
142 Aws::String m_redshiftIdcApplicationName;
143 bool m_redshiftIdcApplicationNameHasBeenSet = false;
144
145 Aws::String m_identityNamespace;
146 bool m_identityNamespaceHasBeenSet = false;
147
148 Aws::String m_idcDisplayName;
149 bool m_idcDisplayNameHasBeenSet = false;
150
151 Aws::String m_iamRoleArn;
152 bool m_iamRoleArnHasBeenSet = false;
153
154 Aws::Vector<AuthorizedTokenIssuer> m_authorizedTokenIssuerList;
155 bool m_authorizedTokenIssuerListHasBeenSet = false;
156
157 Aws::Vector<ServiceIntegrationsUnion> m_serviceIntegrations;
158 bool m_serviceIntegrationsHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace Redshift
163} // namespace Aws
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)
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 & 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