/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace QuickSight { namespace Model { /** */ class CreateIngestionRequest : public QuickSightRequest { public: AWS_QUICKSIGHT_API CreateIngestionRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateIngestion"; } AWS_QUICKSIGHT_API Aws::String SerializePayload() const override; /** *

The ID of the dataset used in the ingestion.

*/ inline const Aws::String& GetDataSetId() const{ return m_dataSetId; } /** *

The ID of the dataset used in the ingestion.

*/ inline bool DataSetIdHasBeenSet() const { return m_dataSetIdHasBeenSet; } /** *

The ID of the dataset used in the ingestion.

*/ inline void SetDataSetId(const Aws::String& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = value; } /** *

The ID of the dataset used in the ingestion.

*/ inline void SetDataSetId(Aws::String&& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = std::move(value); } /** *

The ID of the dataset used in the ingestion.

*/ inline void SetDataSetId(const char* value) { m_dataSetIdHasBeenSet = true; m_dataSetId.assign(value); } /** *

The ID of the dataset used in the ingestion.

*/ inline CreateIngestionRequest& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;} /** *

The ID of the dataset used in the ingestion.

*/ inline CreateIngestionRequest& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;} /** *

The ID of the dataset used in the ingestion.

*/ inline CreateIngestionRequest& WithDataSetId(const char* value) { SetDataSetId(value); return *this;} /** *

An ID for the ingestion.

*/ inline const Aws::String& GetIngestionId() const{ return m_ingestionId; } /** *

An ID for the ingestion.

*/ inline bool IngestionIdHasBeenSet() const { return m_ingestionIdHasBeenSet; } /** *

An ID for the ingestion.

*/ inline void SetIngestionId(const Aws::String& value) { m_ingestionIdHasBeenSet = true; m_ingestionId = value; } /** *

An ID for the ingestion.

*/ inline void SetIngestionId(Aws::String&& value) { m_ingestionIdHasBeenSet = true; m_ingestionId = std::move(value); } /** *

An ID for the ingestion.

*/ inline void SetIngestionId(const char* value) { m_ingestionIdHasBeenSet = true; m_ingestionId.assign(value); } /** *

An ID for the ingestion.

*/ inline CreateIngestionRequest& WithIngestionId(const Aws::String& value) { SetIngestionId(value); return *this;} /** *

An ID for the ingestion.

*/ inline CreateIngestionRequest& WithIngestionId(Aws::String&& value) { SetIngestionId(std::move(value)); return *this;} /** *

An ID for the ingestion.

*/ inline CreateIngestionRequest& WithIngestionId(const char* value) { SetIngestionId(value); return *this;} /** *

The Amazon Web Services account ID.

*/ inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } /** *

The Amazon Web Services account ID.

*/ inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } /** *

The Amazon Web Services account ID.

*/ inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } /** *

The Amazon Web Services account ID.

*/ inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } /** *

The Amazon Web Services account ID.

*/ inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } /** *

The Amazon Web Services account ID.

*/ inline CreateIngestionRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} /** *

The Amazon Web Services account ID.

*/ inline CreateIngestionRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} /** *

The Amazon Web Services account ID.

*/ inline CreateIngestionRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} /** *

The type of ingestion that you want to create.

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

The type of ingestion that you want to create.

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

The type of ingestion that you want to create.

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

The type of ingestion that you want to create.

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

The type of ingestion that you want to create.

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

The type of ingestion that you want to create.

*/ inline CreateIngestionRequest& WithIngestionType(IngestionType&& value) { SetIngestionType(std::move(value)); return *this;} private: Aws::String m_dataSetId; bool m_dataSetIdHasBeenSet = false; Aws::String m_ingestionId; bool m_ingestionIdHasBeenSet = false; Aws::String m_awsAccountId; bool m_awsAccountIdHasBeenSet = false; IngestionType m_ingestionType; bool m_ingestionTypeHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws