text: ﻿/*
  * Copyright 2010-2016 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/autoscaling/AutoScaling_EXPORTS.h>
  #include <aws/core/utils/memory/stl/AWSVector.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <aws/autoscaling/model/ResponseMetadata.h>
  #include <aws/autoscaling/model/Activity.h>
  
  namespace Aws
  {
  template<typename RESULT_TYPE>
  class AmazonWebServiceResult;
  
  namespace Utils
  {
  namespace Xml
  {
    class XmlDocument;
  } // namespace Xml
  } // namespace Utils
  namespace AutoScaling
  {
  namespace Model
  {
    /**
     * <p>Contains the output of DescribeScalingActivities.</p>
     */
    class AWS_AUTOSCALING_API DescribeScalingActivitiesResult
    {
    public:
      DescribeScalingActivitiesResult();
      DescribeScalingActivitiesResult(const AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
      DescribeScalingActivitiesResult& operator=(const AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
  
      /**
       * <p>The scaling activities. Activities are sorted by start time. Activities still
       * in progress are described first.</p>
       */
      inline const Aws::Vector<Activity>& GetActivities() const{ return m_activities; }
  
      /**
       * <p>The scaling activities. Activities are sorted by start time. Activities still
       * in progress are described first.</p>
       */
      inline void SetActivities(const Aws::Vector<Activity>& value) { m_activities = value; }
  
      /**
       * <p>The scaling activities. Activities are sorted by start time. Activities still
       * in progress are described first.</p>
       */
      inline void SetActivities(Aws::Vector<Activity>&& value) { m_activities = value; }
  
      /**
       * <p>The scaling activities. Activities are sorted by start time. Activities still
       * in progress are described first.</p>
       */
      inline DescribeScalingActivitiesResult& WithActivities(const Aws::Vector<Activity>& value) { SetActivities(value); return *this;}
  
      /**
       * <p>The scaling activities. Activities are sorted by start time. Activities still
       * in progress are described first.</p>
       */
      inline DescribeScalingActivitiesResult& WithActivities(Aws::Vector<Activity>&& value) { SetActivities(value); return *this;}
  
      /**
       * <p>The scaling activities. Activities are sorted by start time. Activities still
       * in progress are described first.</p>
       */
      inline DescribeScalingActivitiesResult& AddActivities(const Activity& value) { m_activities.push_back(value); return *this; }
  
      /**
       * <p>The scaling activities. Activities are sorted by start time. Activities still
       * in progress are described first.</p>
       */
      inline DescribeScalingActivitiesResult& AddActivities(Activity&& value) { m_activities.push_back(value); return *this; }
  
      /**
       * <p>The token to use when requesting the next set of items. If there are no
       * additional items to return, the string is empty.</p>
       */
      inline const Aws::String& GetNextToken() const{ return m_nextToken; }
  
      /**
       * <p>The token to use when requesting the next set of items. If there are no
       * additional items to return, the string is empty.</p>
       */
      inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
  
      /**
       * <p>The token to use when requesting the next set of items. If there are no
       * additional items to return, the string is empty.</p>
       */
      inline void SetNextToken(Aws::String&& value) { m_nextToken = value; }
  
      /**
       * <p>The token to use when requesting the next set of items. If there are no
       * additional items to return, the string is empty.</p>
       */
      inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
  
      /**
       * <p>The token to use when requesting the next set of items. If there are no
       * additional items to return, the string is empty.</p>
       */
      inline DescribeScalingActivitiesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
  
      /**
       * <p>The token to use when requesting the next set of items. If there are no
       * additional items to return, the string is empty.</p>
       */
      inline DescribeScalingActivitiesResult& WithNextToken(Aws::String&& value) { SetNextToken(value); return *this;}
  
      /**
       * <p>The token to use when requesting the next set of items. If there are no
       * additional items to return, the string is empty.</p>
       */
      inline DescribeScalingActivitiesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
  
      
      inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
  
      
      inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
  
      
      inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
  
      
      inline DescribeScalingActivitiesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
  
      
      inline DescribeScalingActivitiesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
  
    private:
      Aws::Vector<Activity> m_activities;
      Aws::String m_nextToken;
      ResponseMetadata m_responseMetadata;
    };
  
  } // namespace Model
  } // namespace AutoScaling
  } // namespace Aws