7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lightsail/Lightsail_EXPORTS.h>
11#include <aws/lightsail/model/HostKeyAttributes.h>
12#include <aws/lightsail/model/InstanceAccessProtocol.h>
13#include <aws/lightsail/model/PasswordData.h>
48 template <
typename CertKeyT = Aws::String>
50 m_certKeyHasBeenSet =
true;
51 m_certKey = std::forward<CertKeyT>(value);
53 template <
typename CertKeyT = Aws::String>
66 template <
typename ExpiresAtT = Aws::Utils::DateTime>
68 m_expiresAtHasBeenSet =
true;
69 m_expiresAt = std::forward<ExpiresAtT>(value);
71 template <
typename ExpiresAtT = Aws::Utils::DateTime>
84 template <
typename IpAddressT = Aws::String>
86 m_ipAddressHasBeenSet =
true;
87 m_ipAddress = std::forward<IpAddressT>(value);
89 template <
typename IpAddressT = Aws::String>
102 template <
typename Ipv6AddressesT = Aws::Vector<Aws::String>>
104 m_ipv6AddressesHasBeenSet =
true;
105 m_ipv6Addresses = std::forward<Ipv6AddressesT>(value);
107 template <
typename Ipv6AddressesT = Aws::Vector<Aws::String>>
112 template <
typename Ipv6AddressesT = Aws::String>
114 m_ipv6AddressesHasBeenSet =
true;
115 m_ipv6Addresses.emplace_back(std::forward<Ipv6AddressesT>(value));
134 template <
typename PasswordT = Aws::String>
136 m_passwordHasBeenSet =
true;
137 m_password = std::forward<PasswordT>(value);
139 template <
typename PasswordT = Aws::String>
156 template <
typename PasswordDataT = PasswordData>
158 m_passwordDataHasBeenSet =
true;
159 m_passwordData = std::forward<PasswordDataT>(value);
161 template <
typename PasswordDataT = PasswordData>
175 template <
typename PrivateKeyT = Aws::String>
177 m_privateKeyHasBeenSet =
true;
178 m_privateKey = std::forward<PrivateKeyT>(value);
180 template <
typename PrivateKeyT = Aws::String>
194 m_protocolHasBeenSet =
true;
209 template <
typename InstanceNameT = Aws::String>
211 m_instanceNameHasBeenSet =
true;
212 m_instanceName = std::forward<InstanceNameT>(value);
214 template <
typename InstanceNameT = Aws::String>
227 template <
typename UsernameT = Aws::String>
229 m_usernameHasBeenSet =
true;
230 m_username = std::forward<UsernameT>(value);
232 template <
typename UsernameT = Aws::String>
245 template <
typename HostKeysT = Aws::Vector<HostKeyAttributes>>
247 m_hostKeysHasBeenSet =
true;
248 m_hostKeys = std::forward<HostKeysT>(value);
250 template <
typename HostKeysT = Aws::Vector<HostKeyAttributes>>
255 template <
typename HostKeysT = HostKeyAttributes>
257 m_hostKeysHasBeenSet =
true;
258 m_hostKeys.emplace_back(std::forward<HostKeysT>(value));
273 PasswordData m_passwordData;
284 bool m_certKeyHasBeenSet =
false;
285 bool m_expiresAtHasBeenSet =
false;
286 bool m_ipAddressHasBeenSet =
false;
287 bool m_ipv6AddressesHasBeenSet =
false;
288 bool m_passwordHasBeenSet =
false;
289 bool m_passwordDataHasBeenSet =
false;
290 bool m_privateKeyHasBeenSet =
false;
291 bool m_protocolHasBeenSet =
false;
292 bool m_instanceNameHasBeenSet =
false;
293 bool m_usernameHasBeenSet =
false;
294 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