/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about an import that was returned by a lookup request.
* See Also:
AWS
* API Reference
The ID of the import.
*/ inline const Aws::String& GetImportId() const{ return m_importId; } /** *The ID of the import.
*/ inline bool ImportIdHasBeenSet() const { return m_importIdHasBeenSet; } /** *The ID of the import.
*/ inline void SetImportId(const Aws::String& value) { m_importIdHasBeenSet = true; m_importId = value; } /** *The ID of the import.
*/ inline void SetImportId(Aws::String&& value) { m_importIdHasBeenSet = true; m_importId = std::move(value); } /** *The ID of the import.
*/ inline void SetImportId(const char* value) { m_importIdHasBeenSet = true; m_importId.assign(value); } /** *The ID of the import.
*/ inline ImportsListItem& WithImportId(const Aws::String& value) { SetImportId(value); return *this;} /** *The ID of the import.
*/ inline ImportsListItem& WithImportId(Aws::String&& value) { SetImportId(std::move(value)); return *this;} /** *The ID of the import.
*/ inline ImportsListItem& WithImportId(const char* value) { SetImportId(value); return *this;} /** *The status of the import.
*/ inline const ImportStatus& GetImportStatus() const{ return m_importStatus; } /** *The status of the import.
*/ inline bool ImportStatusHasBeenSet() const { return m_importStatusHasBeenSet; } /** *The status of the import.
*/ inline void SetImportStatus(const ImportStatus& value) { m_importStatusHasBeenSet = true; m_importStatus = value; } /** *The status of the import.
*/ inline void SetImportStatus(ImportStatus&& value) { m_importStatusHasBeenSet = true; m_importStatus = std::move(value); } /** *The status of the import.
*/ inline ImportsListItem& WithImportStatus(const ImportStatus& value) { SetImportStatus(value); return *this;} /** *The status of the import.
*/ inline ImportsListItem& WithImportStatus(ImportStatus&& value) { SetImportStatus(std::move(value)); return *this;} /** *The ARN of the destination event data store.
*/ inline const Aws::VectorThe ARN of the destination event data store.
*/ inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; } /** *The ARN of the destination event data store.
*/ inline void SetDestinations(const Aws::VectorThe ARN of the destination event data store.
*/ inline void SetDestinations(Aws::VectorThe ARN of the destination event data store.
*/ inline ImportsListItem& WithDestinations(const Aws::VectorThe ARN of the destination event data store.
*/ inline ImportsListItem& WithDestinations(Aws::VectorThe ARN of the destination event data store.
*/ inline ImportsListItem& AddDestinations(const Aws::String& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(value); return *this; } /** *The ARN of the destination event data store.
*/ inline ImportsListItem& AddDestinations(Aws::String&& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(std::move(value)); return *this; } /** *The ARN of the destination event data store.
*/ inline ImportsListItem& AddDestinations(const char* value) { m_destinationsHasBeenSet = true; m_destinations.push_back(value); return *this; } /** *The timestamp of the import's creation.
*/ inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; } /** *The timestamp of the import's creation.
*/ inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; } /** *The timestamp of the import's creation.
*/ inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; } /** *The timestamp of the import's creation.
*/ inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); } /** *The timestamp of the import's creation.
*/ inline ImportsListItem& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;} /** *The timestamp of the import's creation.
*/ inline ImportsListItem& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;} /** *The timestamp of the import's last update.
*/ inline const Aws::Utils::DateTime& GetUpdatedTimestamp() const{ return m_updatedTimestamp; } /** *The timestamp of the import's last update.
*/ inline bool UpdatedTimestampHasBeenSet() const { return m_updatedTimestampHasBeenSet; } /** *The timestamp of the import's last update.
*/ inline void SetUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = value; } /** *The timestamp of the import's last update.
*/ inline void SetUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = std::move(value); } /** *The timestamp of the import's last update.
*/ inline ImportsListItem& WithUpdatedTimestamp(const Aws::Utils::DateTime& value) { SetUpdatedTimestamp(value); return *this;} /** *The timestamp of the import's last update.
*/ inline ImportsListItem& WithUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetUpdatedTimestamp(std::move(value)); return *this;} private: Aws::String m_importId; bool m_importIdHasBeenSet = false; ImportStatus m_importStatus; bool m_importStatusHasBeenSet = false; Aws::Vector