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

Contains a summary of an ingestion.

See Also:

AWS * API Reference

*/ class IngestionSummary { public: AWS_APPFABRIC_API IngestionSummary(); AWS_APPFABRIC_API IngestionSummary(Aws::Utils::Json::JsonView jsonValue); AWS_APPFABRIC_API IngestionSummary& 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 IngestionSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the ingestion.

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

The Amazon Resource Name (ARN) of the ingestion.

*/ inline IngestionSummary& WithArn(const char* value) { SetArn(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 IngestionSummary& WithApp(const Aws::String& value) { SetApp(value); return *this;} /** *

The name of the application.

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

The name of the application.

*/ inline IngestionSummary& 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 IngestionSummary& WithTenantId(const Aws::String& value) { SetTenantId(value); return *this;} /** *

The ID of the application tenant.

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

The ID of the application tenant.

*/ inline IngestionSummary& WithTenantId(const char* value) { SetTenantId(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 IngestionSummary& WithState(const IngestionState& value) { SetState(value); return *this;} /** *

The status of the ingestion.

*/ inline IngestionSummary& WithState(IngestionState&& value) { SetState(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_app; bool m_appHasBeenSet = false; Aws::String m_tenantId; bool m_tenantIdHasBeenSet = false; IngestionState m_state; bool m_stateHasBeenSet = false; }; } // namespace Model } // namespace AppFabric } // namespace Aws