/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the Basic authorization parameters to use for the
* connection.See Also:
AWS
* API Reference
The user name to use for Basic authorization.
*/ inline const Aws::String& GetUsername() const{ return m_username; } /** *The user name to use for Basic authorization.
*/ inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; } /** *The user name to use for Basic authorization.
*/ inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; } /** *The user name to use for Basic authorization.
*/ inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); } /** *The user name to use for Basic authorization.
*/ inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); } /** *The user name to use for Basic authorization.
*/ inline CreateConnectionBasicAuthRequestParameters& WithUsername(const Aws::String& value) { SetUsername(value); return *this;} /** *The user name to use for Basic authorization.
*/ inline CreateConnectionBasicAuthRequestParameters& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;} /** *The user name to use for Basic authorization.
*/ inline CreateConnectionBasicAuthRequestParameters& WithUsername(const char* value) { SetUsername(value); return *this;} /** *The password associated with the user name to use for Basic * authorization.
*/ inline const Aws::String& GetPassword() const{ return m_password; } /** *The password associated with the user name to use for Basic * authorization.
*/ inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; } /** *The password associated with the user name to use for Basic * authorization.
*/ inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; } /** *The password associated with the user name to use for Basic * authorization.
*/ inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); } /** *The password associated with the user name to use for Basic * authorization.
*/ inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); } /** *The password associated with the user name to use for Basic * authorization.
*/ inline CreateConnectionBasicAuthRequestParameters& WithPassword(const Aws::String& value) { SetPassword(value); return *this;} /** *The password associated with the user name to use for Basic * authorization.
*/ inline CreateConnectionBasicAuthRequestParameters& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;} /** *The password associated with the user name to use for Basic * authorization.
*/ inline CreateConnectionBasicAuthRequestParameters& WithPassword(const char* value) { SetPassword(value); return *this;} private: Aws::String m_username; bool m_usernameHasBeenSet = false; Aws::String m_password; bool m_passwordHasBeenSet = false; }; } // namespace Model } // namespace EventBridge } // namespace Aws