/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Lightsail { namespace Model { class CreateContainerServiceRegistryLoginResult { public: AWS_LIGHTSAIL_API CreateContainerServiceRegistryLoginResult(); AWS_LIGHTSAIL_API CreateContainerServiceRegistryLoginResult(const Aws::AmazonWebServiceResult& result); AWS_LIGHTSAIL_API CreateContainerServiceRegistryLoginResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An object that describes the log in information for the container service * registry of your Lightsail account.

*/ inline const ContainerServiceRegistryLogin& GetRegistryLogin() const{ return m_registryLogin; } /** *

An object that describes the log in information for the container service * registry of your Lightsail account.

*/ inline void SetRegistryLogin(const ContainerServiceRegistryLogin& value) { m_registryLogin = value; } /** *

An object that describes the log in information for the container service * registry of your Lightsail account.

*/ inline void SetRegistryLogin(ContainerServiceRegistryLogin&& value) { m_registryLogin = std::move(value); } /** *

An object that describes the log in information for the container service * registry of your Lightsail account.

*/ inline CreateContainerServiceRegistryLoginResult& WithRegistryLogin(const ContainerServiceRegistryLogin& value) { SetRegistryLogin(value); return *this;} /** *

An object that describes the log in information for the container service * registry of your Lightsail account.

*/ inline CreateContainerServiceRegistryLoginResult& WithRegistryLogin(ContainerServiceRegistryLogin&& value) { SetRegistryLogin(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateContainerServiceRegistryLoginResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateContainerServiceRegistryLoginResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateContainerServiceRegistryLoginResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ContainerServiceRegistryLogin m_registryLogin; Aws::String m_requestId; }; } // namespace Model } // namespace Lightsail } // namespace Aws