/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A package version output configuration.See Also:
AWS
* API Reference
Indicates that the version is recommended for all users.
*/ inline bool GetMarkLatest() const{ return m_markLatest; } /** *Indicates that the version is recommended for all users.
*/ inline bool MarkLatestHasBeenSet() const { return m_markLatestHasBeenSet; } /** *Indicates that the version is recommended for all users.
*/ inline void SetMarkLatest(bool value) { m_markLatestHasBeenSet = true; m_markLatest = value; } /** *Indicates that the version is recommended for all users.
*/ inline PackageVersionOutputConfig& WithMarkLatest(bool value) { SetMarkLatest(value); return *this;} /** *The output's package name.
*/ inline const Aws::String& GetPackageName() const{ return m_packageName; } /** *The output's package name.
*/ inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; } /** *The output's package name.
*/ inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; } /** *The output's package name.
*/ inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); } /** *The output's package name.
*/ inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); } /** *The output's package name.
*/ inline PackageVersionOutputConfig& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;} /** *The output's package name.
*/ inline PackageVersionOutputConfig& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;} /** *The output's package name.
*/ inline PackageVersionOutputConfig& WithPackageName(const char* value) { SetPackageName(value); return *this;} /** *The output's package version.
*/ inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; } /** *The output's package version.
*/ inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; } /** *The output's package version.
*/ inline void SetPackageVersion(const Aws::String& value) { m_packageVersionHasBeenSet = true; m_packageVersion = value; } /** *The output's package version.
*/ inline void SetPackageVersion(Aws::String&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::move(value); } /** *The output's package version.
*/ inline void SetPackageVersion(const char* value) { m_packageVersionHasBeenSet = true; m_packageVersion.assign(value); } /** *The output's package version.
*/ inline PackageVersionOutputConfig& WithPackageVersion(const Aws::String& value) { SetPackageVersion(value); return *this;} /** *The output's package version.
*/ inline PackageVersionOutputConfig& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;} /** *The output's package version.
*/ inline PackageVersionOutputConfig& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;} private: bool m_markLatest; bool m_markLatestHasBeenSet = false; Aws::String m_packageName; bool m_packageNameHasBeenSet = false; Aws::String m_packageVersion; bool m_packageVersionHasBeenSet = false; }; } // namespace Model } // namespace Panorama } // namespace Aws