/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include See Also:
AWS
* API Reference
NOT_STARTED - No * bulk publish has been requested for this identity pool
IN_PROGRESS - Data * is being published to the configured stream
SUCCEEDED - All data for the * identity pool has been published to the configured stream
FAILED - Some * portion of the data has failed to publish, check FailureMessage for the * cause.
*/ inline const BulkPublishStatus& GetBulkPublishStatus() const{ return m_bulkPublishStatus; } /** * Status of the last bulk publish operation, valid values are:NOT_STARTED - No * bulk publish has been requested for this identity pool
IN_PROGRESS - Data * is being published to the configured stream
SUCCEEDED - All data for the * identity pool has been published to the configured stream
FAILED - Some * portion of the data has failed to publish, check FailureMessage for the * cause.
*/ inline void SetBulkPublishStatus(const BulkPublishStatus& value) { m_bulkPublishStatus = value; } /** * Status of the last bulk publish operation, valid values are:NOT_STARTED - No * bulk publish has been requested for this identity pool
IN_PROGRESS - Data * is being published to the configured stream
SUCCEEDED - All data for the * identity pool has been published to the configured stream
FAILED - Some * portion of the data has failed to publish, check FailureMessage for the * cause.
*/ inline void SetBulkPublishStatus(BulkPublishStatus&& value) { m_bulkPublishStatus = std::move(value); } /** * Status of the last bulk publish operation, valid values are:NOT_STARTED - No * bulk publish has been requested for this identity pool
IN_PROGRESS - Data * is being published to the configured stream
SUCCEEDED - All data for the * identity pool has been published to the configured stream
FAILED - Some * portion of the data has failed to publish, check FailureMessage for the * cause.
*/ inline GetBulkPublishDetailsResult& WithBulkPublishStatus(const BulkPublishStatus& value) { SetBulkPublishStatus(value); return *this;} /** * Status of the last bulk publish operation, valid values are:NOT_STARTED - No * bulk publish has been requested for this identity pool
IN_PROGRESS - Data * is being published to the configured stream
SUCCEEDED - All data for the * identity pool has been published to the configured stream
FAILED - Some * portion of the data has failed to publish, check FailureMessage for the * cause.
*/ inline GetBulkPublishDetailsResult& WithBulkPublishStatus(BulkPublishStatus&& value) { SetBulkPublishStatus(std::move(value)); return *this;} /** * If BulkPublishStatus is FAILED this field will contain the error message that * caused the bulk publish to fail. */ inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; } /** * If BulkPublishStatus is FAILED this field will contain the error message that * caused the bulk publish to fail. */ inline void SetFailureMessage(const Aws::String& value) { m_failureMessage = value; } /** * If BulkPublishStatus is FAILED this field will contain the error message that * caused the bulk publish to fail. */ inline void SetFailureMessage(Aws::String&& value) { m_failureMessage = std::move(value); } /** * If BulkPublishStatus is FAILED this field will contain the error message that * caused the bulk publish to fail. */ inline void SetFailureMessage(const char* value) { m_failureMessage.assign(value); } /** * If BulkPublishStatus is FAILED this field will contain the error message that * caused the bulk publish to fail. */ inline GetBulkPublishDetailsResult& WithFailureMessage(const Aws::String& value) { SetFailureMessage(value); return *this;} /** * If BulkPublishStatus is FAILED this field will contain the error message that * caused the bulk publish to fail. */ inline GetBulkPublishDetailsResult& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;} /** * If BulkPublishStatus is FAILED this field will contain the error message that * caused the bulk publish to fail. */ inline GetBulkPublishDetailsResult& WithFailureMessage(const char* value) { SetFailureMessage(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 GetBulkPublishDetailsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetBulkPublishDetailsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetBulkPublishDetailsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_identityPoolId; Aws::Utils::DateTime m_bulkPublishStartTime; Aws::Utils::DateTime m_bulkPublishCompleteTime; BulkPublishStatus m_bulkPublishStatus; Aws::String m_failureMessage; Aws::String m_requestId; }; } // namespace Model } // namespace CognitoSync } // namespace Aws