text: ﻿/**
   * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * SPDX-License-Identifier: Apache-2.0.
   */
  
  #pragma once
  #include <aws/s3control/S3Control_EXPORTS.h>
  #include <aws/core/utils/memory/stl/AWSVector.h>
  #include <aws/s3control/model/S3Tag.h>
  #include <utility>
  
  namespace Aws
  {
  namespace Utils
  {
  namespace Xml
  {
    class XmlNode;
  } // namespace Xml
  } // namespace Utils
  namespace S3Control
  {
  namespace Model
  {
  
    /**
     * <p/><p><h3>See Also:</h3>   <a
     * href="http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/Tagging">AWS
     * API Reference</a></p>
     */
    class AWS_S3CONTROL_API Tagging
    {
    public:
      Tagging();
      Tagging(const Aws::Utils::Xml::XmlNode& xmlNode);
      Tagging& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
  
      void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
  
  
      /**
       * <p>A collection for a set of tags.</p>
       */
      inline const Aws::Vector<S3Tag>& GetTagSet() const{ return m_tagSet; }
  
      /**
       * <p>A collection for a set of tags.</p>
       */
      inline bool TagSetHasBeenSet() const { return m_tagSetHasBeenSet; }
  
      /**
       * <p>A collection for a set of tags.</p>
       */
      inline void SetTagSet(const Aws::Vector<S3Tag>& value) { m_tagSetHasBeenSet = true; m_tagSet = value; }
  
      /**
       * <p>A collection for a set of tags.</p>
       */
      inline void SetTagSet(Aws::Vector<S3Tag>&& value) { m_tagSetHasBeenSet = true; m_tagSet = std::move(value); }
  
      /**
       * <p>A collection for a set of tags.</p>
       */
      inline Tagging& WithTagSet(const Aws::Vector<S3Tag>& value) { SetTagSet(value); return *this;}
  
      /**
       * <p>A collection for a set of tags.</p>
       */
      inline Tagging& WithTagSet(Aws::Vector<S3Tag>&& value) { SetTagSet(std::move(value)); return *this;}
  
      /**
       * <p>A collection for a set of tags.</p>
       */
      inline Tagging& AddTagSet(const S3Tag& value) { m_tagSetHasBeenSet = true; m_tagSet.push_back(value); return *this; }
  
      /**
       * <p>A collection for a set of tags.</p>
       */
      inline Tagging& AddTagSet(S3Tag&& value) { m_tagSetHasBeenSet = true; m_tagSet.push_back(std::move(value)); return *this; }
  
    private:
  
      Aws::Vector<S3Tag> m_tagSet;
      bool m_tagSetHasBeenSet;
    };
  
  } // namespace Model
  } // namespace S3Control
  } // namespace Aws
  