AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetIdcInstanceArn(const Aws::String& value) { m_idcInstanceArnHasBeenSet = true; m_idcInstanceArn = value; }
50 inline void SetIdcInstanceArn(Aws::String&& value) { m_idcInstanceArnHasBeenSet = true; m_idcInstanceArn = std::move(value); }
51 inline void SetIdcInstanceArn(const char* value) { m_idcInstanceArnHasBeenSet = true; m_idcInstanceArn.assign(value); }
53 inline CreateRedshiftIdcApplicationRequest& WithIdcInstanceArn(Aws::String&& value) { SetIdcInstanceArn(std::move(value)); return *this;}
54 inline CreateRedshiftIdcApplicationRequest& WithIdcInstanceArn(const char* value) { SetIdcInstanceArn(value); return *this;}
56
58
61 inline const Aws::String& GetRedshiftIdcApplicationName() const{ return m_redshiftIdcApplicationName; }
62 inline bool RedshiftIdcApplicationNameHasBeenSet() const { return m_redshiftIdcApplicationNameHasBeenSet; }
63 inline void SetRedshiftIdcApplicationName(const Aws::String& value) { m_redshiftIdcApplicationNameHasBeenSet = true; m_redshiftIdcApplicationName = value; }
64 inline void SetRedshiftIdcApplicationName(Aws::String&& value) { m_redshiftIdcApplicationNameHasBeenSet = true; m_redshiftIdcApplicationName = std::move(value); }
65 inline void SetRedshiftIdcApplicationName(const char* value) { m_redshiftIdcApplicationNameHasBeenSet = true; m_redshiftIdcApplicationName.assign(value); }
70
72
77 inline const Aws::String& GetIdentityNamespace() const{ return m_identityNamespace; }
78 inline bool IdentityNamespaceHasBeenSet() const { return m_identityNamespaceHasBeenSet; }
79 inline void SetIdentityNamespace(const Aws::String& value) { m_identityNamespaceHasBeenSet = true; m_identityNamespace = value; }
80 inline void SetIdentityNamespace(Aws::String&& value) { m_identityNamespaceHasBeenSet = true; m_identityNamespace = std::move(value); }
81 inline void SetIdentityNamespace(const char* value) { m_identityNamespaceHasBeenSet = true; m_identityNamespace.assign(value); }
84 inline CreateRedshiftIdcApplicationRequest& WithIdentityNamespace(const char* value) { SetIdentityNamespace(value); return *this;}
86
88
92 inline const Aws::String& GetIdcDisplayName() const{ return m_idcDisplayName; }
93 inline bool IdcDisplayNameHasBeenSet() const { return m_idcDisplayNameHasBeenSet; }
94 inline void SetIdcDisplayName(const Aws::String& value) { m_idcDisplayNameHasBeenSet = true; m_idcDisplayName = value; }
95 inline void SetIdcDisplayName(Aws::String&& value) { m_idcDisplayNameHasBeenSet = true; m_idcDisplayName = std::move(value); }
96 inline void SetIdcDisplayName(const char* value) { m_idcDisplayNameHasBeenSet = true; m_idcDisplayName.assign(value); }
98 inline CreateRedshiftIdcApplicationRequest& WithIdcDisplayName(Aws::String&& value) { SetIdcDisplayName(std::move(value)); return *this;}
99 inline CreateRedshiftIdcApplicationRequest& WithIdcDisplayName(const char* value) { SetIdcDisplayName(value); return *this;}
101
103
108 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
109 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
110 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
111 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
112 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
114 inline CreateRedshiftIdcApplicationRequest& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
115 inline CreateRedshiftIdcApplicationRequest& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
117
119
123 inline const Aws::Vector<AuthorizedTokenIssuer>& GetAuthorizedTokenIssuerList() const{ return m_authorizedTokenIssuerList; }
124 inline bool AuthorizedTokenIssuerListHasBeenSet() const { return m_authorizedTokenIssuerListHasBeenSet; }
125 inline void SetAuthorizedTokenIssuerList(const Aws::Vector<AuthorizedTokenIssuer>& value) { m_authorizedTokenIssuerListHasBeenSet = true; m_authorizedTokenIssuerList = value; }
126 inline void SetAuthorizedTokenIssuerList(Aws::Vector<AuthorizedTokenIssuer>&& value) { m_authorizedTokenIssuerListHasBeenSet = true; m_authorizedTokenIssuerList = std::move(value); }
129 inline CreateRedshiftIdcApplicationRequest& AddAuthorizedTokenIssuerList(const AuthorizedTokenIssuer& value) { m_authorizedTokenIssuerListHasBeenSet = true; m_authorizedTokenIssuerList.push_back(value); return *this; }
130 inline CreateRedshiftIdcApplicationRequest& AddAuthorizedTokenIssuerList(AuthorizedTokenIssuer&& value) { m_authorizedTokenIssuerListHasBeenSet = true; m_authorizedTokenIssuerList.push_back(std::move(value)); return *this; }
132
134
138 inline const Aws::Vector<ServiceIntegrationsUnion>& GetServiceIntegrations() const{ return m_serviceIntegrations; }
139 inline bool ServiceIntegrationsHasBeenSet() const { return m_serviceIntegrationsHasBeenSet; }
140 inline void SetServiceIntegrations(const Aws::Vector<ServiceIntegrationsUnion>& value) { m_serviceIntegrationsHasBeenSet = true; m_serviceIntegrations = value; }
141 inline void SetServiceIntegrations(Aws::Vector<ServiceIntegrationsUnion>&& value) { m_serviceIntegrationsHasBeenSet = true; m_serviceIntegrations = std::move(value); }
144 inline CreateRedshiftIdcApplicationRequest& AddServiceIntegrations(const ServiceIntegrationsUnion& value) { m_serviceIntegrationsHasBeenSet = true; m_serviceIntegrations.push_back(value); return *this; }
145 inline CreateRedshiftIdcApplicationRequest& AddServiceIntegrations(ServiceIntegrationsUnion&& value) { m_serviceIntegrationsHasBeenSet = true; m_serviceIntegrations.push_back(std::move(value)); return *this; }
147 private:
148
149 Aws::String m_idcInstanceArn;
150 bool m_idcInstanceArnHasBeenSet = false;
151
152 Aws::String m_redshiftIdcApplicationName;
153 bool m_redshiftIdcApplicationNameHasBeenSet = false;
154
155 Aws::String m_identityNamespace;
156 bool m_identityNamespaceHasBeenSet = false;
157
158 Aws::String m_idcDisplayName;
159 bool m_idcDisplayNameHasBeenSet = false;
160
161 Aws::String m_iamRoleArn;
162 bool m_iamRoleArnHasBeenSet = false;
163
164 Aws::Vector<AuthorizedTokenIssuer> m_authorizedTokenIssuerList;
165 bool m_authorizedTokenIssuerListHasBeenSet = false;
166
167 Aws::Vector<ServiceIntegrationsUnion> m_serviceIntegrations;
168 bool m_serviceIntegrationsHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace Redshift
173} // namespace Aws
CreateRedshiftIdcApplicationRequest & AddServiceIntegrations(ServiceIntegrationsUnion &&value)
CreateRedshiftIdcApplicationRequest & WithIdentityNamespace(const Aws::String &value)
CreateRedshiftIdcApplicationRequest & WithServiceIntegrations(const Aws::Vector< ServiceIntegrationsUnion > &value)
CreateRedshiftIdcApplicationRequest & AddAuthorizedTokenIssuerList(AuthorizedTokenIssuer &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
void SetAuthorizedTokenIssuerList(const Aws::Vector< AuthorizedTokenIssuer > &value)
CreateRedshiftIdcApplicationRequest & WithIdcInstanceArn(const char *value)
CreateRedshiftIdcApplicationRequest & AddServiceIntegrations(const ServiceIntegrationsUnion &value)
void SetServiceIntegrations(const Aws::Vector< ServiceIntegrationsUnion > &value)
CreateRedshiftIdcApplicationRequest & WithIdcDisplayName(const char *value)
CreateRedshiftIdcApplicationRequest & WithIdentityNamespace(const char *value)
CreateRedshiftIdcApplicationRequest & WithRedshiftIdcApplicationName(const Aws::String &value)
void SetAuthorizedTokenIssuerList(Aws::Vector< AuthorizedTokenIssuer > &&value)
CreateRedshiftIdcApplicationRequest & WithAuthorizedTokenIssuerList(const Aws::Vector< AuthorizedTokenIssuer > &value)
CreateRedshiftIdcApplicationRequest & WithRedshiftIdcApplicationName(const char *value)
CreateRedshiftIdcApplicationRequest & WithServiceIntegrations(Aws::Vector< ServiceIntegrationsUnion > &&value)
const Aws::Vector< ServiceIntegrationsUnion > & GetServiceIntegrations() const
CreateRedshiftIdcApplicationRequest & WithIdcDisplayName(const Aws::String &value)
CreateRedshiftIdcApplicationRequest & AddAuthorizedTokenIssuerList(const AuthorizedTokenIssuer &value)
const Aws::Vector< AuthorizedTokenIssuer > & GetAuthorizedTokenIssuerList() const
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateRedshiftIdcApplicationRequest & WithIdcDisplayName(Aws::String &&value)
CreateRedshiftIdcApplicationRequest & WithAuthorizedTokenIssuerList(Aws::Vector< AuthorizedTokenIssuer > &&value)
CreateRedshiftIdcApplicationRequest & WithIdentityNamespace(Aws::String &&value)
void SetServiceIntegrations(Aws::Vector< ServiceIntegrationsUnion > &&value)
CreateRedshiftIdcApplicationRequest & WithIamRoleArn(const char *value)
CreateRedshiftIdcApplicationRequest & WithIdcInstanceArn(const Aws::String &value)
CreateRedshiftIdcApplicationRequest & WithIdcInstanceArn(Aws::String &&value)
CreateRedshiftIdcApplicationRequest & WithIamRoleArn(Aws::String &&value)
CreateRedshiftIdcApplicationRequest & WithRedshiftIdcApplicationName(Aws::String &&value)
CreateRedshiftIdcApplicationRequest & WithIamRoleArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector