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

Returned in response to a successful DeleteIdentities * operation.

See Also:

AWS * API Reference

*/ class DeleteIdentitiesResult { public: AWS_COGNITOIDENTITY_API DeleteIdentitiesResult(); AWS_COGNITOIDENTITY_API DeleteIdentitiesResult(const Aws::AmazonWebServiceResult& result); AWS_COGNITOIDENTITY_API DeleteIdentitiesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of UnprocessedIdentityId objects, each of which contains an * ErrorCode and IdentityId.

*/ inline const Aws::Vector& GetUnprocessedIdentityIds() const{ return m_unprocessedIdentityIds; } /** *

An array of UnprocessedIdentityId objects, each of which contains an * ErrorCode and IdentityId.

*/ inline void SetUnprocessedIdentityIds(const Aws::Vector& value) { m_unprocessedIdentityIds = value; } /** *

An array of UnprocessedIdentityId objects, each of which contains an * ErrorCode and IdentityId.

*/ inline void SetUnprocessedIdentityIds(Aws::Vector&& value) { m_unprocessedIdentityIds = std::move(value); } /** *

An array of UnprocessedIdentityId objects, each of which contains an * ErrorCode and IdentityId.

*/ inline DeleteIdentitiesResult& WithUnprocessedIdentityIds(const Aws::Vector& value) { SetUnprocessedIdentityIds(value); return *this;} /** *

An array of UnprocessedIdentityId objects, each of which contains an * ErrorCode and IdentityId.

*/ inline DeleteIdentitiesResult& WithUnprocessedIdentityIds(Aws::Vector&& value) { SetUnprocessedIdentityIds(std::move(value)); return *this;} /** *

An array of UnprocessedIdentityId objects, each of which contains an * ErrorCode and IdentityId.

*/ inline DeleteIdentitiesResult& AddUnprocessedIdentityIds(const UnprocessedIdentityId& value) { m_unprocessedIdentityIds.push_back(value); return *this; } /** *

An array of UnprocessedIdentityId objects, each of which contains an * ErrorCode and IdentityId.

*/ inline DeleteIdentitiesResult& AddUnprocessedIdentityIds(UnprocessedIdentityId&& value) { m_unprocessedIdentityIds.push_back(std::move(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 DeleteIdentitiesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteIdentitiesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteIdentitiesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_unprocessedIdentityIds; Aws::String m_requestId; }; } // namespace Model } // namespace CognitoIdentity } // namespace Aws