text: ﻿/**
   * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * SPDX-License-Identifier: Apache-2.0.
   */
  
  #pragma once
  #include <aws/elasticmapreduce/EMR_EXPORTS.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <aws/core/utils/memory/stl/AWSVector.h>
  #include <aws/elasticmapreduce/model/SimplifiedApplication.h>
  #include <utility>
  
  namespace Aws
  {
  template<typename RESULT_TYPE>
  class AmazonWebServiceResult;
  
  namespace Utils
  {
  namespace Json
  {
    class JsonValue;
  } // namespace Json
  } // namespace Utils
  namespace EMR
  {
  namespace Model
  {
    class AWS_EMR_API DescribeReleaseLabelResult
    {
    public:
      DescribeReleaseLabelResult();
      DescribeReleaseLabelResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
      DescribeReleaseLabelResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
  
  
      /**
       * <p>The target release label described in the response.</p>
       */
      inline const Aws::String& GetReleaseLabel() const{ return m_releaseLabel; }
  
      /**
       * <p>The target release label described in the response.</p>
       */
      inline void SetReleaseLabel(const Aws::String& value) { m_releaseLabel = value; }
  
      /**
       * <p>The target release label described in the response.</p>
       */
      inline void SetReleaseLabel(Aws::String&& value) { m_releaseLabel = std::move(value); }
  
      /**
       * <p>The target release label described in the response.</p>
       */
      inline void SetReleaseLabel(const char* value) { m_releaseLabel.assign(value); }
  
      /**
       * <p>The target release label described in the response.</p>
       */
      inline DescribeReleaseLabelResult& WithReleaseLabel(const Aws::String& value) { SetReleaseLabel(value); return *this;}
  
      /**
       * <p>The target release label described in the response.</p>
       */
      inline DescribeReleaseLabelResult& WithReleaseLabel(Aws::String&& value) { SetReleaseLabel(std::move(value)); return *this;}
  
      /**
       * <p>The target release label described in the response.</p>
       */
      inline DescribeReleaseLabelResult& WithReleaseLabel(const char* value) { SetReleaseLabel(value); return *this;}
  
  
      /**
       * <p>The list of applications available for the target release label.
       * <code>Name</code> is the name of the application. <code>Version</code> is the
       * concise version of the application.</p>
       */
      inline const Aws::Vector<SimplifiedApplication>& GetApplications() const{ return m_applications; }
  
      /**
       * <p>The list of applications available for the target release label.
       * <code>Name</code> is the name of the application. <code>Version</code> is the
       * concise version of the application.</p>
       */
      inline void SetApplications(const Aws::Vector<SimplifiedApplication>& value) { m_applications = value; }
  
      /**
       * <p>The list of applications available for the target release label.
       * <code>Name</code> is the name of the application. <code>Version</code> is the
       * concise version of the application.</p>
       */
      inline void SetApplications(Aws::Vector<SimplifiedApplication>&& value) { m_applications = std::move(value); }
  
      /**
       * <p>The list of applications available for the target release label.
       * <code>Name</code> is the name of the application. <code>Version</code> is the
       * concise version of the application.</p>
       */
      inline DescribeReleaseLabelResult& WithApplications(const Aws::Vector<SimplifiedApplication>& value) { SetApplications(value); return *this;}
  
      /**
       * <p>The list of applications available for the target release label.
       * <code>Name</code> is the name of the application. <code>Version</code> is the
       * concise version of the application.</p>
       */
      inline DescribeReleaseLabelResult& WithApplications(Aws::Vector<SimplifiedApplication>&& value) { SetApplications(std::move(value)); return *this;}
  
      /**
       * <p>The list of applications available for the target release label.
       * <code>Name</code> is the name of the application. <code>Version</code> is the
       * concise version of the application.</p>
       */
      inline DescribeReleaseLabelResult& AddApplications(const SimplifiedApplication& value) { m_applications.push_back(value); return *this; }
  
      /**
       * <p>The list of applications available for the target release label.
       * <code>Name</code> is the name of the application. <code>Version</code> is the
       * concise version of the application.</p>
       */
      inline DescribeReleaseLabelResult& AddApplications(SimplifiedApplication&& value) { m_applications.push_back(std::move(value)); return *this; }
  
  
      /**
       * <p>The pagination token. Reserved for future use. Currently set to null.</p>
       */
      inline const Aws::String& GetNextToken() const{ return m_nextToken; }
  
      /**
       * <p>The pagination token. Reserved for future use. Currently set to null.</p>
       */
      inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
  
      /**
       * <p>The pagination token. Reserved for future use. Currently set to null.</p>
       */
      inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
  
      /**
       * <p>The pagination token. Reserved for future use. Currently set to null.</p>
       */
      inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
  
      /**
       * <p>The pagination token. Reserved for future use. Currently set to null.</p>
       */
      inline DescribeReleaseLabelResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
  
      /**
       * <p>The pagination token. Reserved for future use. Currently set to null.</p>
       */
      inline DescribeReleaseLabelResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
  
      /**
       * <p>The pagination token. Reserved for future use. Currently set to null.</p>
       */
      inline DescribeReleaseLabelResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
  
    private:
  
      Aws::String m_releaseLabel;
  
      Aws::Vector<SimplifiedApplication> m_applications;
  
      Aws::String m_nextToken;
    };
  
  } // namespace Model
  } // namespace EMR
  } // namespace Aws
  