/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the ingestion.

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

The Amazon Resource Name (ARN) of the ingestion.

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

The Amazon Resource Name (ARN) of the ingestion.

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

The Amazon Resource Name (ARN) of the ingestion.

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

The Amazon Resource Name (ARN) of the ingestion.

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

The Amazon Resource Name (ARN) of the ingestion.

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

The Amazon Resource Name (ARN) of the ingestion.

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

The Amazon Resource Name (ARN) of the ingestion.

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

The Amazon Resource Name (ARN) of the app bundle for the ingestion.

*/ inline const Aws::String& GetAppBundleArn() const{ return m_appBundleArn; } /** *

The Amazon Resource Name (ARN) of the app bundle for the ingestion.

*/ inline bool AppBundleArnHasBeenSet() const { return m_appBundleArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the app bundle for the ingestion.

*/ inline void SetAppBundleArn(const Aws::String& value) { m_appBundleArnHasBeenSet = true; m_appBundleArn = value; } /** *

The Amazon Resource Name (ARN) of the app bundle for the ingestion.

*/ inline void SetAppBundleArn(Aws::String&& value) { m_appBundleArnHasBeenSet = true; m_appBundleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the app bundle for the ingestion.

*/ inline void SetAppBundleArn(const char* value) { m_appBundleArnHasBeenSet = true; m_appBundleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the app bundle for the ingestion.

*/ inline Ingestion& WithAppBundleArn(const Aws::String& value) { SetAppBundleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the app bundle for the ingestion.

*/ inline Ingestion& WithAppBundleArn(Aws::String&& value) { SetAppBundleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the app bundle for the ingestion.

*/ inline Ingestion& WithAppBundleArn(const char* value) { SetAppBundleArn(value); return *this;} /** *

The name of the application.

*/ inline const Aws::String& GetApp() const{ return m_app; } /** *

The name of the application.

*/ inline bool AppHasBeenSet() const { return m_appHasBeenSet; } /** *

The name of the application.

*/ inline void SetApp(const Aws::String& value) { m_appHasBeenSet = true; m_app = value; } /** *

The name of the application.

*/ inline void SetApp(Aws::String&& value) { m_appHasBeenSet = true; m_app = std::move(value); } /** *

The name of the application.

*/ inline void SetApp(const char* value) { m_appHasBeenSet = true; m_app.assign(value); } /** *

The name of the application.

*/ inline Ingestion& WithApp(const Aws::String& value) { SetApp(value); return *this;} /** *

The name of the application.

*/ inline Ingestion& WithApp(Aws::String&& value) { SetApp(std::move(value)); return *this;} /** *

The name of the application.

*/ inline Ingestion& WithApp(const char* value) { SetApp(value); return *this;} /** *

The ID of the application tenant.

*/ inline const Aws::String& GetTenantId() const{ return m_tenantId; } /** *

The ID of the application tenant.

*/ inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; } /** *

The ID of the application tenant.

*/ inline void SetTenantId(const Aws::String& value) { m_tenantIdHasBeenSet = true; m_tenantId = value; } /** *

The ID of the application tenant.

*/ inline void SetTenantId(Aws::String&& value) { m_tenantIdHasBeenSet = true; m_tenantId = std::move(value); } /** *

The ID of the application tenant.

*/ inline void SetTenantId(const char* value) { m_tenantIdHasBeenSet = true; m_tenantId.assign(value); } /** *

The ID of the application tenant.

*/ inline Ingestion& WithTenantId(const Aws::String& value) { SetTenantId(value); return *this;} /** *

The ID of the application tenant.

*/ inline Ingestion& WithTenantId(Aws::String&& value) { SetTenantId(std::move(value)); return *this;} /** *

The ID of the application tenant.

*/ inline Ingestion& WithTenantId(const char* value) { SetTenantId(value); return *this;} /** *

The timestamp of when the ingestion was created.

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

The timestamp of when the ingestion was created.

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

The timestamp of when the ingestion was created.

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

The timestamp of when the ingestion was created.

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

The timestamp of when the ingestion was created.

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

The timestamp of when the ingestion was created.

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

The timestamp of when the ingestion was last updated.

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

The timestamp of when the ingestion was last updated.

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

The timestamp of when the ingestion was last updated.

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

The timestamp of when the ingestion was last updated.

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

The timestamp of when the ingestion was last updated.

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

The timestamp of when the ingestion was last updated.

*/ inline Ingestion& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} /** *

The status of the ingestion.

*/ inline const IngestionState& GetState() const{ return m_state; } /** *

The status of the ingestion.

*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *

The status of the ingestion.

*/ inline void SetState(const IngestionState& value) { m_stateHasBeenSet = true; m_state = value; } /** *

The status of the ingestion.

*/ inline void SetState(IngestionState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *

The status of the ingestion.

*/ inline Ingestion& WithState(const IngestionState& value) { SetState(value); return *this;} /** *

The status of the ingestion.

*/ inline Ingestion& WithState(IngestionState&& value) { SetState(std::move(value)); return *this;} /** *

The type of the ingestion.

*/ inline const IngestionType& GetIngestionType() const{ return m_ingestionType; } /** *

The type of the ingestion.

*/ inline bool IngestionTypeHasBeenSet() const { return m_ingestionTypeHasBeenSet; } /** *

The type of the ingestion.

*/ inline void SetIngestionType(const IngestionType& value) { m_ingestionTypeHasBeenSet = true; m_ingestionType = value; } /** *

The type of the ingestion.

*/ inline void SetIngestionType(IngestionType&& value) { m_ingestionTypeHasBeenSet = true; m_ingestionType = std::move(value); } /** *

The type of the ingestion.

*/ inline Ingestion& WithIngestionType(const IngestionType& value) { SetIngestionType(value); return *this;} /** *

The type of the ingestion.

*/ inline Ingestion& WithIngestionType(IngestionType&& value) { SetIngestionType(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_appBundleArn; bool m_appBundleArnHasBeenSet = false; Aws::String m_app; bool m_appHasBeenSet = false; Aws::String m_tenantId; bool m_tenantIdHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; IngestionState m_state; bool m_stateHasBeenSet = false; IngestionType m_ingestionType; bool m_ingestionTypeHasBeenSet = false; }; } // namespace Model } // namespace AppFabric } // namespace Aws