7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lightsail/model/PasswordData.h>
12#include <aws/lightsail/model/InstanceAccessProtocol.h>
13#include <aws/lightsail/model/HostKeyAttributes.h>
56 inline void SetCertKey(
const char* value) { m_certKeyHasBeenSet =
true; m_certKey.assign(value); }
82 inline void SetIpAddress(
const char* value) { m_ipAddressHasBeenSet =
true; m_ipAddress.assign(value); }
119 inline void SetPassword(
const char* value) { m_passwordHasBeenSet =
true; m_password.assign(value); }
150 inline void SetPrivateKey(
const char* value) { m_privateKeyHasBeenSet =
true; m_privateKey.assign(value); }
176 inline void SetInstanceName(
const char* value) { m_instanceNameHasBeenSet =
true; m_instanceName.assign(value); }
190 inline void SetUsername(
const char* value) { m_usernameHasBeenSet =
true; m_username.assign(value); }
212 bool m_certKeyHasBeenSet =
false;
215 bool m_expiresAtHasBeenSet =
false;
218 bool m_ipAddressHasBeenSet =
false;
221 bool m_ipv6AddressesHasBeenSet =
false;
224 bool m_passwordHasBeenSet =
false;
227 bool m_passwordDataHasBeenSet =
false;
230 bool m_privateKeyHasBeenSet =
false;
233 bool m_protocolHasBeenSet =
false;
236 bool m_instanceNameHasBeenSet =
false;
239 bool m_usernameHasBeenSet =
false;
242 bool m_hostKeysHasBeenSet =
false;
void SetIpAddress(const char *value)
const Aws::Vector< HostKeyAttributes > & GetHostKeys() const
const Aws::String & GetInstanceName() const
void SetIpv6Addresses(Aws::Vector< Aws::String > &&value)
void SetPasswordData(const PasswordData &value)
void SetProtocol(const InstanceAccessProtocol &value)
AWS_LIGHTSAIL_API InstanceAccessDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCertKey(const Aws::String &value)
void SetPassword(const Aws::String &value)
bool CertKeyHasBeenSet() const
InstanceAccessDetails & WithPrivateKey(Aws::String &&value)
InstanceAccessDetails & AddHostKeys(HostKeyAttributes &&value)
void SetHostKeys(Aws::Vector< HostKeyAttributes > &&value)
const Aws::Vector< Aws::String > & GetIpv6Addresses() const
InstanceAccessDetails & WithPasswordData(const PasswordData &value)
void SetInstanceName(const Aws::String &value)
InstanceAccessDetails & WithProtocol(InstanceAccessProtocol &&value)
void SetProtocol(InstanceAccessProtocol &&value)
void SetUsername(Aws::String &&value)
AWS_LIGHTSAIL_API InstanceAccessDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPassword() const
InstanceAccessDetails & AddIpv6Addresses(const Aws::String &value)
InstanceAccessDetails & WithIpv6Addresses(Aws::Vector< Aws::String > &&value)
InstanceAccessDetails & WithPrivateKey(const Aws::String &value)
InstanceAccessDetails & WithIpAddress(Aws::String &&value)
InstanceAccessDetails & WithUsername(Aws::String &&value)
InstanceAccessDetails & WithHostKeys(const Aws::Vector< HostKeyAttributes > &value)
const Aws::String & GetIpAddress() const
bool HostKeysHasBeenSet() const
InstanceAccessDetails & WithIpv6Addresses(const Aws::Vector< Aws::String > &value)
void SetPasswordData(PasswordData &&value)
InstanceAccessDetails & WithProtocol(const InstanceAccessProtocol &value)
void SetIpv6Addresses(const Aws::Vector< Aws::String > &value)
InstanceAccessDetails & WithPassword(const Aws::String &value)
void SetIpAddress(const Aws::String &value)
InstanceAccessDetails & WithUsername(const char *value)
bool IpAddressHasBeenSet() const
InstanceAccessDetails & WithIpAddress(const Aws::String &value)
void SetExpiresAt(Aws::Utils::DateTime &&value)
bool ExpiresAtHasBeenSet() const
const PasswordData & GetPasswordData() const
bool UsernameHasBeenSet() const
void SetPassword(Aws::String &&value)
void SetPassword(const char *value)
const Aws::String & GetCertKey() const
InstanceAccessDetails & WithCertKey(const char *value)
void SetPrivateKey(const char *value)
bool PasswordDataHasBeenSet() const
const Aws::String & GetUsername() const
InstanceAccessDetails & WithHostKeys(Aws::Vector< HostKeyAttributes > &&value)
void SetPrivateKey(const Aws::String &value)
InstanceAccessDetails & WithUsername(const Aws::String &value)
bool ProtocolHasBeenSet() const
InstanceAccessDetails & AddHostKeys(const HostKeyAttributes &value)
InstanceAccessDetails & WithCertKey(Aws::String &&value)
void SetCertKey(const char *value)
bool InstanceNameHasBeenSet() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetPrivateKey() const
const Aws::Utils::DateTime & GetExpiresAt() const
void SetIpAddress(Aws::String &&value)
InstanceAccessDetails & WithPrivateKey(const char *value)
void SetUsername(const Aws::String &value)
bool PrivateKeyHasBeenSet() const
const InstanceAccessProtocol & GetProtocol() const
InstanceAccessDetails & WithPassword(const char *value)
InstanceAccessDetails & WithPassword(Aws::String &&value)
bool Ipv6AddressesHasBeenSet() const
AWS_LIGHTSAIL_API InstanceAccessDetails()
InstanceAccessDetails & WithExpiresAt(Aws::Utils::DateTime &&value)
void SetInstanceName(const char *value)
InstanceAccessDetails & WithCertKey(const Aws::String &value)
void SetPrivateKey(Aws::String &&value)
InstanceAccessDetails & WithInstanceName(Aws::String &&value)
InstanceAccessDetails & WithInstanceName(const Aws::String &value)
bool PasswordHasBeenSet() const
void SetCertKey(Aws::String &&value)
InstanceAccessDetails & WithInstanceName(const char *value)
InstanceAccessDetails & AddIpv6Addresses(const char *value)
void SetHostKeys(const Aws::Vector< HostKeyAttributes > &value)
void SetInstanceName(Aws::String &&value)
InstanceAccessDetails & WithIpAddress(const char *value)
InstanceAccessDetails & WithExpiresAt(const Aws::Utils::DateTime &value)
InstanceAccessDetails & AddIpv6Addresses(Aws::String &&value)
void SetUsername(const char *value)
void SetExpiresAt(const Aws::Utils::DateTime &value)
InstanceAccessDetails & WithPasswordData(PasswordData &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue