7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
11#include <aws/redshift-serverless/model/LogExport.h>
12#include <aws/redshift-serverless/model/NamespaceStatus.h>
23namespace RedshiftServerless {
45 template <
typename AdminPasswordSecretArnT = Aws::String>
47 m_adminPasswordSecretArnHasBeenSet =
true;
48 m_adminPasswordSecretArn = std::forward<AdminPasswordSecretArnT>(value);
50 template <
typename AdminPasswordSecretArnT = Aws::String>
64 template <
typename AdminPasswordSecretKmsKeyIdT = Aws::String>
66 m_adminPasswordSecretKmsKeyIdHasBeenSet =
true;
67 m_adminPasswordSecretKmsKeyId = std::forward<AdminPasswordSecretKmsKeyIdT>(value);
69 template <
typename AdminPasswordSecretKmsKeyIdT = Aws::String>
83 template <
typename AdminUsernameT = Aws::String>
85 m_adminUsernameHasBeenSet =
true;
86 m_adminUsername = std::forward<AdminUsernameT>(value);
88 template <
typename AdminUsernameT = Aws::String>
102 template <
typename CatalogArnT = Aws::String>
104 m_catalogArnHasBeenSet =
true;
105 m_catalogArn = std::forward<CatalogArnT>(value);
107 template <
typename CatalogArnT = Aws::String>
120 template <
typename CreationDateT = Aws::Utils::DateTime>
122 m_creationDateHasBeenSet =
true;
123 m_creationDate = std::forward<CreationDateT>(value);
125 template <
typename CreationDateT = Aws::Utils::DateTime>
138 template <
typename DbNameT = Aws::String>
140 m_dbNameHasBeenSet =
true;
141 m_dbName = std::forward<DbNameT>(value);
143 template <
typename DbNameT = Aws::String>
157 template <
typename DefaultIamRoleArnT = Aws::String>
159 m_defaultIamRoleArnHasBeenSet =
true;
160 m_defaultIamRoleArn = std::forward<DefaultIamRoleArnT>(value);
162 template <
typename DefaultIamRoleArnT = Aws::String>
175 template <
typename IamRolesT = Aws::Vector<Aws::String>>
177 m_iamRolesHasBeenSet =
true;
178 m_iamRoles = std::forward<IamRolesT>(value);
180 template <
typename IamRolesT = Aws::Vector<Aws::String>>
185 template <
typename IamRolesT = Aws::String>
187 m_iamRolesHasBeenSet =
true;
188 m_iamRoles.emplace_back(std::forward<IamRolesT>(value));
200 template <
typename KmsKeyIdT = Aws::String>
202 m_kmsKeyIdHasBeenSet =
true;
203 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
205 template <
typename KmsKeyIdT = Aws::String>
220 template <
typename LakehouseRegistrationStatusT = Aws::String>
222 m_lakehouseRegistrationStatusHasBeenSet =
true;
223 m_lakehouseRegistrationStatus = std::forward<LakehouseRegistrationStatusT>(value);
225 template <
typename LakehouseRegistrationStatusT = Aws::String>
239 template <
typename LogExportsT = Aws::Vector<LogExport>>
241 m_logExportsHasBeenSet =
true;
242 m_logExports = std::forward<LogExportsT>(value);
244 template <
typename LogExportsT = Aws::Vector<LogExport>>
250 m_logExportsHasBeenSet =
true;
251 m_logExports.push_back(value);
262 template <
typename NamespaceArnT = Aws::String>
264 m_namespaceArnHasBeenSet =
true;
265 m_namespaceArn = std::forward<NamespaceArnT>(value);
267 template <
typename NamespaceArnT = Aws::String>
280 template <
typename NamespaceIdT = Aws::String>
282 m_namespaceIdHasBeenSet =
true;
283 m_namespaceId = std::forward<NamespaceIdT>(value);
285 template <
typename NamespaceIdT = Aws::String>
302 template <
typename NamespaceNameT = Aws::String>
304 m_namespaceNameHasBeenSet =
true;
305 m_namespaceName = std::forward<NamespaceNameT>(value);
307 template <
typename NamespaceNameT = Aws::String>
321 m_statusHasBeenSet =
true;
359 bool m_adminPasswordSecretArnHasBeenSet =
false;
360 bool m_adminPasswordSecretKmsKeyIdHasBeenSet =
false;
361 bool m_adminUsernameHasBeenSet =
false;
362 bool m_catalogArnHasBeenSet =
false;
363 bool m_creationDateHasBeenSet =
false;
364 bool m_dbNameHasBeenSet =
false;
365 bool m_defaultIamRoleArnHasBeenSet =
false;
366 bool m_iamRolesHasBeenSet =
false;
367 bool m_kmsKeyIdHasBeenSet =
false;
368 bool m_lakehouseRegistrationStatusHasBeenSet =
false;
369 bool m_logExportsHasBeenSet =
false;
370 bool m_namespaceArnHasBeenSet =
false;
371 bool m_namespaceIdHasBeenSet =
false;
372 bool m_namespaceNameHasBeenSet =
false;
373 bool m_statusHasBeenSet =
false;
bool DefaultIamRoleArnHasBeenSet() const
bool LogExportsHasBeenSet() const
void SetCatalogArn(CatalogArnT &&value)
const Aws::String & GetAdminPasswordSecretArn() const
void SetStatus(NamespaceStatus value)
void SetNamespaceArn(NamespaceArnT &&value)
Namespace & WithStatus(NamespaceStatus value)
void SetAdminUsername(AdminUsernameT &&value)
Namespace & WithNamespaceName(NamespaceNameT &&value)
bool DbNameHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API Namespace & operator=(Aws::Utils::Json::JsonView jsonValue)
Namespace & WithDefaultIamRoleArn(DefaultIamRoleArnT &&value)
const Aws::Vector< Aws::String > & GetIamRoles() const
Namespace & WithKmsKeyId(KmsKeyIdT &&value)
void SetLakehouseRegistrationStatus(LakehouseRegistrationStatusT &&value)
bool AdminUsernameHasBeenSet() const
const Aws::Vector< LogExport > & GetLogExports() const
Namespace & WithNamespaceId(NamespaceIdT &&value)
bool IamRolesHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
void SetNamespaceId(NamespaceIdT &&value)
Namespace & WithIamRoles(IamRolesT &&value)
Namespace & WithDbName(DbNameT &&value)
void SetIamRoles(IamRolesT &&value)
bool AdminPasswordSecretArnHasBeenSet() const
const Aws::String & GetDbName() const
bool NamespaceNameHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API Namespace(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLakehouseRegistrationStatus() const
const Aws::String & GetKmsKeyId() const
bool StatusHasBeenSet() const
bool CreationDateHasBeenSet() const
bool LakehouseRegistrationStatusHasBeenSet() const
const Aws::String & GetNamespaceId() const
const Aws::String & GetNamespaceName() const
AWS_REDSHIFTSERVERLESS_API Namespace()=default
Namespace & WithNamespaceArn(NamespaceArnT &&value)
Namespace & WithLakehouseRegistrationStatus(LakehouseRegistrationStatusT &&value)
Namespace & WithLogExports(LogExportsT &&value)
const Aws::String & GetAdminPasswordSecretKmsKeyId() const
const Aws::String & GetNamespaceArn() const
void SetAdminPasswordSecretKmsKeyId(AdminPasswordSecretKmsKeyIdT &&value)
Namespace & AddLogExports(LogExport value)
const Aws::String & GetCatalogArn() const
Namespace & WithCreationDate(CreationDateT &&value)
NamespaceStatus GetStatus() const
Namespace & WithCatalogArn(CatalogArnT &&value)
Namespace & WithAdminPasswordSecretArn(AdminPasswordSecretArnT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
void SetLogExports(LogExportsT &&value)
void SetDefaultIamRoleArn(DefaultIamRoleArnT &&value)
void SetDbName(DbNameT &&value)
Namespace & WithAdminPasswordSecretKmsKeyId(AdminPasswordSecretKmsKeyIdT &&value)
void SetAdminPasswordSecretArn(AdminPasswordSecretArnT &&value)
bool AdminPasswordSecretKmsKeyIdHasBeenSet() const
Namespace & AddIamRoles(IamRolesT &&value)
Namespace & WithAdminUsername(AdminUsernameT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
void SetNamespaceName(NamespaceNameT &&value)
const Aws::String & GetDefaultIamRoleArn() const
bool CatalogArnHasBeenSet() const
bool NamespaceIdHasBeenSet() const
const Aws::String & GetAdminUsername() const
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool NamespaceArnHasBeenSet() const
void SetCreationDate(CreationDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue