/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that stores metadata for a kdb user.See Also:
* AWS
* API Reference
The Amazon Resource Name (ARN) that identifies the user. For more * information about ARNs and how to use ARNs in policies, see IAM Identifiers in * the IAM User Guide.
*/ inline const Aws::String& GetUserArn() const{ return m_userArn; } /** *The Amazon Resource Name (ARN) that identifies the user. For more * information about ARNs and how to use ARNs in policies, see IAM Identifiers in * the IAM User Guide.
*/ inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; } /** *The Amazon Resource Name (ARN) that identifies the user. For more * information about ARNs and how to use ARNs in policies, see IAM Identifiers in * the IAM User Guide.
*/ inline void SetUserArn(const Aws::String& value) { m_userArnHasBeenSet = true; m_userArn = value; } /** *The Amazon Resource Name (ARN) that identifies the user. For more * information about ARNs and how to use ARNs in policies, see IAM Identifiers in * the IAM User Guide.
*/ inline void SetUserArn(Aws::String&& value) { m_userArnHasBeenSet = true; m_userArn = std::move(value); } /** *The Amazon Resource Name (ARN) that identifies the user. For more * information about ARNs and how to use ARNs in policies, see IAM Identifiers in * the IAM User Guide.
*/ inline void SetUserArn(const char* value) { m_userArnHasBeenSet = true; m_userArn.assign(value); } /** *The Amazon Resource Name (ARN) that identifies the user. For more * information about ARNs and how to use ARNs in policies, see IAM Identifiers in * the IAM User Guide.
*/ inline KxUser& WithUserArn(const Aws::String& value) { SetUserArn(value); return *this;} /** *The Amazon Resource Name (ARN) that identifies the user. For more * information about ARNs and how to use ARNs in policies, see IAM Identifiers in * the IAM User Guide.
*/ inline KxUser& WithUserArn(Aws::String&& value) { SetUserArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) that identifies the user. For more * information about ARNs and how to use ARNs in policies, see IAM Identifiers in * the IAM User Guide.
*/ inline KxUser& WithUserArn(const char* value) { SetUserArn(value); return *this;} /** *A unique identifier for the user.
*/ inline const Aws::String& GetUserName() const{ return m_userName; } /** *A unique identifier for the user.
*/ inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; } /** *A unique identifier for the user.
*/ inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; } /** *A unique identifier for the user.
*/ inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); } /** *A unique identifier for the user.
*/ inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); } /** *A unique identifier for the user.
*/ inline KxUser& WithUserName(const Aws::String& value) { SetUserName(value); return *this;} /** *A unique identifier for the user.
*/ inline KxUser& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;} /** *A unique identifier for the user.
*/ inline KxUser& WithUserName(const char* value) { SetUserName(value); return *this;} /** *The IAM role ARN that is associated with the user.
*/ inline const Aws::String& GetIamRole() const{ return m_iamRole; } /** *The IAM role ARN that is associated with the user.
*/ inline bool IamRoleHasBeenSet() const { return m_iamRoleHasBeenSet; } /** *The IAM role ARN that is associated with the user.
*/ inline void SetIamRole(const Aws::String& value) { m_iamRoleHasBeenSet = true; m_iamRole = value; } /** *The IAM role ARN that is associated with the user.
*/ inline void SetIamRole(Aws::String&& value) { m_iamRoleHasBeenSet = true; m_iamRole = std::move(value); } /** *The IAM role ARN that is associated with the user.
*/ inline void SetIamRole(const char* value) { m_iamRoleHasBeenSet = true; m_iamRole.assign(value); } /** *The IAM role ARN that is associated with the user.
*/ inline KxUser& WithIamRole(const Aws::String& value) { SetIamRole(value); return *this;} /** *The IAM role ARN that is associated with the user.
*/ inline KxUser& WithIamRole(Aws::String&& value) { SetIamRole(std::move(value)); return *this;} /** *The IAM role ARN that is associated with the user.
*/ inline KxUser& WithIamRole(const char* value) { SetIamRole(value); return *this;} /** *The timestamp at which the kdb user was created.
*/ inline const Aws::Utils::DateTime& GetCreateTimestamp() const{ return m_createTimestamp; } /** *The timestamp at which the kdb user was created.
*/ inline bool CreateTimestampHasBeenSet() const { return m_createTimestampHasBeenSet; } /** *The timestamp at which the kdb user was created.
*/ inline void SetCreateTimestamp(const Aws::Utils::DateTime& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = value; } /** *The timestamp at which the kdb user was created.
*/ inline void SetCreateTimestamp(Aws::Utils::DateTime&& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = std::move(value); } /** *The timestamp at which the kdb user was created.
*/ inline KxUser& WithCreateTimestamp(const Aws::Utils::DateTime& value) { SetCreateTimestamp(value); return *this;} /** *The timestamp at which the kdb user was created.
*/ inline KxUser& WithCreateTimestamp(Aws::Utils::DateTime&& value) { SetCreateTimestamp(std::move(value)); return *this;} /** *The timestamp at which the kdb user was updated.
*/ inline const Aws::Utils::DateTime& GetUpdateTimestamp() const{ return m_updateTimestamp; } /** *The timestamp at which the kdb user was updated.
*/ inline bool UpdateTimestampHasBeenSet() const { return m_updateTimestampHasBeenSet; } /** *The timestamp at which the kdb user was updated.
*/ inline void SetUpdateTimestamp(const Aws::Utils::DateTime& value) { m_updateTimestampHasBeenSet = true; m_updateTimestamp = value; } /** *The timestamp at which the kdb user was updated.
*/ inline void SetUpdateTimestamp(Aws::Utils::DateTime&& value) { m_updateTimestampHasBeenSet = true; m_updateTimestamp = std::move(value); } /** *The timestamp at which the kdb user was updated.
*/ inline KxUser& WithUpdateTimestamp(const Aws::Utils::DateTime& value) { SetUpdateTimestamp(value); return *this;} /** *The timestamp at which the kdb user was updated.
*/ inline KxUser& WithUpdateTimestamp(Aws::Utils::DateTime&& value) { SetUpdateTimestamp(std::move(value)); return *this;} private: Aws::String m_userArn; bool m_userArnHasBeenSet = false; Aws::String m_userName; bool m_userNameHasBeenSet = false; Aws::String m_iamRole; bool m_iamRoleHasBeenSet = false; Aws::Utils::DateTime m_createTimestamp; bool m_createTimestampHasBeenSet = false; Aws::Utils::DateTime m_updateTimestamp; bool m_updateTimestampHasBeenSet = false; }; } // namespace Model } // namespace finspace } // namespace Aws