7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appflow/model/OAuth2Credentials.h>
48 template<
typename UsernameT = Aws::String>
49 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet =
true; m_username = std::forward<UsernameT>(value); }
50 template<
typename UsernameT = Aws::String>
60 template<
typename PasswordT = Aws::String>
61 void SetPassword(PasswordT&& value) { m_passwordHasBeenSet =
true; m_password = std::forward<PasswordT>(value); }
62 template<
typename PasswordT = Aws::String>
72 template<
typename OAuth2CredentialsT = OAuth2Credentials>
73 void SetOAuth2Credentials(OAuth2CredentialsT&& value) { m_oAuth2CredentialsHasBeenSet =
true; m_oAuth2Credentials = std::forward<OAuth2CredentialsT>(value); }
74 template<
typename OAuth2CredentialsT = OAuth2Credentials>
80 bool m_usernameHasBeenSet =
false;
83 bool m_passwordHasBeenSet =
false;
86 bool m_oAuth2CredentialsHasBeenSet =
false;
bool OAuth2CredentialsHasBeenSet() const
const Aws::String & GetUsername() const
const Aws::String & GetPassword() const
AWS_APPFLOW_API ServiceNowConnectorProfileCredentials()=default
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOAuth2Credentials(OAuth2CredentialsT &&value)
ServiceNowConnectorProfileCredentials & WithPassword(PasswordT &&value)
const OAuth2Credentials & GetOAuth2Credentials() const
ServiceNowConnectorProfileCredentials & WithUsername(UsernameT &&value)
ServiceNowConnectorProfileCredentials & WithOAuth2Credentials(OAuth2CredentialsT &&value)
AWS_APPFLOW_API ServiceNowConnectorProfileCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
bool UsernameHasBeenSet() const
bool PasswordHasBeenSet() const
void SetPassword(PasswordT &&value)
void SetUsername(UsernameT &&value)
AWS_APPFLOW_API ServiceNowConnectorProfileCredentials(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue