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

A unique identifier for the user.

*/ inline const Aws::String& GetUserName() const{ return m_userName; } /** *

A unique identifier for the user.

*/ inline void SetUserName(const Aws::String& value) { m_userName = value; } /** *

A unique identifier for the user.

*/ inline void SetUserName(Aws::String&& value) { m_userName = std::move(value); } /** *

A unique identifier for the user.

*/ inline void SetUserName(const char* value) { m_userName.assign(value); } /** *

A unique identifier for the user.

*/ inline GetKxUserResult& WithUserName(const Aws::String& value) { SetUserName(value); return *this;} /** *

A unique identifier for the user.

*/ inline GetKxUserResult& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;} /** *

A unique identifier for the user.

*/ inline GetKxUserResult& WithUserName(const char* value) { SetUserName(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 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 void SetUserArn(const Aws::String& value) { 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_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_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 GetKxUserResult& 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 GetKxUserResult& 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 GetKxUserResult& WithUserArn(const char* value) { SetUserArn(value); return *this;} /** *

A unique identifier for the kdb environment.

*/ inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } /** *

A unique identifier for the kdb environment.

*/ inline void SetEnvironmentId(const Aws::String& value) { m_environmentId = value; } /** *

A unique identifier for the kdb environment.

*/ inline void SetEnvironmentId(Aws::String&& value) { m_environmentId = std::move(value); } /** *

A unique identifier for the kdb environment.

*/ inline void SetEnvironmentId(const char* value) { m_environmentId.assign(value); } /** *

A unique identifier for the kdb environment.

*/ inline GetKxUserResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *

A unique identifier for the kdb environment.

*/ inline GetKxUserResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} /** *

A unique identifier for the kdb environment.

*/ inline GetKxUserResult& WithEnvironmentId(const char* value) { SetEnvironmentId(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 void SetIamRole(const Aws::String& value) { m_iamRole = value; } /** *

The IAM role ARN that is associated with the user.

*/ inline void SetIamRole(Aws::String&& value) { m_iamRole = std::move(value); } /** *

The IAM role ARN that is associated with the user.

*/ inline void SetIamRole(const char* value) { m_iamRole.assign(value); } /** *

The IAM role ARN that is associated with the user.

*/ inline GetKxUserResult& WithIamRole(const Aws::String& value) { SetIamRole(value); return *this;} /** *

The IAM role ARN that is associated with the user.

*/ inline GetKxUserResult& WithIamRole(Aws::String&& value) { SetIamRole(std::move(value)); return *this;} /** *

The IAM role ARN that is associated with the user.

*/ inline GetKxUserResult& WithIamRole(const char* value) { SetIamRole(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 GetKxUserResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetKxUserResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetKxUserResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_userName; Aws::String m_userArn; Aws::String m_environmentId; Aws::String m_iamRole; Aws::String m_requestId; }; } // namespace Model } // namespace finspace } // namespace Aws