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>
54 template<
typename CertKeyT = Aws::String>
55 void SetCertKey(CertKeyT&& value) { m_certKeyHasBeenSet =
true; m_certKey = std::forward<CertKeyT>(value); }
56 template<
typename CertKeyT = Aws::String>
66 template<
typename ExpiresAtT = Aws::Utils::DateTime>
67 void SetExpiresAt(ExpiresAtT&& value) { m_expiresAtHasBeenSet =
true; m_expiresAt = std::forward<ExpiresAtT>(value); }
68 template<
typename ExpiresAtT = Aws::Utils::DateTime>
78 template<
typename IpAddressT = Aws::String>
79 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet =
true; m_ipAddress = std::forward<IpAddressT>(value); }
80 template<
typename IpAddressT = Aws::String>
90 template<
typename Ipv6AddressesT = Aws::Vector<Aws::String>>
91 void SetIpv6Addresses(Ipv6AddressesT&& value) { m_ipv6AddressesHasBeenSet =
true; m_ipv6Addresses = std::forward<Ipv6AddressesT>(value); }
92 template<
typename Ipv6AddressesT = Aws::Vector<Aws::String>>
94 template<
typename Ipv6AddressesT = Aws::String>
112 template<
typename PasswordT = Aws::String>
113 void SetPassword(PasswordT&& value) { m_passwordHasBeenSet =
true; m_password = std::forward<PasswordT>(value); }
114 template<
typename PasswordT = Aws::String>
128 template<
typename PasswordDataT = PasswordData>
129 void SetPasswordData(PasswordDataT&& value) { m_passwordDataHasBeenSet =
true; m_passwordData = std::forward<PasswordDataT>(value); }
130 template<
typename PasswordDataT = PasswordData>
141 template<
typename PrivateKeyT = Aws::String>
142 void SetPrivateKey(PrivateKeyT&& value) { m_privateKeyHasBeenSet =
true; m_privateKey = std::forward<PrivateKeyT>(value); }
143 template<
typename PrivateKeyT = Aws::String>
163 template<
typename InstanceNameT = Aws::String>
164 void SetInstanceName(InstanceNameT&& value) { m_instanceNameHasBeenSet =
true; m_instanceName = std::forward<InstanceNameT>(value); }
165 template<
typename InstanceNameT = Aws::String>
175 template<
typename UsernameT = Aws::String>
176 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet =
true; m_username = std::forward<UsernameT>(value); }
177 template<
typename UsernameT = Aws::String>
187 template<
typename HostKeysT = Aws::Vector<HostKeyAttributes>>
188 void SetHostKeys(HostKeysT&& value) { m_hostKeysHasBeenSet =
true; m_hostKeys = std::forward<HostKeysT>(value); }
189 template<
typename HostKeysT = Aws::Vector<HostKeyAttributes>>
191 template<
typename HostKeysT = HostKeyAttributes>
197 bool m_certKeyHasBeenSet =
false;
200 bool m_expiresAtHasBeenSet =
false;
203 bool m_ipAddressHasBeenSet =
false;
206 bool m_ipv6AddressesHasBeenSet =
false;
209 bool m_passwordHasBeenSet =
false;
211 PasswordData m_passwordData;
212 bool m_passwordDataHasBeenSet =
false;
215 bool m_privateKeyHasBeenSet =
false;
218 bool m_protocolHasBeenSet =
false;
221 bool m_instanceNameHasBeenSet =
false;
224 bool m_usernameHasBeenSet =
false;
227 bool m_hostKeysHasBeenSet =
false;
const Aws::Vector< HostKeyAttributes > & GetHostKeys() const
InstanceAccessDetails & WithProtocol(InstanceAccessProtocol value)
const Aws::String & GetInstanceName() const
AWS_LIGHTSAIL_API InstanceAccessDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CertKeyHasBeenSet() const
InstanceAccessDetails & WithExpiresAt(ExpiresAtT &&value)
InstanceAccessDetails & AddHostKeys(HostKeysT &&value)
const Aws::Vector< Aws::String > & GetIpv6Addresses() const
InstanceAccessDetails & WithInstanceName(InstanceNameT &&value)
InstanceAccessDetails & WithPassword(PasswordT &&value)
AWS_LIGHTSAIL_API InstanceAccessDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPassword() const
InstanceAccessDetails & WithIpAddress(IpAddressT &&value)
void SetUsername(UsernameT &&value)
const Aws::String & GetIpAddress() const
void SetIpv6Addresses(Ipv6AddressesT &&value)
bool HostKeysHasBeenSet() const
void SetPassword(PasswordT &&value)
InstanceAccessDetails & WithHostKeys(HostKeysT &&value)
void SetPrivateKey(PrivateKeyT &&value)
bool IpAddressHasBeenSet() const
InstanceAccessDetails & WithPrivateKey(PrivateKeyT &&value)
bool ExpiresAtHasBeenSet() const
const PasswordData & GetPasswordData() const
bool UsernameHasBeenSet() const
const Aws::String & GetCertKey() const
void SetProtocol(InstanceAccessProtocol value)
bool PasswordDataHasBeenSet() const
const Aws::String & GetUsername() const
InstanceAccessDetails & WithIpv6Addresses(Ipv6AddressesT &&value)
InstanceAccessDetails & WithPasswordData(PasswordDataT &&value)
void SetCertKey(CertKeyT &&value)
bool ProtocolHasBeenSet() const
void SetIpAddress(IpAddressT &&value)
bool InstanceNameHasBeenSet() const
InstanceAccessDetails & AddIpv6Addresses(Ipv6AddressesT &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetPrivateKey() const
void SetExpiresAt(ExpiresAtT &&value)
const Aws::Utils::DateTime & GetExpiresAt() const
InstanceAccessProtocol GetProtocol() const
InstanceAccessDetails & WithCertKey(CertKeyT &&value)
bool PrivateKeyHasBeenSet() const
bool Ipv6AddressesHasBeenSet() const
void SetPasswordData(PasswordDataT &&value)
AWS_LIGHTSAIL_API InstanceAccessDetails()=default
bool PasswordHasBeenSet() const
void SetHostKeys(HostKeysT &&value)
InstanceAccessDetails & WithUsername(UsernameT &&value)
void SetInstanceName(InstanceNameT &&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