7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
49 template<
typename UsernameT = Aws::String>
50 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet =
true; m_username = std::forward<UsernameT>(value); }
51 template<
typename UsernameT = Aws::String>
62 template<
typename PasswordT = Aws::String>
63 void SetPassword(PasswordT&& value) { m_passwordHasBeenSet =
true; m_password = std::forward<PasswordT>(value); }
64 template<
typename PasswordT = Aws::String>
77 template<
typename ExpiresAtT = Aws::Utils::DateTime>
78 void SetExpiresAt(ExpiresAtT&& value) { m_expiresAtHasBeenSet =
true; m_expiresAt = std::forward<ExpiresAtT>(value); }
79 template<
typename ExpiresAtT = Aws::Utils::DateTime>
90 template<
typename RegistryT = Aws::String>
91 void SetRegistry(RegistryT&& value) { m_registryHasBeenSet =
true; m_registry = std::forward<RegistryT>(value); }
92 template<
typename RegistryT = Aws::String>
98 bool m_usernameHasBeenSet =
false;
101 bool m_passwordHasBeenSet =
false;
104 bool m_expiresAtHasBeenSet =
false;
107 bool m_registryHasBeenSet =
false;
void SetUsername(UsernameT &&value)
const Aws::String & GetUsername() const
const Aws::String & GetRegistry() const
bool ExpiresAtHasBeenSet() const
void SetPassword(PasswordT &&value)
ContainerServiceRegistryLogin & WithExpiresAt(ExpiresAtT &&value)
AWS_LIGHTSAIL_API ContainerServiceRegistryLogin(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
bool PasswordHasBeenSet() const
void SetExpiresAt(ExpiresAtT &&value)
ContainerServiceRegistryLogin & WithPassword(PasswordT &&value)
void SetRegistry(RegistryT &&value)
AWS_LIGHTSAIL_API ContainerServiceRegistryLogin & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RegistryHasBeenSet() const
const Aws::String & GetPassword() const
AWS_LIGHTSAIL_API ContainerServiceRegistryLogin()=default
bool UsernameHasBeenSet() const
const Aws::Utils::DateTime & GetExpiresAt() const
ContainerServiceRegistryLogin & WithUsername(UsernameT &&value)
ContainerServiceRegistryLogin & WithRegistry(RegistryT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue