text: ﻿/**
   * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * SPDX-License-Identifier: Apache-2.0.
   */
  
  #pragma once
  #include <aws/states/SFN_EXPORTS.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <aws/states/model/HistoryEventExecutionDataDetails.h>
  #include <utility>
  
  namespace Aws
  {
  namespace Utils
  {
  namespace Json
  {
    class JsonValue;
    class JsonView;
  } // namespace Json
  } // namespace Utils
  namespace SFN
  {
  namespace Model
  {
  
    /**
     * <p>Contains details about the successful termination of the
     * execution.</p><p><h3>See Also:</h3>   <a
     * href="http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionSucceededEventDetails">AWS
     * API Reference</a></p>
     */
    class AWS_SFN_API ExecutionSucceededEventDetails
    {
    public:
      ExecutionSucceededEventDetails();
      ExecutionSucceededEventDetails(Aws::Utils::Json::JsonView jsonValue);
      ExecutionSucceededEventDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
      Aws::Utils::Json::JsonValue Jsonize() const;
  
  
      /**
       * <p>The JSON data output by the execution. Length constraints apply to the
       * payload size, and are expressed as bytes in UTF-8 encoding.</p>
       */
      inline const Aws::String& GetOutput() const{ return m_output; }
  
      /**
       * <p>The JSON data output by the execution. Length constraints apply to the
       * payload size, and are expressed as bytes in UTF-8 encoding.</p>
       */
      inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
  
      /**
       * <p>The JSON data output by the execution. Length constraints apply to the
       * payload size, and are expressed as bytes in UTF-8 encoding.</p>
       */
      inline void SetOutput(const Aws::String& value) { m_outputHasBeenSet = true; m_output = value; }
  
      /**
       * <p>The JSON data output by the execution. Length constraints apply to the
       * payload size, and are expressed as bytes in UTF-8 encoding.</p>
       */
      inline void SetOutput(Aws::String&& value) { m_outputHasBeenSet = true; m_output = std::move(value); }
  
      /**
       * <p>The JSON data output by the execution. Length constraints apply to the
       * payload size, and are expressed as bytes in UTF-8 encoding.</p>
       */
      inline void SetOutput(const char* value) { m_outputHasBeenSet = true; m_output.assign(value); }
  
      /**
       * <p>The JSON data output by the execution. Length constraints apply to the
       * payload size, and are expressed as bytes in UTF-8 encoding.</p>
       */
      inline ExecutionSucceededEventDetails& WithOutput(const Aws::String& value) { SetOutput(value); return *this;}
  
      /**
       * <p>The JSON data output by the execution. Length constraints apply to the
       * payload size, and are expressed as bytes in UTF-8 encoding.</p>
       */
      inline ExecutionSucceededEventDetails& WithOutput(Aws::String&& value) { SetOutput(std::move(value)); return *this;}
  
      /**
       * <p>The JSON data output by the execution. Length constraints apply to the
       * payload size, and are expressed as bytes in UTF-8 encoding.</p>
       */
      inline ExecutionSucceededEventDetails& WithOutput(const char* value) { SetOutput(value); return *this;}
  
  
      /**
       * <p>Contains details about the output of an execution history event.</p>
       */
      inline const HistoryEventExecutionDataDetails& GetOutputDetails() const{ return m_outputDetails; }
  
      /**
       * <p>Contains details about the output of an execution history event.</p>
       */
      inline bool OutputDetailsHasBeenSet() const { return m_outputDetailsHasBeenSet; }
  
      /**
       * <p>Contains details about the output of an execution history event.</p>
       */
      inline void SetOutputDetails(const HistoryEventExecutionDataDetails& value) { m_outputDetailsHasBeenSet = true; m_outputDetails = value; }
  
      /**
       * <p>Contains details about the output of an execution history event.</p>
       */
      inline void SetOutputDetails(HistoryEventExecutionDataDetails&& value) { m_outputDetailsHasBeenSet = true; m_outputDetails = std::move(value); }
  
      /**
       * <p>Contains details about the output of an execution history event.</p>
       */
      inline ExecutionSucceededEventDetails& WithOutputDetails(const HistoryEventExecutionDataDetails& value) { SetOutputDetails(value); return *this;}
  
      /**
       * <p>Contains details about the output of an execution history event.</p>
       */
      inline ExecutionSucceededEventDetails& WithOutputDetails(HistoryEventExecutionDataDetails&& value) { SetOutputDetails(std::move(value)); return *this;}
  
    private:
  
      Aws::String m_output;
      bool m_outputHasBeenSet;
  
      HistoryEventExecutionDataDetails m_outputDetails;
      bool m_outputDetailsHasBeenSet;
    };
  
  } // namespace Model
  } // namespace SFN
  } // namespace Aws
  