/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the search status of a log stream.See Also:
AWS
* API Reference
The name of the log stream.
*/ inline const Aws::String& GetLogStreamName() const{ return m_logStreamName; } /** *The name of the log stream.
*/ inline bool LogStreamNameHasBeenSet() const { return m_logStreamNameHasBeenSet; } /** *The name of the log stream.
*/ inline void SetLogStreamName(const Aws::String& value) { m_logStreamNameHasBeenSet = true; m_logStreamName = value; } /** *The name of the log stream.
*/ inline void SetLogStreamName(Aws::String&& value) { m_logStreamNameHasBeenSet = true; m_logStreamName = std::move(value); } /** *The name of the log stream.
*/ inline void SetLogStreamName(const char* value) { m_logStreamNameHasBeenSet = true; m_logStreamName.assign(value); } /** *The name of the log stream.
*/ inline SearchedLogStream& WithLogStreamName(const Aws::String& value) { SetLogStreamName(value); return *this;} /** *The name of the log stream.
*/ inline SearchedLogStream& WithLogStreamName(Aws::String&& value) { SetLogStreamName(std::move(value)); return *this;} /** *The name of the log stream.
*/ inline SearchedLogStream& WithLogStreamName(const char* value) { SetLogStreamName(value); return *this;} /** *Indicates whether all the events in this log stream were searched.
*/ inline bool GetSearchedCompletely() const{ return m_searchedCompletely; } /** *Indicates whether all the events in this log stream were searched.
*/ inline bool SearchedCompletelyHasBeenSet() const { return m_searchedCompletelyHasBeenSet; } /** *Indicates whether all the events in this log stream were searched.
*/ inline void SetSearchedCompletely(bool value) { m_searchedCompletelyHasBeenSet = true; m_searchedCompletely = value; } /** *Indicates whether all the events in this log stream were searched.
*/ inline SearchedLogStream& WithSearchedCompletely(bool value) { SetSearchedCompletely(value); return *this;} private: Aws::String m_logStreamName; bool m_logStreamNameHasBeenSet = false; bool m_searchedCompletely; bool m_searchedCompletelyHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchLogs } // namespace Aws