/** * 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 Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace IAM { namespace Model { /** *

Contains the response to a successful GetLoginProfile request. *

See Also:

AWS * API Reference

*/ class GetLoginProfileResult { public: AWS_IAM_API GetLoginProfileResult(); AWS_IAM_API GetLoginProfileResult(const Aws::AmazonWebServiceResult& result); AWS_IAM_API GetLoginProfileResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A structure containing the user name and the profile creation date for the * user.

*/ inline const LoginProfile& GetLoginProfile() const{ return m_loginProfile; } /** *

A structure containing the user name and the profile creation date for the * user.

*/ inline void SetLoginProfile(const LoginProfile& value) { m_loginProfile = value; } /** *

A structure containing the user name and the profile creation date for the * user.

*/ inline void SetLoginProfile(LoginProfile&& value) { m_loginProfile = std::move(value); } /** *

A structure containing the user name and the profile creation date for the * user.

*/ inline GetLoginProfileResult& WithLoginProfile(const LoginProfile& value) { SetLoginProfile(value); return *this;} /** *

A structure containing the user name and the profile creation date for the * user.

*/ inline GetLoginProfileResult& WithLoginProfile(LoginProfile&& value) { SetLoginProfile(std::move(value)); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline GetLoginProfileResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline GetLoginProfileResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: LoginProfile m_loginProfile; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace IAM } // namespace Aws