7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/DataSourceParameters.h>
51 inline void SetUsername(
const char* value) { m_usernameHasBeenSet =
true; m_username.assign(value); }
65 inline void SetPassword(
const char* value) { m_passwordHasBeenSet =
true; m_password.assign(value); }
96 bool m_usernameHasBeenSet =
false;
99 bool m_passwordHasBeenSet =
false;
102 bool m_alternateDataSourceParametersHasBeenSet =
false;
const Aws::String & GetUsername() const
CredentialPair & WithUsername(const char *value)
AWS_QUICKSIGHT_API CredentialPair()
bool PasswordHasBeenSet() const
CredentialPair & WithPassword(const Aws::String &value)
void SetAlternateDataSourceParameters(Aws::Vector< DataSourceParameters > &&value)
CredentialPair & WithPassword(const char *value)
void SetUsername(Aws::String &&value)
CredentialPair & WithUsername(Aws::String &&value)
void SetUsername(const char *value)
bool AlternateDataSourceParametersHasBeenSet() const
CredentialPair & AddAlternateDataSourceParameters(const DataSourceParameters &value)
CredentialPair & WithUsername(const Aws::String &value)
AWS_QUICKSIGHT_API CredentialPair(Aws::Utils::Json::JsonView jsonValue)
bool UsernameHasBeenSet() const
CredentialPair & WithPassword(Aws::String &&value)
void SetPassword(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< DataSourceParameters > & GetAlternateDataSourceParameters() const
const Aws::String & GetPassword() const
AWS_QUICKSIGHT_API CredentialPair & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUsername(const Aws::String &value)
CredentialPair & AddAlternateDataSourceParameters(DataSourceParameters &&value)
void SetPassword(const char *value)
void SetAlternateDataSourceParameters(const Aws::Vector< DataSourceParameters > &value)
CredentialPair & WithAlternateDataSourceParameters(const Aws::Vector< DataSourceParameters > &value)
CredentialPair & WithAlternateDataSourceParameters(Aws::Vector< DataSourceParameters > &&value)
void SetPassword(Aws::String &&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