text: ﻿/**
   * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * SPDX-License-Identifier: Apache-2.0.
   */
  
  #pragma once
  #include <aws/panorama/Panorama_EXPORTS.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <utility>
  
  namespace Aws
  {
  namespace Utils
  {
  namespace Json
  {
    class JsonValue;
    class JsonView;
  } // namespace Json
  } // namespace Utils
  namespace Panorama
  {
  namespace Model
  {
  
    /**
     * <p>A package version output configuration.</p><p><h3>See Also:</h3>   <a
     * href="http://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/PackageVersionOutputConfig">AWS
     * API Reference</a></p>
     */
    class AWS_PANORAMA_API PackageVersionOutputConfig
    {
    public:
      PackageVersionOutputConfig();
      PackageVersionOutputConfig(Aws::Utils::Json::JsonView jsonValue);
      PackageVersionOutputConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
      Aws::Utils::Json::JsonValue Jsonize() const;
  
  
      /**
       * <p>The output's package name.</p>
       */
      inline const Aws::String& GetPackageName() const{ return m_packageName; }
  
      /**
       * <p>The output's package name.</p>
       */
      inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
  
      /**
       * <p>The output's package name.</p>
       */
      inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; }
  
      /**
       * <p>The output's package name.</p>
       */
      inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); }
  
      /**
       * <p>The output's package name.</p>
       */
      inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); }
  
      /**
       * <p>The output's package name.</p>
       */
      inline PackageVersionOutputConfig& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
  
      /**
       * <p>The output's package name.</p>
       */
      inline PackageVersionOutputConfig& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
  
      /**
       * <p>The output's package name.</p>
       */
      inline PackageVersionOutputConfig& WithPackageName(const char* value) { SetPackageName(value); return *this;}
  
  
      /**
       * <p>The output's package version.</p>
       */
      inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; }
  
      /**
       * <p>The output's package version.</p>
       */
      inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; }
  
      /**
       * <p>The output's package version.</p>
       */
      inline void SetPackageVersion(const Aws::String& value) { m_packageVersionHasBeenSet = true; m_packageVersion = value; }
  
      /**
       * <p>The output's package version.</p>
       */
      inline void SetPackageVersion(Aws::String&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::move(value); }
  
      /**
       * <p>The output's package version.</p>
       */
      inline void SetPackageVersion(const char* value) { m_packageVersionHasBeenSet = true; m_packageVersion.assign(value); }
  
      /**
       * <p>The output's package version.</p>
       */
      inline PackageVersionOutputConfig& WithPackageVersion(const Aws::String& value) { SetPackageVersion(value); return *this;}
  
      /**
       * <p>The output's package version.</p>
       */
      inline PackageVersionOutputConfig& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;}
  
      /**
       * <p>The output's package version.</p>
       */
      inline PackageVersionOutputConfig& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;}
  
  
      /**
       * <p>Indicates that the version is recommended for all users.</p>
       */
      inline bool GetMarkLatest() const{ return m_markLatest; }
  
      /**
       * <p>Indicates that the version is recommended for all users.</p>
       */
      inline bool MarkLatestHasBeenSet() const { return m_markLatestHasBeenSet; }
  
      /**
       * <p>Indicates that the version is recommended for all users.</p>
       */
      inline void SetMarkLatest(bool value) { m_markLatestHasBeenSet = true; m_markLatest = value; }
  
      /**
       * <p>Indicates that the version is recommended for all users.</p>
       */
      inline PackageVersionOutputConfig& WithMarkLatest(bool value) { SetMarkLatest(value); return *this;}
  
    private:
  
      Aws::String m_packageName;
      bool m_packageNameHasBeenSet;
  
      Aws::String m_packageVersion;
      bool m_packageVersionHasBeenSet;
  
      bool m_markLatest;
      bool m_markLatestHasBeenSet;
    };
  
  } // namespace Model
  } // namespace Panorama
  } // namespace Aws
  