/** * 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 Http { class URI; } //namespace Http namespace Panorama { namespace Model { /** */ class DescribePackageVersionRequest : public PanoramaRequest { public: AWS_PANORAMA_API DescribePackageVersionRequest(); // 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 "DescribePackageVersion"; } AWS_PANORAMA_API Aws::String SerializePayload() const override; AWS_PANORAMA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The version's owner account.

*/ inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; } /** *

The version's owner account.

*/ inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; } /** *

The version's owner account.

*/ inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; } /** *

The version's owner account.

*/ inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); } /** *

The version's owner account.

*/ inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); } /** *

The version's owner account.

*/ inline DescribePackageVersionRequest& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;} /** *

The version's owner account.

*/ inline DescribePackageVersionRequest& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;} /** *

The version's owner account.

*/ inline DescribePackageVersionRequest& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;} /** *

The version's ID.

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

The version's ID.

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

The version's ID.

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

The version's ID.

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

The version's ID.

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

The version's ID.

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

The version's ID.

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

The version's ID.

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

The version's version.

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

The version's version.

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

The version's version.

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

The version's version.

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

The version's version.

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

The version's version.

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

The version's version.

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

The version's version.

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

The version's patch version.

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

The version's patch version.

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

The version's patch version.

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

The version's patch version.

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

The version's patch version.

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

The version's patch version.

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

The version's patch version.

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

The version's patch version.

*/ inline DescribePackageVersionRequest& WithPatchVersion(const char* value) { SetPatchVersion(value); return *this;} private: Aws::String m_ownerAccount; bool m_ownerAccountHasBeenSet = 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