/** * 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 IdentityStore { namespace Model { class CreateUserResult { public: AWS_IDENTITYSTORE_API CreateUserResult(); AWS_IDENTITYSTORE_API CreateUserResult(const Aws::AmazonWebServiceResult& result); AWS_IDENTITYSTORE_API CreateUserResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier of the newly created user in the identity store.

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

The identifier of the newly created user in the identity store.

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

The identifier of the newly created user in the identity store.

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

The identifier of the newly created user in the identity store.

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

The identifier of the newly created user in the identity store.

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

The identifier of the newly created user in the identity store.

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

The identifier of the newly created user in the identity store.

*/ inline CreateUserResult& WithUserId(const char* value) { SetUserId(value); return *this;} /** *

The globally unique identifier for the identity store.

*/ inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } /** *

The globally unique identifier for the identity store.

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

The globally unique identifier for the identity store.

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

The globally unique identifier for the identity store.

*/ inline void SetIdentityStoreId(const char* value) { m_identityStoreId.assign(value); } /** *

The globally unique identifier for the identity store.

*/ inline CreateUserResult& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} /** *

The globally unique identifier for the identity store.

*/ inline CreateUserResult& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} /** *

The globally unique identifier for the identity store.

*/ inline CreateUserResult& WithIdentityStoreId(const char* value) { SetIdentityStoreId(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 CreateUserResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateUserResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateUserResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_userId; Aws::String m_identityStoreId; Aws::String m_requestId; }; } // namespace Model } // namespace IdentityStore } // namespace Aws