/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Set of credentials required to remotely access a fleet
* instance.See Also:
AWS
* API Reference
User login string.
*/ inline const Aws::String& GetUserName() const{ return m_userName; } /** *User login string.
*/ inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; } /** *User login string.
*/ inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; } /** *User login string.
*/ inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); } /** *User login string.
*/ inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); } /** *User login string.
*/ inline InstanceCredentials& WithUserName(const Aws::String& value) { SetUserName(value); return *this;} /** *User login string.
*/ inline InstanceCredentials& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;} /** *User login string.
*/ inline InstanceCredentials& WithUserName(const char* value) { SetUserName(value); return *this;} /** *Secret string. For Windows instances, the secret is a password for use with
* Windows Remote Desktop. For Linux instances, it is a private key (which must be
* saved as a .pem
file) for use with SSH.
Secret string. For Windows instances, the secret is a password for use with
* Windows Remote Desktop. For Linux instances, it is a private key (which must be
* saved as a .pem
file) for use with SSH.
Secret string. For Windows instances, the secret is a password for use with
* Windows Remote Desktop. For Linux instances, it is a private key (which must be
* saved as a .pem
file) for use with SSH.
Secret string. For Windows instances, the secret is a password for use with
* Windows Remote Desktop. For Linux instances, it is a private key (which must be
* saved as a .pem
file) for use with SSH.
Secret string. For Windows instances, the secret is a password for use with
* Windows Remote Desktop. For Linux instances, it is a private key (which must be
* saved as a .pem
file) for use with SSH.
Secret string. For Windows instances, the secret is a password for use with
* Windows Remote Desktop. For Linux instances, it is a private key (which must be
* saved as a .pem
file) for use with SSH.
Secret string. For Windows instances, the secret is a password for use with
* Windows Remote Desktop. For Linux instances, it is a private key (which must be
* saved as a .pem
file) for use with SSH.
Secret string. For Windows instances, the secret is a password for use with
* Windows Remote Desktop. For Linux instances, it is a private key (which must be
* saved as a .pem
file) for use with SSH.