/**
* 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 GetUser request. See
* Also:
AWS
* API Reference
A structure containing details about the IAM user.
Due to * a service issue, password last used data does not include password use from May * 3, 2018 22:50 PDT to May 23, 2018 14:08 PDT. This affects last * sign-in dates shown in the IAM console and password last used dates in the * IAM * credential report, and returned by this operation. If users signed in during * the affected time, the password last used date that is returned is the date the * user last signed in before May 3, 2018. For users that signed in after May 23, * 2018 14:08 PDT, the returned password last used date is accurate.
You can * use password last used information to identify unused credentials for deletion. * For example, you might delete users who did not sign in to Amazon Web Services * in the last 90 days. In cases like this, we recommend that you adjust your * evaluation window to include dates after May 23, 2018. Alternatively, if your * users use access keys to access Amazon Web Services programmatically you can * refer to access key last used information because it is accurate for all dates. *
*/ inline const User& GetUser() const{ return m_user; } /** *A structure containing details about the IAM user.
Due to * a service issue, password last used data does not include password use from May * 3, 2018 22:50 PDT to May 23, 2018 14:08 PDT. This affects last * sign-in dates shown in the IAM console and password last used dates in the * IAM * credential report, and returned by this operation. If users signed in during * the affected time, the password last used date that is returned is the date the * user last signed in before May 3, 2018. For users that signed in after May 23, * 2018 14:08 PDT, the returned password last used date is accurate.
You can * use password last used information to identify unused credentials for deletion. * For example, you might delete users who did not sign in to Amazon Web Services * in the last 90 days. In cases like this, we recommend that you adjust your * evaluation window to include dates after May 23, 2018. Alternatively, if your * users use access keys to access Amazon Web Services programmatically you can * refer to access key last used information because it is accurate for all dates. *
*/ inline void SetUser(const User& value) { m_user = value; } /** *A structure containing details about the IAM user.
Due to * a service issue, password last used data does not include password use from May * 3, 2018 22:50 PDT to May 23, 2018 14:08 PDT. This affects last * sign-in dates shown in the IAM console and password last used dates in the * IAM * credential report, and returned by this operation. If users signed in during * the affected time, the password last used date that is returned is the date the * user last signed in before May 3, 2018. For users that signed in after May 23, * 2018 14:08 PDT, the returned password last used date is accurate.
You can * use password last used information to identify unused credentials for deletion. * For example, you might delete users who did not sign in to Amazon Web Services * in the last 90 days. In cases like this, we recommend that you adjust your * evaluation window to include dates after May 23, 2018. Alternatively, if your * users use access keys to access Amazon Web Services programmatically you can * refer to access key last used information because it is accurate for all dates. *
*/ inline void SetUser(User&& value) { m_user = std::move(value); } /** *A structure containing details about the IAM user.
Due to * a service issue, password last used data does not include password use from May * 3, 2018 22:50 PDT to May 23, 2018 14:08 PDT. This affects last * sign-in dates shown in the IAM console and password last used dates in the * IAM * credential report, and returned by this operation. If users signed in during * the affected time, the password last used date that is returned is the date the * user last signed in before May 3, 2018. For users that signed in after May 23, * 2018 14:08 PDT, the returned password last used date is accurate.
You can * use password last used information to identify unused credentials for deletion. * For example, you might delete users who did not sign in to Amazon Web Services * in the last 90 days. In cases like this, we recommend that you adjust your * evaluation window to include dates after May 23, 2018. Alternatively, if your * users use access keys to access Amazon Web Services programmatically you can * refer to access key last used information because it is accurate for all dates. *
*/ inline GetUserResult& WithUser(const User& value) { SetUser(value); return *this;} /** *A structure containing details about the IAM user.
Due to * a service issue, password last used data does not include password use from May * 3, 2018 22:50 PDT to May 23, 2018 14:08 PDT. This affects last * sign-in dates shown in the IAM console and password last used dates in the * IAM * credential report, and returned by this operation. If users signed in during * the affected time, the password last used date that is returned is the date the * user last signed in before May 3, 2018. For users that signed in after May 23, * 2018 14:08 PDT, the returned password last used date is accurate.
You can * use password last used information to identify unused credentials for deletion. * For example, you might delete users who did not sign in to Amazon Web Services * in the last 90 days. In cases like this, we recommend that you adjust your * evaluation window to include dates after May 23, 2018. Alternatively, if your * users use access keys to access Amazon Web Services programmatically you can * refer to access key last used information because it is accurate for all dates. *
*/ inline GetUserResult& 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 GetUserResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline GetUserResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: User m_user; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace IAM } // namespace Aws