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

Results of a package import job.

See Also:

AWS * API Reference

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

The package's output location.

*/ inline const OutPutS3Location& GetOutputS3Location() const{ return m_outputS3Location; } /** *

The package's output location.

*/ inline bool OutputS3LocationHasBeenSet() const { return m_outputS3LocationHasBeenSet; } /** *

The package's output location.

*/ inline void SetOutputS3Location(const OutPutS3Location& value) { m_outputS3LocationHasBeenSet = true; m_outputS3Location = value; } /** *

The package's output location.

*/ inline void SetOutputS3Location(OutPutS3Location&& value) { m_outputS3LocationHasBeenSet = true; m_outputS3Location = std::move(value); } /** *

The package's output location.

*/ inline PackageImportJobOutput& WithOutputS3Location(const OutPutS3Location& value) { SetOutputS3Location(value); return *this;} /** *

The package's output location.

*/ inline PackageImportJobOutput& WithOutputS3Location(OutPutS3Location&& value) { SetOutputS3Location(std::move(value)); return *this;} /** *

The package's ID.

*/ inline const Aws::String& GetPackageId() const{ return m_packageId; } /** *

The package's ID.

*/ inline bool PackageIdHasBeenSet() const { return m_packageIdHasBeenSet; } /** *

The package's ID.

*/ inline void SetPackageId(const Aws::String& value) { m_packageIdHasBeenSet = true; m_packageId = value; } /** *

The package's ID.

*/ inline void SetPackageId(Aws::String&& value) { m_packageIdHasBeenSet = true; m_packageId = std::move(value); } /** *

The package's ID.

*/ inline void SetPackageId(const char* value) { m_packageIdHasBeenSet = true; m_packageId.assign(value); } /** *

The package's ID.

*/ inline PackageImportJobOutput& WithPackageId(const Aws::String& value) { SetPackageId(value); return *this;} /** *

The package's ID.

*/ inline PackageImportJobOutput& WithPackageId(Aws::String&& value) { SetPackageId(std::move(value)); return *this;} /** *

The package's ID.

*/ inline PackageImportJobOutput& WithPackageId(const char* value) { SetPackageId(value); return *this;} /** *

The package's version.

*/ inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; } /** *

The package's version.

*/ inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; } /** *

The package's version.

*/ inline void SetPackageVersion(const Aws::String& value) { m_packageVersionHasBeenSet = true; m_packageVersion = value; } /** *

The package's version.

*/ inline void SetPackageVersion(Aws::String&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::move(value); } /** *

The package's version.

*/ inline void SetPackageVersion(const char* value) { m_packageVersionHasBeenSet = true; m_packageVersion.assign(value); } /** *

The package's version.

*/ inline PackageImportJobOutput& WithPackageVersion(const Aws::String& value) { SetPackageVersion(value); return *this;} /** *

The package's version.

*/ inline PackageImportJobOutput& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;} /** *

The package's version.

*/ inline PackageImportJobOutput& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;} /** *

The package's patch version.

*/ inline const Aws::String& GetPatchVersion() const{ return m_patchVersion; } /** *

The package's patch version.

*/ inline bool PatchVersionHasBeenSet() const { return m_patchVersionHasBeenSet; } /** *

The package's patch version.

*/ inline void SetPatchVersion(const Aws::String& value) { m_patchVersionHasBeenSet = true; m_patchVersion = value; } /** *

The package's patch version.

*/ inline void SetPatchVersion(Aws::String&& value) { m_patchVersionHasBeenSet = true; m_patchVersion = std::move(value); } /** *

The package's patch version.

*/ inline void SetPatchVersion(const char* value) { m_patchVersionHasBeenSet = true; m_patchVersion.assign(value); } /** *

The package's patch version.

*/ inline PackageImportJobOutput& WithPatchVersion(const Aws::String& value) { SetPatchVersion(value); return *this;} /** *

The package's patch version.

*/ inline PackageImportJobOutput& WithPatchVersion(Aws::String&& value) { SetPatchVersion(std::move(value)); return *this;} /** *

The package's patch version.

*/ inline PackageImportJobOutput& WithPatchVersion(const char* value) { SetPatchVersion(value); return *this;} private: OutPutS3Location m_outputS3Location; bool m_outputS3LocationHasBeenSet = false; Aws::String m_packageId; bool m_packageIdHasBeenSet = false; Aws::String m_packageVersion; bool m_packageVersionHasBeenSet = false; Aws::String m_patchVersion; bool m_patchVersionHasBeenSet = false; }; } // namespace Model } // namespace Panorama } // namespace Aws