7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/RedshiftProvisionedAuthType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace BedrockAgent {
46 m_typeHasBeenSet =
true;
62 template <
typename DatabaseUserT = Aws::String>
64 m_databaseUserHasBeenSet =
true;
65 m_databaseUser = std::forward<DatabaseUserT>(value);
67 template <
typename DatabaseUserT = Aws::String>
80 template <
typename UsernamePasswordSecretArnT = Aws::String>
82 m_usernamePasswordSecretArnHasBeenSet =
true;
83 m_usernamePasswordSecretArn = std::forward<UsernamePasswordSecretArnT>(value);
85 template <
typename UsernamePasswordSecretArnT = Aws::String>
97 bool m_typeHasBeenSet =
false;
98 bool m_databaseUserHasBeenSet =
false;
99 bool m_usernamePasswordSecretArnHasBeenSet =
false;
const Aws::String & GetDatabaseUser() const
bool DatabaseUserHasBeenSet() const
void SetDatabaseUser(DatabaseUserT &&value)
void SetType(RedshiftProvisionedAuthType value)
RedshiftProvisionedAuthConfiguration & WithUsernamePasswordSecretArn(UsernamePasswordSecretArnT &&value)
RedshiftProvisionedAuthConfiguration & WithDatabaseUser(DatabaseUserT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API RedshiftProvisionedAuthConfiguration(Aws::Utils::Json::JsonView jsonValue)
RedshiftProvisionedAuthConfiguration & WithType(RedshiftProvisionedAuthType value)
bool TypeHasBeenSet() const
RedshiftProvisionedAuthType GetType() const
AWS_BEDROCKAGENT_API RedshiftProvisionedAuthConfiguration()=default
bool UsernamePasswordSecretArnHasBeenSet() const
void SetUsernamePasswordSecretArn(UsernamePasswordSecretArnT &&value)
const Aws::String & GetUsernamePasswordSecretArn() const
AWS_BEDROCKAGENT_API RedshiftProvisionedAuthConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RedshiftProvisionedAuthType
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue