/** * 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 #include #include namespace Aws { namespace Panorama { namespace Model { /** */ class CreatePackageImportJobRequest : public PanoramaRequest { public: AWS_PANORAMA_API CreatePackageImportJobRequest(); // 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 "CreatePackageImportJob"; } AWS_PANORAMA_API Aws::String SerializePayload() const override; /** *

A client token for the package import job.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

A client token for the package import job.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

A client token for the package import job.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

A client token for the package import job.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

A client token for the package import job.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

A client token for the package import job.

*/ inline CreatePackageImportJobRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

A client token for the package import job.

*/ inline CreatePackageImportJobRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

A client token for the package import job.

*/ inline CreatePackageImportJobRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

An input config for the package import job.

*/ inline const PackageImportJobInputConfig& GetInputConfig() const{ return m_inputConfig; } /** *

An input config for the package import job.

*/ inline bool InputConfigHasBeenSet() const { return m_inputConfigHasBeenSet; } /** *

An input config for the package import job.

*/ inline void SetInputConfig(const PackageImportJobInputConfig& value) { m_inputConfigHasBeenSet = true; m_inputConfig = value; } /** *

An input config for the package import job.

*/ inline void SetInputConfig(PackageImportJobInputConfig&& value) { m_inputConfigHasBeenSet = true; m_inputConfig = std::move(value); } /** *

An input config for the package import job.

*/ inline CreatePackageImportJobRequest& WithInputConfig(const PackageImportJobInputConfig& value) { SetInputConfig(value); return *this;} /** *

An input config for the package import job.

*/ inline CreatePackageImportJobRequest& WithInputConfig(PackageImportJobInputConfig&& value) { SetInputConfig(std::move(value)); return *this;} /** *

Tags for the package import job.

*/ inline const Aws::Vector& GetJobTags() const{ return m_jobTags; } /** *

Tags for the package import job.

*/ inline bool JobTagsHasBeenSet() const { return m_jobTagsHasBeenSet; } /** *

Tags for the package import job.

*/ inline void SetJobTags(const Aws::Vector& value) { m_jobTagsHasBeenSet = true; m_jobTags = value; } /** *

Tags for the package import job.

*/ inline void SetJobTags(Aws::Vector&& value) { m_jobTagsHasBeenSet = true; m_jobTags = std::move(value); } /** *

Tags for the package import job.

*/ inline CreatePackageImportJobRequest& WithJobTags(const Aws::Vector& value) { SetJobTags(value); return *this;} /** *

Tags for the package import job.

*/ inline CreatePackageImportJobRequest& WithJobTags(Aws::Vector&& value) { SetJobTags(std::move(value)); return *this;} /** *

Tags for the package import job.

*/ inline CreatePackageImportJobRequest& AddJobTags(const JobResourceTags& value) { m_jobTagsHasBeenSet = true; m_jobTags.push_back(value); return *this; } /** *

Tags for the package import job.

*/ inline CreatePackageImportJobRequest& AddJobTags(JobResourceTags&& value) { m_jobTagsHasBeenSet = true; m_jobTags.push_back(std::move(value)); return *this; } /** *

A job type for the package import job.

*/ inline const PackageImportJobType& GetJobType() const{ return m_jobType; } /** *

A job type for the package import job.

*/ inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; } /** *

A job type for the package import job.

*/ inline void SetJobType(const PackageImportJobType& value) { m_jobTypeHasBeenSet = true; m_jobType = value; } /** *

A job type for the package import job.

*/ inline void SetJobType(PackageImportJobType&& value) { m_jobTypeHasBeenSet = true; m_jobType = std::move(value); } /** *

A job type for the package import job.

*/ inline CreatePackageImportJobRequest& WithJobType(const PackageImportJobType& value) { SetJobType(value); return *this;} /** *

A job type for the package import job.

*/ inline CreatePackageImportJobRequest& WithJobType(PackageImportJobType&& value) { SetJobType(std::move(value)); return *this;} /** *

An output config for the package import job.

*/ inline const PackageImportJobOutputConfig& GetOutputConfig() const{ return m_outputConfig; } /** *

An output config for the package import job.

*/ inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; } /** *

An output config for the package import job.

*/ inline void SetOutputConfig(const PackageImportJobOutputConfig& value) { m_outputConfigHasBeenSet = true; m_outputConfig = value; } /** *

An output config for the package import job.

*/ inline void SetOutputConfig(PackageImportJobOutputConfig&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::move(value); } /** *

An output config for the package import job.

*/ inline CreatePackageImportJobRequest& WithOutputConfig(const PackageImportJobOutputConfig& value) { SetOutputConfig(value); return *this;} /** *

An output config for the package import job.

*/ inline CreatePackageImportJobRequest& WithOutputConfig(PackageImportJobOutputConfig&& value) { SetOutputConfig(std::move(value)); return *this;} private: Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; PackageImportJobInputConfig m_inputConfig; bool m_inputConfigHasBeenSet = false; Aws::Vector m_jobTags; bool m_jobTagsHasBeenSet = false; PackageImportJobType m_jobType; bool m_jobTypeHasBeenSet = false; PackageImportJobOutputConfig m_outputConfig; bool m_outputConfigHasBeenSet = false; }; } // namespace Model } // namespace Panorama } // namespace Aws