text: ﻿/*
  * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
  *
  * Licensed under the Apache License, Version 2.0 (the "License").
  * You may not use this file except in compliance with the License.
  * A copy of the License is located at
  *
  *  http://aws.amazon.com/apache2.0
  *
  * or in the "license" file accompanying this file. This file is distributed
  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
  * express or implied. See the License for the specific language governing
  * permissions and limitations under the License.
  */
  
  #pragma once
  #include <aws/cloudfront/CloudFront_EXPORTS.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <aws/core/utils/memory/stl/AWSVector.h>
  #include <aws/cloudfront/model/StreamingDistributionSummary.h>
  #include <utility>
  
  namespace Aws
  {
  namespace Utils
  {
  namespace Xml
  {
    class XmlNode;
  } // namespace Xml
  } // namespace Utils
  namespace CloudFront
  {
  namespace Model
  {
  
    /**
     * <p>A streaming distribution list. </p><p><h3>See Also:</h3>   <a
     * href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2018-11-05/StreamingDistributionList">AWS
     * API Reference</a></p>
     */
    class AWS_CLOUDFRONT_API StreamingDistributionList
    {
    public:
      StreamingDistributionList();
      StreamingDistributionList(const Aws::Utils::Xml::XmlNode& xmlNode);
      StreamingDistributionList& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
  
      void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
  
  
      /**
       * <p>The value you provided for the <code>Marker</code> request parameter. </p>
       */
      inline const Aws::String& GetMarker() const{ return m_marker; }
  
      /**
       * <p>The value you provided for the <code>Marker</code> request parameter. </p>
       */
      inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
  
      /**
       * <p>The value you provided for the <code>Marker</code> request parameter. </p>
       */
      inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
  
      /**
       * <p>The value you provided for the <code>Marker</code> request parameter. </p>
       */
      inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
  
      /**
       * <p>The value you provided for the <code>Marker</code> request parameter. </p>
       */
      inline StreamingDistributionList& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
  
      /**
       * <p>The value you provided for the <code>Marker</code> request parameter. </p>
       */
      inline StreamingDistributionList& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
  
      /**
       * <p>The value you provided for the <code>Marker</code> request parameter. </p>
       */
      inline StreamingDistributionList& WithMarker(const char* value) { SetMarker(value); return *this;}
  
  
      /**
       * <p>If <code>IsTruncated</code> is <code>true</code>, this element is present and
       * contains the value you can use for the <code>Marker</code> request parameter to
       * continue listing your RTMP distributions where they left off. </p>
       */
      inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
  
      /**
       * <p>If <code>IsTruncated</code> is <code>true</code>, this element is present and
       * contains the value you can use for the <code>Marker</code> request parameter to
       * continue listing your RTMP distributions where they left off. </p>
       */
      inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
  
      /**
       * <p>If <code>IsTruncated</code> is <code>true</code>, this element is present and
       * contains the value you can use for the <code>Marker</code> request parameter to
       * continue listing your RTMP distributions where they left off. </p>
       */
      inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
  
      /**
       * <p>If <code>IsTruncated</code> is <code>true</code>, this element is present and
       * contains the value you can use for the <code>Marker</code> request parameter to
       * continue listing your RTMP distributions where they left off. </p>
       */
      inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
  
      /**
       * <p>If <code>IsTruncated</code> is <code>true</code>, this element is present and
       * contains the value you can use for the <code>Marker</code> request parameter to
       * continue listing your RTMP distributions where they left off. </p>
       */
      inline StreamingDistributionList& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
  
      /**
       * <p>If <code>IsTruncated</code> is <code>true</code>, this element is present and
       * contains the value you can use for the <code>Marker</code> request parameter to
       * continue listing your RTMP distributions where they left off. </p>
       */
      inline StreamingDistributionList& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
  
      /**
       * <p>If <code>IsTruncated</code> is <code>true</code>, this element is present and
       * contains the value you can use for the <code>Marker</code> request parameter to
       * continue listing your RTMP distributions where they left off. </p>
       */
      inline StreamingDistributionList& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
  
  
      /**
       * <p>The value you provided for the <code>MaxItems</code> request parameter. </p>
       */
      inline int GetMaxItems() const{ return m_maxItems; }
  
      /**
       * <p>The value you provided for the <code>MaxItems</code> request parameter. </p>
       */
      inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
  
      /**
       * <p>The value you provided for the <code>MaxItems</code> request parameter. </p>
       */
      inline StreamingDistributionList& WithMaxItems(int value) { SetMaxItems(value); return *this;}
  
  
      /**
       * <p>A flag that indicates whether more streaming distributions remain to be
       * listed. If your results were truncated, you can make a follow-up pagination
       * request using the <code>Marker</code> request parameter to retrieve more
       * distributions in the list. </p>
       */
      inline bool GetIsTruncated() const{ return m_isTruncated; }
  
      /**
       * <p>A flag that indicates whether more streaming distributions remain to be
       * listed. If your results were truncated, you can make a follow-up pagination
       * request using the <code>Marker</code> request parameter to retrieve more
       * distributions in the list. </p>
       */
      inline void SetIsTruncated(bool value) { m_isTruncatedHasBeenSet = true; m_isTruncated = value; }
  
      /**
       * <p>A flag that indicates whether more streaming distributions remain to be
       * listed. If your results were truncated, you can make a follow-up pagination
       * request using the <code>Marker</code> request parameter to retrieve more
       * distributions in the list. </p>
       */
      inline StreamingDistributionList& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
  
  
      /**
       * <p>The number of streaming distributions that were created by the current AWS
       * account. </p>
       */
      inline int GetQuantity() const{ return m_quantity; }
  
      /**
       * <p>The number of streaming distributions that were created by the current AWS
       * account. </p>
       */
      inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
  
      /**
       * <p>The number of streaming distributions that were created by the current AWS
       * account. </p>
       */
      inline StreamingDistributionList& WithQuantity(int value) { SetQuantity(value); return *this;}
  
  
      /**
       * <p>A complex type that contains one <code>StreamingDistributionSummary</code>
       * element for each distribution that was created by the current AWS account.</p>
       */
      inline const Aws::Vector<StreamingDistributionSummary>& GetItems() const{ return m_items; }
  
      /**
       * <p>A complex type that contains one <code>StreamingDistributionSummary</code>
       * element for each distribution that was created by the current AWS account.</p>
       */
      inline void SetItems(const Aws::Vector<StreamingDistributionSummary>& value) { m_itemsHasBeenSet = true; m_items = value; }
  
      /**
       * <p>A complex type that contains one <code>StreamingDistributionSummary</code>
       * element for each distribution that was created by the current AWS account.</p>
       */
      inline void SetItems(Aws::Vector<StreamingDistributionSummary>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
  
      /**
       * <p>A complex type that contains one <code>StreamingDistributionSummary</code>
       * element for each distribution that was created by the current AWS account.</p>
       */
      inline StreamingDistributionList& WithItems(const Aws::Vector<StreamingDistributionSummary>& value) { SetItems(value); return *this;}
  
      /**
       * <p>A complex type that contains one <code>StreamingDistributionSummary</code>
       * element for each distribution that was created by the current AWS account.</p>
       */
      inline StreamingDistributionList& WithItems(Aws::Vector<StreamingDistributionSummary>&& value) { SetItems(std::move(value)); return *this;}
  
      /**
       * <p>A complex type that contains one <code>StreamingDistributionSummary</code>
       * element for each distribution that was created by the current AWS account.</p>
       */
      inline StreamingDistributionList& AddItems(const StreamingDistributionSummary& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
  
      /**
       * <p>A complex type that contains one <code>StreamingDistributionSummary</code>
       * element for each distribution that was created by the current AWS account.</p>
       */
      inline StreamingDistributionList& AddItems(StreamingDistributionSummary&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
  
    private:
  
      Aws::String m_marker;
      bool m_markerHasBeenSet;
  
      Aws::String m_nextMarker;
      bool m_nextMarkerHasBeenSet;
  
      int m_maxItems;
      bool m_maxItemsHasBeenSet;
  
      bool m_isTruncated;
      bool m_isTruncatedHasBeenSet;
  
      int m_quantity;
      bool m_quantityHasBeenSet;
  
      Aws::Vector<StreamingDistributionSummary> m_items;
      bool m_itemsHasBeenSet;
    };
  
  } // namespace Model
  } // namespace CloudFront
  } // namespace Aws
  