/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the SPICE ingestion for a dataset.See Also:
* AWS
* API Reference
The Amazon Resource Name (ARN) of the resource.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the resource.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the resource.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the resource.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the resource.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the resource.
*/ inline Ingestion& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the resource.
*/ inline Ingestion& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the resource.
*/ inline Ingestion& WithArn(const char* value) { SetArn(value); return *this;} /** *Ingestion ID.
*/ inline const Aws::String& GetIngestionId() const{ return m_ingestionId; } /** *Ingestion ID.
*/ inline bool IngestionIdHasBeenSet() const { return m_ingestionIdHasBeenSet; } /** *Ingestion ID.
*/ inline void SetIngestionId(const Aws::String& value) { m_ingestionIdHasBeenSet = true; m_ingestionId = value; } /** *Ingestion ID.
*/ inline void SetIngestionId(Aws::String&& value) { m_ingestionIdHasBeenSet = true; m_ingestionId = std::move(value); } /** *Ingestion ID.
*/ inline void SetIngestionId(const char* value) { m_ingestionIdHasBeenSet = true; m_ingestionId.assign(value); } /** *Ingestion ID.
*/ inline Ingestion& WithIngestionId(const Aws::String& value) { SetIngestionId(value); return *this;} /** *Ingestion ID.
*/ inline Ingestion& WithIngestionId(Aws::String&& value) { SetIngestionId(std::move(value)); return *this;} /** *Ingestion ID.
*/ inline Ingestion& WithIngestionId(const char* value) { SetIngestionId(value); return *this;} /** *Ingestion status.
*/ inline const IngestionStatus& GetIngestionStatus() const{ return m_ingestionStatus; } /** *Ingestion status.
*/ inline bool IngestionStatusHasBeenSet() const { return m_ingestionStatusHasBeenSet; } /** *Ingestion status.
*/ inline void SetIngestionStatus(const IngestionStatus& value) { m_ingestionStatusHasBeenSet = true; m_ingestionStatus = value; } /** *Ingestion status.
*/ inline void SetIngestionStatus(IngestionStatus&& value) { m_ingestionStatusHasBeenSet = true; m_ingestionStatus = std::move(value); } /** *Ingestion status.
*/ inline Ingestion& WithIngestionStatus(const IngestionStatus& value) { SetIngestionStatus(value); return *this;} /** *Ingestion status.
*/ inline Ingestion& WithIngestionStatus(IngestionStatus&& value) { SetIngestionStatus(std::move(value)); return *this;} /** *Error information for this ingestion.
*/ inline const ErrorInfo& GetErrorInfo() const{ return m_errorInfo; } /** *Error information for this ingestion.
*/ inline bool ErrorInfoHasBeenSet() const { return m_errorInfoHasBeenSet; } /** *Error information for this ingestion.
*/ inline void SetErrorInfo(const ErrorInfo& value) { m_errorInfoHasBeenSet = true; m_errorInfo = value; } /** *Error information for this ingestion.
*/ inline void SetErrorInfo(ErrorInfo&& value) { m_errorInfoHasBeenSet = true; m_errorInfo = std::move(value); } /** *Error information for this ingestion.
*/ inline Ingestion& WithErrorInfo(const ErrorInfo& value) { SetErrorInfo(value); return *this;} /** *Error information for this ingestion.
*/ inline Ingestion& WithErrorInfo(ErrorInfo&& value) { SetErrorInfo(std::move(value)); return *this;} inline const RowInfo& GetRowInfo() const{ return m_rowInfo; } inline bool RowInfoHasBeenSet() const { return m_rowInfoHasBeenSet; } inline void SetRowInfo(const RowInfo& value) { m_rowInfoHasBeenSet = true; m_rowInfo = value; } inline void SetRowInfo(RowInfo&& value) { m_rowInfoHasBeenSet = true; m_rowInfo = std::move(value); } inline Ingestion& WithRowInfo(const RowInfo& value) { SetRowInfo(value); return *this;} inline Ingestion& WithRowInfo(RowInfo&& value) { SetRowInfo(std::move(value)); return *this;} inline const QueueInfo& GetQueueInfo() const{ return m_queueInfo; } inline bool QueueInfoHasBeenSet() const { return m_queueInfoHasBeenSet; } inline void SetQueueInfo(const QueueInfo& value) { m_queueInfoHasBeenSet = true; m_queueInfo = value; } inline void SetQueueInfo(QueueInfo&& value) { m_queueInfoHasBeenSet = true; m_queueInfo = std::move(value); } inline Ingestion& WithQueueInfo(const QueueInfo& value) { SetQueueInfo(value); return *this;} inline Ingestion& WithQueueInfo(QueueInfo&& value) { SetQueueInfo(std::move(value)); return *this;} /** *The time that this ingestion started.
*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *The time that this ingestion started.
*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *The time that this ingestion started.
*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *The time that this ingestion started.
*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *The time that this ingestion started.
*/ inline Ingestion& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *The time that this ingestion started.
*/ inline Ingestion& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *The time that this ingestion took, measured in seconds.
*/ inline long long GetIngestionTimeInSeconds() const{ return m_ingestionTimeInSeconds; } /** *The time that this ingestion took, measured in seconds.
*/ inline bool IngestionTimeInSecondsHasBeenSet() const { return m_ingestionTimeInSecondsHasBeenSet; } /** *The time that this ingestion took, measured in seconds.
*/ inline void SetIngestionTimeInSeconds(long long value) { m_ingestionTimeInSecondsHasBeenSet = true; m_ingestionTimeInSeconds = value; } /** *The time that this ingestion took, measured in seconds.
*/ inline Ingestion& WithIngestionTimeInSeconds(long long value) { SetIngestionTimeInSeconds(value); return *this;} /** *The size of the data ingested, in bytes.
*/ inline long long GetIngestionSizeInBytes() const{ return m_ingestionSizeInBytes; } /** *The size of the data ingested, in bytes.
*/ inline bool IngestionSizeInBytesHasBeenSet() const { return m_ingestionSizeInBytesHasBeenSet; } /** *The size of the data ingested, in bytes.
*/ inline void SetIngestionSizeInBytes(long long value) { m_ingestionSizeInBytesHasBeenSet = true; m_ingestionSizeInBytes = value; } /** *The size of the data ingested, in bytes.
*/ inline Ingestion& WithIngestionSizeInBytes(long long value) { SetIngestionSizeInBytes(value); return *this;} /** *Event source for this ingestion.
*/ inline const IngestionRequestSource& GetRequestSource() const{ return m_requestSource; } /** *Event source for this ingestion.
*/ inline bool RequestSourceHasBeenSet() const { return m_requestSourceHasBeenSet; } /** *Event source for this ingestion.
*/ inline void SetRequestSource(const IngestionRequestSource& value) { m_requestSourceHasBeenSet = true; m_requestSource = value; } /** *Event source for this ingestion.
*/ inline void SetRequestSource(IngestionRequestSource&& value) { m_requestSourceHasBeenSet = true; m_requestSource = std::move(value); } /** *Event source for this ingestion.
*/ inline Ingestion& WithRequestSource(const IngestionRequestSource& value) { SetRequestSource(value); return *this;} /** *Event source for this ingestion.
*/ inline Ingestion& WithRequestSource(IngestionRequestSource&& value) { SetRequestSource(std::move(value)); return *this;} /** *Type of this ingestion.
*/ inline const IngestionRequestType& GetRequestType() const{ return m_requestType; } /** *Type of this ingestion.
*/ inline bool RequestTypeHasBeenSet() const { return m_requestTypeHasBeenSet; } /** *Type of this ingestion.
*/ inline void SetRequestType(const IngestionRequestType& value) { m_requestTypeHasBeenSet = true; m_requestType = value; } /** *Type of this ingestion.
*/ inline void SetRequestType(IngestionRequestType&& value) { m_requestTypeHasBeenSet = true; m_requestType = std::move(value); } /** *Type of this ingestion.
*/ inline Ingestion& WithRequestType(const IngestionRequestType& value) { SetRequestType(value); return *this;} /** *Type of this ingestion.
*/ inline Ingestion& WithRequestType(IngestionRequestType&& value) { SetRequestType(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_ingestionId; bool m_ingestionIdHasBeenSet = false; IngestionStatus m_ingestionStatus; bool m_ingestionStatusHasBeenSet = false; ErrorInfo m_errorInfo; bool m_errorInfoHasBeenSet = false; RowInfo m_rowInfo; bool m_rowInfoHasBeenSet = false; QueueInfo m_queueInfo; bool m_queueInfoHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; long long m_ingestionTimeInSeconds; bool m_ingestionTimeInSecondsHasBeenSet = false; long long m_ingestionSizeInBytes; bool m_ingestionSizeInBytesHasBeenSet = false; IngestionRequestSource m_requestSource; bool m_requestSourceHasBeenSet = false; IngestionRequestType m_requestType; bool m_requestTypeHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws