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

Contains information about an ingestion destination.

See Also:

* AWS * API Reference

*/ class IngestionDestination { public: AWS_APPFABRIC_API IngestionDestination(); AWS_APPFABRIC_API IngestionDestination(Aws::Utils::Json::JsonView jsonValue); AWS_APPFABRIC_API IngestionDestination& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Resource Name (ARN) of the ingestion destination.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the ingestion destination.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the ingestion destination.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon Resource Name (ARN) of the ingestion destination.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the ingestion destination.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the ingestion destination.

*/ inline IngestionDestination& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the ingestion destination.

*/ inline IngestionDestination& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the ingestion destination.

*/ inline IngestionDestination& WithArn(const char* value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the ingestion.

*/ inline const Aws::String& GetIngestionArn() const{ return m_ingestionArn; } /** *

The Amazon Resource Name (ARN) of the ingestion.

*/ inline bool IngestionArnHasBeenSet() const { return m_ingestionArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the ingestion.

*/ inline void SetIngestionArn(const Aws::String& value) { m_ingestionArnHasBeenSet = true; m_ingestionArn = value; } /** *

The Amazon Resource Name (ARN) of the ingestion.

*/ inline void SetIngestionArn(Aws::String&& value) { m_ingestionArnHasBeenSet = true; m_ingestionArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the ingestion.

*/ inline void SetIngestionArn(const char* value) { m_ingestionArnHasBeenSet = true; m_ingestionArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the ingestion.

*/ inline IngestionDestination& WithIngestionArn(const Aws::String& value) { SetIngestionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the ingestion.

*/ inline IngestionDestination& WithIngestionArn(Aws::String&& value) { SetIngestionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the ingestion.

*/ inline IngestionDestination& WithIngestionArn(const char* value) { SetIngestionArn(value); return *this;} /** *

Contains information about how ingested data is processed.

*/ inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; } /** *

Contains information about how ingested data is processed.

*/ inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; } /** *

Contains information about how ingested data is processed.

*/ inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; } /** *

Contains information about how ingested data is processed.

*/ inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); } /** *

Contains information about how ingested data is processed.

*/ inline IngestionDestination& WithProcessingConfiguration(const ProcessingConfiguration& value) { SetProcessingConfiguration(value); return *this;} /** *

Contains information about how ingested data is processed.

*/ inline IngestionDestination& WithProcessingConfiguration(ProcessingConfiguration&& value) { SetProcessingConfiguration(std::move(value)); return *this;} /** *

Contains information about the destination of ingested data.

*/ inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; } /** *

Contains information about the destination of ingested data.

*/ inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; } /** *

Contains information about the destination of ingested data.

*/ inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = value; } /** *

Contains information about the destination of ingested data.

*/ inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::move(value); } /** *

Contains information about the destination of ingested data.

*/ inline IngestionDestination& WithDestinationConfiguration(const DestinationConfiguration& value) { SetDestinationConfiguration(value); return *this;} /** *

Contains information about the destination of ingested data.

*/ inline IngestionDestination& WithDestinationConfiguration(DestinationConfiguration&& value) { SetDestinationConfiguration(std::move(value)); return *this;} /** *

The state of the ingestion destination.

The following states are * possible:

  • Active: The ingestion destination is * active and is ready to be used.

  • Failed: The * ingestion destination has failed. If the ingestion destination is in this state, * you should verify the ingestion destination configuration and try again.

    *
*/ inline const IngestionDestinationStatus& GetStatus() const{ return m_status; } /** *

The state of the ingestion destination.

The following states are * possible:

  • Active: The ingestion destination is * active and is ready to be used.

  • Failed: The * ingestion destination has failed. If the ingestion destination is in this state, * you should verify the ingestion destination configuration and try again.

    *
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The state of the ingestion destination.

The following states are * possible:

  • Active: The ingestion destination is * active and is ready to be used.

  • Failed: The * ingestion destination has failed. If the ingestion destination is in this state, * you should verify the ingestion destination configuration and try again.

    *
*/ inline void SetStatus(const IngestionDestinationStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The state of the ingestion destination.

The following states are * possible:

  • Active: The ingestion destination is * active and is ready to be used.

  • Failed: The * ingestion destination has failed. If the ingestion destination is in this state, * you should verify the ingestion destination configuration and try again.

    *
*/ inline void SetStatus(IngestionDestinationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The state of the ingestion destination.

The following states are * possible:

  • Active: The ingestion destination is * active and is ready to be used.

  • Failed: The * ingestion destination has failed. If the ingestion destination is in this state, * you should verify the ingestion destination configuration and try again.

    *
*/ inline IngestionDestination& WithStatus(const IngestionDestinationStatus& value) { SetStatus(value); return *this;} /** *

The state of the ingestion destination.

The following states are * possible:

  • Active: The ingestion destination is * active and is ready to be used.

  • Failed: The * ingestion destination has failed. If the ingestion destination is in this state, * you should verify the ingestion destination configuration and try again.

    *
*/ inline IngestionDestination& WithStatus(IngestionDestinationStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The reason for the current status of the ingestion destination.

Only * present when the status of ingestion destination is * Failed.

*/ inline const Aws::String& GetStatusReason() const{ return m_statusReason; } /** *

The reason for the current status of the ingestion destination.

Only * present when the status of ingestion destination is * Failed.

*/ inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } /** *

The reason for the current status of the ingestion destination.

Only * present when the status of ingestion destination is * Failed.

*/ inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; } /** *

The reason for the current status of the ingestion destination.

Only * present when the status of ingestion destination is * Failed.

*/ inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); } /** *

The reason for the current status of the ingestion destination.

Only * present when the status of ingestion destination is * Failed.

*/ inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); } /** *

The reason for the current status of the ingestion destination.

Only * present when the status of ingestion destination is * Failed.

*/ inline IngestionDestination& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;} /** *

The reason for the current status of the ingestion destination.

Only * present when the status of ingestion destination is * Failed.

*/ inline IngestionDestination& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;} /** *

The reason for the current status of the ingestion destination.

Only * present when the status of ingestion destination is * Failed.

*/ inline IngestionDestination& WithStatusReason(const char* value) { SetStatusReason(value); return *this;} /** *

The timestamp of when the ingestion destination was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The timestamp of when the ingestion destination was created.

*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *

The timestamp of when the ingestion destination was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *

The timestamp of when the ingestion destination was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *

The timestamp of when the ingestion destination was created.

*/ inline IngestionDestination& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The timestamp of when the ingestion destination was created.

*/ inline IngestionDestination& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

The timestamp of when the ingestion destination was last updated.

*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *

The timestamp of when the ingestion destination was last updated.

*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *

The timestamp of when the ingestion destination was last updated.

*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *

The timestamp of when the ingestion destination was last updated.

*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *

The timestamp of when the ingestion destination was last updated.

*/ inline IngestionDestination& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *

The timestamp of when the ingestion destination was last updated.

*/ inline IngestionDestination& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_ingestionArn; bool m_ingestionArnHasBeenSet = false; ProcessingConfiguration m_processingConfiguration; bool m_processingConfigurationHasBeenSet = false; DestinationConfiguration m_destinationConfiguration; bool m_destinationConfigurationHasBeenSet = false; IngestionDestinationStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusReason; bool m_statusReasonHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; }; } // namespace Model } // namespace AppFabric } // namespace Aws