/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Denotes the user's authentication properties, such as whether it requires a
* password to authenticate. Used in output responses.See Also:
* AWS
* API Reference
Indicates whether the user requires a password to authenticate. All * newly-created users require a password.
*/ inline const InputAuthenticationType& GetType() const{ return m_type; } /** *Indicates whether the user requires a password to authenticate. All * newly-created users require a password.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *Indicates whether the user requires a password to authenticate. All * newly-created users require a password.
*/ inline void SetType(const InputAuthenticationType& value) { m_typeHasBeenSet = true; m_type = value; } /** *Indicates whether the user requires a password to authenticate. All * newly-created users require a password.
*/ inline void SetType(InputAuthenticationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *Indicates whether the user requires a password to authenticate. All * newly-created users require a password.
*/ inline AuthenticationMode& WithType(const InputAuthenticationType& value) { SetType(value); return *this;} /** *Indicates whether the user requires a password to authenticate. All * newly-created users require a password.
*/ inline AuthenticationMode& WithType(InputAuthenticationType&& value) { SetType(std::move(value)); return *this;} /** *The password(s) used for authentication
*/ inline const Aws::VectorThe password(s) used for authentication
*/ inline bool PasswordsHasBeenSet() const { return m_passwordsHasBeenSet; } /** *The password(s) used for authentication
*/ inline void SetPasswords(const Aws::VectorThe password(s) used for authentication
*/ inline void SetPasswords(Aws::VectorThe password(s) used for authentication
*/ inline AuthenticationMode& WithPasswords(const Aws::VectorThe password(s) used for authentication
*/ inline AuthenticationMode& WithPasswords(Aws::VectorThe password(s) used for authentication
*/ inline AuthenticationMode& AddPasswords(const Aws::String& value) { m_passwordsHasBeenSet = true; m_passwords.push_back(value); return *this; } /** *The password(s) used for authentication
*/ inline AuthenticationMode& AddPasswords(Aws::String&& value) { m_passwordsHasBeenSet = true; m_passwords.push_back(std::move(value)); return *this; } /** *The password(s) used for authentication
*/ inline AuthenticationMode& AddPasswords(const char* value) { m_passwordsHasBeenSet = true; m_passwords.push_back(value); return *this; } private: InputAuthenticationType m_type; bool m_typeHasBeenSet = false; Aws::Vector