AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
SearchedLogStream.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogs_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CloudWatchLogs {
20namespace Model {
21
28 public:
29 AWS_CLOUDWATCHLOGS_API SearchedLogStream() = default;
30 AWS_CLOUDWATCHLOGS_API SearchedLogStream(Aws::Utils::Json::JsonView jsonValue);
31 AWS_CLOUDWATCHLOGS_API SearchedLogStream& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetLogStreamName() const { return m_logStreamName; }
39 inline bool LogStreamNameHasBeenSet() const { return m_logStreamNameHasBeenSet; }
40 template <typename LogStreamNameT = Aws::String>
41 void SetLogStreamName(LogStreamNameT&& value) {
42 m_logStreamNameHasBeenSet = true;
43 m_logStreamName = std::forward<LogStreamNameT>(value);
44 }
45 template <typename LogStreamNameT = Aws::String>
46 SearchedLogStream& WithLogStreamName(LogStreamNameT&& value) {
47 SetLogStreamName(std::forward<LogStreamNameT>(value));
48 return *this;
49 }
51
53
56 inline bool GetSearchedCompletely() const { return m_searchedCompletely; }
57 inline bool SearchedCompletelyHasBeenSet() const { return m_searchedCompletelyHasBeenSet; }
58 inline void SetSearchedCompletely(bool value) {
59 m_searchedCompletelyHasBeenSet = true;
60 m_searchedCompletely = value;
61 }
64 return *this;
65 }
67 private:
68 Aws::String m_logStreamName;
69
70 bool m_searchedCompletely{false};
71 bool m_logStreamNameHasBeenSet = false;
72 bool m_searchedCompletelyHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace CloudWatchLogs
77} // 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