/** * 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 CognitoSync { namespace Model { /** * The output for the BulkPublish operation.

See Also:

AWS * API Reference

*/ class BulkPublishResult { public: AWS_COGNITOSYNC_API BulkPublishResult(); AWS_COGNITOSYNC_API BulkPublishResult(const Aws::AmazonWebServiceResult& result); AWS_COGNITOSYNC_API BulkPublishResult& operator=(const Aws::AmazonWebServiceResult& result); /** * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) * created by Amazon Cognito. GUID generation is unique within a region. */ inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; } /** * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) * created by Amazon Cognito. GUID generation is unique within a region. */ inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolId = value; } /** * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) * created by Amazon Cognito. GUID generation is unique within a region. */ inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolId = std::move(value); } /** * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) * created by Amazon Cognito. GUID generation is unique within a region. */ inline void SetIdentityPoolId(const char* value) { m_identityPoolId.assign(value); } /** * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) * created by Amazon Cognito. GUID generation is unique within a region. */ inline BulkPublishResult& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;} /** * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) * created by Amazon Cognito. GUID generation is unique within a region. */ inline BulkPublishResult& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;} /** * A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) * created by Amazon Cognito. GUID generation is unique within a region. */ inline BulkPublishResult& WithIdentityPoolId(const char* value) { SetIdentityPoolId(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 BulkPublishResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BulkPublishResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BulkPublishResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_identityPoolId; Aws::String m_requestId; }; } // namespace Model } // namespace CognitoSync } // namespace Aws