/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */
#pragma once
#include 
#include 
namespace Aws
{
namespace Utils
{
namespace Xml
{
  class XmlNode;
} // namespace Xml
} // namespace Utils
namespace EC2
{
namespace Model
{
  /**
   * Describes a value for a resource attribute that is a Boolean
   * value.
See Also:
   AWS
   * API Reference
   */
  class AttributeBooleanValue
  {
  public:
    AWS_EC2_API AttributeBooleanValue();
    AWS_EC2_API AttributeBooleanValue(const Aws::Utils::Xml::XmlNode& xmlNode);
    AWS_EC2_API AttributeBooleanValue& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
    AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
    AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
    /**
     * The attribute value. The valid values are true or
     * false.
     */
    inline bool GetValue() const{ return m_value; }
    /**
     * The attribute value. The valid values are true or
     * false.
     */
    inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
    /**
     * The attribute value. The valid values are true or
     * false.
     */
    inline void SetValue(bool value) { m_valueHasBeenSet = true; m_value = value; }
    /**
     * The attribute value. The valid values are true or
     * false.
     */
    inline AttributeBooleanValue& WithValue(bool value) { SetValue(value); return *this;}
  private:
    bool m_value;
    bool m_valueHasBeenSet = false;
  };
} // namespace Model
} // namespace EC2
} // namespace Aws