/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the sign-in credentials for the container image registry of an
* Amazon Lightsail account.See Also:
AWS
* API Reference
The container service registry username to use to push container images to * the container image registry of a Lightsail account.
*/ inline const Aws::String& GetUsername() const{ return m_username; } /** *The container service registry username to use to push container images to * the container image registry of a Lightsail account.
*/ inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; } /** *The container service registry username to use to push container images to * the container image registry of a Lightsail account.
*/ inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; } /** *The container service registry username to use to push container images to * the container image registry of a Lightsail account.
*/ inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); } /** *The container service registry username to use to push container images to * the container image registry of a Lightsail account.
*/ inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); } /** *The container service registry username to use to push container images to * the container image registry of a Lightsail account.
*/ inline ContainerServiceRegistryLogin& WithUsername(const Aws::String& value) { SetUsername(value); return *this;} /** *The container service registry username to use to push container images to * the container image registry of a Lightsail account.
*/ inline ContainerServiceRegistryLogin& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;} /** *The container service registry username to use to push container images to * the container image registry of a Lightsail account.
*/ inline ContainerServiceRegistryLogin& WithUsername(const char* value) { SetUsername(value); return *this;} /** *The container service registry password to use to push container images to * the container image registry of a Lightsail account
*/ inline const Aws::String& GetPassword() const{ return m_password; } /** *The container service registry password to use to push container images to * the container image registry of a Lightsail account
*/ inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; } /** *The container service registry password to use to push container images to * the container image registry of a Lightsail account
*/ inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; } /** *The container service registry password to use to push container images to * the container image registry of a Lightsail account
*/ inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); } /** *The container service registry password to use to push container images to * the container image registry of a Lightsail account
*/ inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); } /** *The container service registry password to use to push container images to * the container image registry of a Lightsail account
*/ inline ContainerServiceRegistryLogin& WithPassword(const Aws::String& value) { SetPassword(value); return *this;} /** *The container service registry password to use to push container images to * the container image registry of a Lightsail account
*/ inline ContainerServiceRegistryLogin& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;} /** *The container service registry password to use to push container images to * the container image registry of a Lightsail account
*/ inline ContainerServiceRegistryLogin& WithPassword(const char* value) { SetPassword(value); return *this;} /** *The timestamp of when the container image registry sign-in credentials * expire.
The log in credentials expire 12 hours after they are created, at
* which point you will need to create a new set of log in credentials using the
* CreateContainerServiceRegistryLogin action.
The timestamp of when the container image registry sign-in credentials * expire.
The log in credentials expire 12 hours after they are created, at
* which point you will need to create a new set of log in credentials using the
* CreateContainerServiceRegistryLogin action.
The timestamp of when the container image registry sign-in credentials * expire.
The log in credentials expire 12 hours after they are created, at
* which point you will need to create a new set of log in credentials using the
* CreateContainerServiceRegistryLogin action.
The timestamp of when the container image registry sign-in credentials * expire.
The log in credentials expire 12 hours after they are created, at
* which point you will need to create a new set of log in credentials using the
* CreateContainerServiceRegistryLogin action.
The timestamp of when the container image registry sign-in credentials * expire.
The log in credentials expire 12 hours after they are created, at
* which point you will need to create a new set of log in credentials using the
* CreateContainerServiceRegistryLogin action.
The timestamp of when the container image registry sign-in credentials * expire.
The log in credentials expire 12 hours after they are created, at
* which point you will need to create a new set of log in credentials using the
* CreateContainerServiceRegistryLogin action.
The address to use to push container images to the container image registry * of a Lightsail account.
*/ inline const Aws::String& GetRegistry() const{ return m_registry; } /** *The address to use to push container images to the container image registry * of a Lightsail account.
*/ inline bool RegistryHasBeenSet() const { return m_registryHasBeenSet; } /** *The address to use to push container images to the container image registry * of a Lightsail account.
*/ inline void SetRegistry(const Aws::String& value) { m_registryHasBeenSet = true; m_registry = value; } /** *The address to use to push container images to the container image registry * of a Lightsail account.
*/ inline void SetRegistry(Aws::String&& value) { m_registryHasBeenSet = true; m_registry = std::move(value); } /** *The address to use to push container images to the container image registry * of a Lightsail account.
*/ inline void SetRegistry(const char* value) { m_registryHasBeenSet = true; m_registry.assign(value); } /** *The address to use to push container images to the container image registry * of a Lightsail account.
*/ inline ContainerServiceRegistryLogin& WithRegistry(const Aws::String& value) { SetRegistry(value); return *this;} /** *The address to use to push container images to the container image registry * of a Lightsail account.
*/ inline ContainerServiceRegistryLogin& WithRegistry(Aws::String&& value) { SetRegistry(std::move(value)); return *this;} /** *The address to use to push container images to the container image registry * of a Lightsail account.
*/ inline ContainerServiceRegistryLogin& WithRegistry(const char* value) { SetRegistry(value); return *this;} private: Aws::String m_username; bool m_usernameHasBeenSet = false; Aws::String m_password; bool m_passwordHasBeenSet = false; Aws::Utils::DateTime m_expiresAt; bool m_expiresAtHasBeenSet = false; Aws::String m_registry; bool m_registryHasBeenSet = false; }; } // namespace Model } // namespace Lightsail } // namespace Aws