/** * 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 SESV2 { namespace Model { /** *

Represents a request to create an import job from a data source for a data * destination.

See Also:

AWS * API Reference

*/ class CreateImportJobRequest : public SESV2Request { public: AWS_SESV2_API CreateImportJobRequest(); // 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 "CreateImportJob"; } AWS_SESV2_API Aws::String SerializePayload() const override; /** *

The destination for the import job.

*/ inline const ImportDestination& GetImportDestination() const{ return m_importDestination; } /** *

The destination for the import job.

*/ inline bool ImportDestinationHasBeenSet() const { return m_importDestinationHasBeenSet; } /** *

The destination for the import job.

*/ inline void SetImportDestination(const ImportDestination& value) { m_importDestinationHasBeenSet = true; m_importDestination = value; } /** *

The destination for the import job.

*/ inline void SetImportDestination(ImportDestination&& value) { m_importDestinationHasBeenSet = true; m_importDestination = std::move(value); } /** *

The destination for the import job.

*/ inline CreateImportJobRequest& WithImportDestination(const ImportDestination& value) { SetImportDestination(value); return *this;} /** *

The destination for the import job.

*/ inline CreateImportJobRequest& WithImportDestination(ImportDestination&& value) { SetImportDestination(std::move(value)); return *this;} /** *

The data source for the import job.

*/ inline const ImportDataSource& GetImportDataSource() const{ return m_importDataSource; } /** *

The data source for the import job.

*/ inline bool ImportDataSourceHasBeenSet() const { return m_importDataSourceHasBeenSet; } /** *

The data source for the import job.

*/ inline void SetImportDataSource(const ImportDataSource& value) { m_importDataSourceHasBeenSet = true; m_importDataSource = value; } /** *

The data source for the import job.

*/ inline void SetImportDataSource(ImportDataSource&& value) { m_importDataSourceHasBeenSet = true; m_importDataSource = std::move(value); } /** *

The data source for the import job.

*/ inline CreateImportJobRequest& WithImportDataSource(const ImportDataSource& value) { SetImportDataSource(value); return *this;} /** *

The data source for the import job.

*/ inline CreateImportJobRequest& WithImportDataSource(ImportDataSource&& value) { SetImportDataSource(std::move(value)); return *this;} private: ImportDestination m_importDestination; bool m_importDestinationHasBeenSet = false; ImportDataSource m_importDataSource; bool m_importDataSourceHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws