/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The credentials that you can use to connect to cluster endpoints. Credentials
* consist of a username and a password.See Also:
AWS
* API Reference
The username and password that you use to connect to cluster endpoints.
*/ inline const UsernamePassword& GetUsernamePassword() const{ return m_usernamePassword; } /** *The username and password that you use to connect to cluster endpoints.
*/ inline bool UsernamePasswordHasBeenSet() const { return m_usernamePasswordHasBeenSet; } /** *The username and password that you use to connect to cluster endpoints.
*/ inline void SetUsernamePassword(const UsernamePassword& value) { m_usernamePasswordHasBeenSet = true; m_usernamePassword = value; } /** *The username and password that you use to connect to cluster endpoints.
*/ inline void SetUsernamePassword(UsernamePassword&& value) { m_usernamePasswordHasBeenSet = true; m_usernamePassword = std::move(value); } /** *The username and password that you use to connect to cluster endpoints.
*/ inline Credentials& WithUsernamePassword(const UsernamePassword& value) { SetUsernamePassword(value); return *this;} /** *The username and password that you use to connect to cluster endpoints.
*/ inline Credentials& WithUsernamePassword(UsernamePassword&& value) { SetUsernamePassword(std::move(value)); return *this;} private: UsernamePassword m_usernamePassword; bool m_usernamePasswordHasBeenSet = false; }; } // namespace Model } // namespace EMR } // namespace Aws