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/logs/CloudWatchLogs_EXPORTS.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <utility>
  
  namespace Aws
  {
  namespace Utils
  {
  namespace Json
  {
    class JsonValue;
    class JsonView;
  } // namespace Json
  } // namespace Utils
  namespace CloudWatchLogs
  {
  namespace Model
  {
  
    /**
     * <p>Represents the search status of a log stream.</p><p><h3>See Also:</h3>   <a
     * href="http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/SearchedLogStream">AWS
     * API Reference</a></p>
     */
    class AWS_CLOUDWATCHLOGS_API SearchedLogStream
    {
    public:
      SearchedLogStream();
      SearchedLogStream(Aws::Utils::Json::JsonView jsonValue);
      SearchedLogStream& operator=(Aws::Utils::Json::JsonView jsonValue);
      Aws::Utils::Json::JsonValue Jsonize() const;
  
  
      /**
       * <p>The name of the log stream.</p>
       */
      inline const Aws::String& GetLogStreamName() const{ return m_logStreamName; }
  
      /**
       * <p>The name of the log stream.</p>
       */
      inline void SetLogStreamName(const Aws::String& value) { m_logStreamNameHasBeenSet = true; m_logStreamName = value; }
  
      /**
       * <p>The name of the log stream.</p>
       */
      inline void SetLogStreamName(Aws::String&& value) { m_logStreamNameHasBeenSet = true; m_logStreamName = std::move(value); }
  
      /**
       * <p>The name of the log stream.</p>
       */
      inline void SetLogStreamName(const char* value) { m_logStreamNameHasBeenSet = true; m_logStreamName.assign(value); }
  
      /**
       * <p>The name of the log stream.</p>
       */
      inline SearchedLogStream& WithLogStreamName(const Aws::String& value) { SetLogStreamName(value); return *this;}
  
      /**
       * <p>The name of the log stream.</p>
       */
      inline SearchedLogStream& WithLogStreamName(Aws::String&& value) { SetLogStreamName(std::move(value)); return *this;}
  
      /**
       * <p>The name of the log stream.</p>
       */
      inline SearchedLogStream& WithLogStreamName(const char* value) { SetLogStreamName(value); return *this;}
  
  
      /**
       * <p>Indicates whether all the events in this log stream were searched.</p>
       */
      inline bool GetSearchedCompletely() const{ return m_searchedCompletely; }
  
      /**
       * <p>Indicates whether all the events in this log stream were searched.</p>
       */
      inline void SetSearchedCompletely(bool value) { m_searchedCompletelyHasBeenSet = true; m_searchedCompletely = value; }
  
      /**
       * <p>Indicates whether all the events in this log stream were searched.</p>
       */
      inline SearchedLogStream& WithSearchedCompletely(bool value) { SetSearchedCompletely(value); return *this;}
  
    private:
  
      Aws::String m_logStreamName;
      bool m_logStreamNameHasBeenSet;
  
      bool m_searchedCompletely;
      bool m_searchedCompletelyHasBeenSet;
    };
  
  } // namespace Model
  } // namespace CloudWatchLogs
  } // namespace Aws
  