/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IdentityStore { namespace Model { /** *

An object containing the identifier of a group member.

See * Also:

AWS * API Reference

*/ class MemberId { public: AWS_IDENTITYSTORE_API MemberId(); AWS_IDENTITYSTORE_API MemberId(Aws::Utils::Json::JsonView jsonValue); AWS_IDENTITYSTORE_API MemberId& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

An object containing the identifiers of resources that can be members.

*/ inline const Aws::String& GetUserId() const{ return m_userId; } /** *

An object containing the identifiers of resources that can be members.

*/ inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } /** *

An object containing the identifiers of resources that can be members.

*/ inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } /** *

An object containing the identifiers of resources that can be members.

*/ inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } /** *

An object containing the identifiers of resources that can be members.

*/ inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } /** *

An object containing the identifiers of resources that can be members.

*/ inline MemberId& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} /** *

An object containing the identifiers of resources that can be members.

*/ inline MemberId& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} /** *

An object containing the identifiers of resources that can be members.

*/ inline MemberId& WithUserId(const char* value) { SetUserId(value); return *this;} private: Aws::String m_userId; bool m_userIdHasBeenSet = false; }; } // namespace Model } // namespace IdentityStore } // namespace Aws