113 lines
3.2 KiB
C++
113 lines
3.2 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#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 bool LogStreamNameHasBeenSet() const { return m_logStreamNameHasBeenSet; }
|
|
|
|
/**
|
|
* <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 bool SearchedCompletelyHasBeenSet() const { return m_searchedCompletelyHasBeenSet; }
|
|
|
|
/**
|
|
* <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
|