/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the response to a successful CreateUser request.
* See Also:
AWS
* API Reference
A structure with details about the new IAM user.
*/ inline const User& GetUser() const{ return m_user; } /** *A structure with details about the new IAM user.
*/ inline void SetUser(const User& value) { m_user = value; } /** *A structure with details about the new IAM user.
*/ inline void SetUser(User&& value) { m_user = std::move(value); } /** *A structure with details about the new IAM user.
*/ inline CreateUserResult& WithUser(const User& value) { SetUser(value); return *this;} /** *A structure with details about the new IAM user.
*/ inline CreateUserResult& WithUser(User&& value) { SetUser(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 CreateUserResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline CreateUserResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: User m_user; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace IAM } // namespace Aws