7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift-serverless/model/NamespaceStatus.h>
12#include <aws/redshift-serverless/model/LogExport.h>
25namespace RedshiftServerless
53 inline void SetAdminPasswordSecretArn(
const char* value) { m_adminPasswordSecretArnHasBeenSet =
true; m_adminPasswordSecretArn.assign(value); }
68 inline void SetAdminPasswordSecretKmsKeyId(
const char* value) { m_adminPasswordSecretKmsKeyIdHasBeenSet =
true; m_adminPasswordSecretKmsKeyId.assign(value); }
83 inline void SetAdminUsername(
const char* value) { m_adminUsernameHasBeenSet =
true; m_adminUsername.assign(value); }
109 inline void SetDbName(
const char* value) { m_dbNameHasBeenSet =
true; m_dbName.assign(value); }
124 inline void SetDefaultIamRoleArn(
const char* value) { m_defaultIamRoleArnHasBeenSet =
true; m_defaultIamRoleArn.assign(value); }
142 inline Namespace&
AddIamRoles(
const char* value) { m_iamRolesHasBeenSet =
true; m_iamRoles.push_back(value);
return *
this; }
154 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
183 inline void SetNamespaceArn(
const char* value) { m_namespaceArnHasBeenSet =
true; m_namespaceArn.assign(value); }
197 inline void SetNamespaceId(
const char* value) { m_namespaceIdHasBeenSet =
true; m_namespaceId.assign(value); }
215 inline void SetNamespaceName(
const char* value) { m_namespaceNameHasBeenSet =
true; m_namespaceName.assign(value); }
235 bool m_adminPasswordSecretArnHasBeenSet =
false;
238 bool m_adminPasswordSecretKmsKeyIdHasBeenSet =
false;
241 bool m_adminUsernameHasBeenSet =
false;
244 bool m_creationDateHasBeenSet =
false;
247 bool m_dbNameHasBeenSet =
false;
250 bool m_defaultIamRoleArnHasBeenSet =
false;
253 bool m_iamRolesHasBeenSet =
false;
256 bool m_kmsKeyIdHasBeenSet =
false;
259 bool m_logExportsHasBeenSet =
false;
262 bool m_namespaceArnHasBeenSet =
false;
265 bool m_namespaceIdHasBeenSet =
false;
268 bool m_namespaceNameHasBeenSet =
false;
271 bool m_statusHasBeenSet =
false;
bool DefaultIamRoleArnHasBeenSet() const
bool LogExportsHasBeenSet() const
Namespace & WithAdminPasswordSecretKmsKeyId(Aws::String &&value)
Namespace & WithAdminUsername(Aws::String &&value)
void SetAdminPasswordSecretKmsKeyId(const Aws::String &value)
const Aws::String & GetAdminPasswordSecretArn() const
Namespace & WithAdminPasswordSecretArn(const Aws::String &value)
Namespace & WithStatus(NamespaceStatus &&value)
bool DbNameHasBeenSet() const
void SetCreationDate(const Aws::Utils::DateTime &value)
Namespace & WithIamRoles(Aws::Vector< Aws::String > &&value)
void SetCreationDate(Aws::Utils::DateTime &&value)
AWS_REDSHIFTSERVERLESS_API Namespace & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetIamRoles() const
Namespace & WithAdminPasswordSecretKmsKeyId(const Aws::String &value)
Namespace & AddIamRoles(const char *value)
bool AdminUsernameHasBeenSet() const
const Aws::Vector< LogExport > & GetLogExports() const
void SetNamespaceId(const Aws::String &value)
bool IamRolesHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
void SetAdminUsername(const Aws::String &value)
void SetNamespaceArn(const char *value)
void SetNamespaceId(Aws::String &&value)
Namespace & WithDefaultIamRoleArn(Aws::String &&value)
Namespace & WithAdminUsername(const Aws::String &value)
bool AdminPasswordSecretArnHasBeenSet() const
Namespace & WithKmsKeyId(const Aws::String &value)
const Aws::String & GetDbName() const
void SetIamRoles(Aws::Vector< Aws::String > &&value)
void SetDefaultIamRoleArn(const Aws::String &value)
bool NamespaceNameHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API Namespace(Aws::Utils::Json::JsonView jsonValue)
void SetIamRoles(const Aws::Vector< Aws::String > &value)
const Aws::String & GetKmsKeyId() const
bool StatusHasBeenSet() const
void SetLogExports(Aws::Vector< LogExport > &&value)
Namespace & WithNamespaceName(const char *value)
Namespace & WithDefaultIamRoleArn(const Aws::String &value)
bool CreationDateHasBeenSet() const
const Aws::String & GetNamespaceId() const
const Aws::String & GetNamespaceName() const
Namespace & WithAdminPasswordSecretKmsKeyId(const char *value)
Namespace & WithKmsKeyId(const char *value)
Namespace & WithNamespaceArn(const Aws::String &value)
void SetAdminPasswordSecretArn(Aws::String &&value)
void SetAdminPasswordSecretArn(const char *value)
void SetNamespaceArn(const Aws::String &value)
Namespace & WithLogExports(const Aws::Vector< LogExport > &value)
Namespace & AddLogExports(const LogExport &value)
const Aws::String & GetAdminPasswordSecretKmsKeyId() const
Namespace & WithDefaultIamRoleArn(const char *value)
Namespace & WithNamespaceArn(const char *value)
const Aws::String & GetNamespaceArn() const
void SetStatus(const NamespaceStatus &value)
void SetKmsKeyId(const Aws::String &value)
Namespace & WithLogExports(Aws::Vector< LogExport > &&value)
void SetDbName(Aws::String &&value)
Namespace & WithNamespaceId(const Aws::String &value)
Namespace & WithDbName(const Aws::String &value)
void SetNamespaceId(const char *value)
Namespace & AddIamRoles(Aws::String &&value)
void SetDbName(const char *value)
Namespace & WithAdminUsername(const char *value)
Namespace & WithNamespaceId(Aws::String &&value)
Namespace & AddIamRoles(const Aws::String &value)
Namespace & WithStatus(const NamespaceStatus &value)
void SetKmsKeyId(const char *value)
Namespace & WithNamespaceName(const Aws::String &value)
Namespace & WithNamespaceId(const char *value)
void SetNamespaceArn(Aws::String &&value)
void SetNamespaceName(Aws::String &&value)
Namespace & WithNamespaceArn(Aws::String &&value)
void SetAdminUsername(const char *value)
Namespace & WithIamRoles(const Aws::Vector< Aws::String > &value)
Namespace & WithKmsKeyId(Aws::String &&value)
void SetAdminPasswordSecretKmsKeyId(Aws::String &&value)
void SetDbName(const Aws::String &value)
bool AdminPasswordSecretKmsKeyIdHasBeenSet() const
Namespace & WithCreationDate(Aws::Utils::DateTime &&value)
const NamespaceStatus & GetStatus() const
void SetLogExports(const Aws::Vector< LogExport > &value)
const Aws::Utils::DateTime & GetCreationDate() const
void SetNamespaceName(const Aws::String &value)
void SetDefaultIamRoleArn(Aws::String &&value)
void SetStatus(NamespaceStatus &&value)
void SetKmsKeyId(Aws::String &&value)
void SetNamespaceName(const char *value)
void SetDefaultIamRoleArn(const char *value)
const Aws::String & GetDefaultIamRoleArn() const
Namespace & WithDbName(Aws::String &&value)
Namespace & WithCreationDate(const Aws::Utils::DateTime &value)
Namespace & WithAdminPasswordSecretArn(Aws::String &&value)
Namespace & WithDbName(const char *value)
bool NamespaceIdHasBeenSet() const
Namespace & AddLogExports(LogExport &&value)
Namespace & WithAdminPasswordSecretArn(const char *value)
Namespace & WithNamespaceName(Aws::String &&value)
void SetAdminPasswordSecretKmsKeyId(const char *value)
void SetAdminUsername(Aws::String &&value)
AWS_REDSHIFTSERVERLESS_API Namespace()
const Aws::String & GetAdminUsername() const
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAdminPasswordSecretArn(const Aws::String &value)
bool NamespaceArnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue