AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SearchedLogStream.h
1
6#pragma once
7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CloudWatchLogs
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CLOUDWATCHLOGS_API SearchedLogStream() = default;
35 AWS_CLOUDWATCHLOGS_API SearchedLogStream(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CLOUDWATCHLOGS_API SearchedLogStream& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetLogStreamName() const { return m_logStreamName; }
45 inline bool LogStreamNameHasBeenSet() const { return m_logStreamNameHasBeenSet; }
46 template<typename LogStreamNameT = Aws::String>
47 void SetLogStreamName(LogStreamNameT&& value) { m_logStreamNameHasBeenSet = true; m_logStreamName = std::forward<LogStreamNameT>(value); }
48 template<typename LogStreamNameT = Aws::String>
49 SearchedLogStream& WithLogStreamName(LogStreamNameT&& value) { SetLogStreamName(std::forward<LogStreamNameT>(value)); return *this;}
51
53
56 inline bool GetSearchedCompletely() const { return m_searchedCompletely; }
57 inline bool SearchedCompletelyHasBeenSet() const { return m_searchedCompletelyHasBeenSet; }
58 inline void SetSearchedCompletely(bool value) { m_searchedCompletelyHasBeenSet = true; m_searchedCompletely = value; }
59 inline SearchedLogStream& WithSearchedCompletely(bool value) { SetSearchedCompletely(value); return *this;}
61 private:
62
63 Aws::String m_logStreamName;
64 bool m_logStreamNameHasBeenSet = false;
65
66 bool m_searchedCompletely{false};
67 bool m_searchedCompletelyHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace CloudWatchLogs
72} // namespace Aws
SearchedLogStream & WithLogStreamName(LogStreamNameT &&value)
AWS_CLOUDWATCHLOGS_API SearchedLogStream(Aws::Utils::Json::JsonView jsonValue)
SearchedLogStream & WithSearchedCompletely(bool value)
AWS_CLOUDWATCHLOGS_API SearchedLogStream()=default
AWS_CLOUDWATCHLOGS_API SearchedLogStream & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue