AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLogStreamName(const Aws::String& value) { m_logStreamNameHasBeenSet = true; m_logStreamName = value; }
47 inline void SetLogStreamName(Aws::String&& value) { m_logStreamNameHasBeenSet = true; m_logStreamName = std::move(value); }
48 inline void SetLogStreamName(const char* value) { m_logStreamNameHasBeenSet = true; m_logStreamName.assign(value); }
49 inline SearchedLogStream& WithLogStreamName(const Aws::String& value) { SetLogStreamName(value); return *this;}
50 inline SearchedLogStream& WithLogStreamName(Aws::String&& value) { SetLogStreamName(std::move(value)); return *this;}
51 inline SearchedLogStream& WithLogStreamName(const char* value) { SetLogStreamName(value); return *this;}
53
55
58 inline bool GetSearchedCompletely() const{ return m_searchedCompletely; }
59 inline bool SearchedCompletelyHasBeenSet() const { return m_searchedCompletelyHasBeenSet; }
60 inline void SetSearchedCompletely(bool value) { m_searchedCompletelyHasBeenSet = true; m_searchedCompletely = value; }
61 inline SearchedLogStream& WithSearchedCompletely(bool value) { SetSearchedCompletely(value); return *this;}
63 private:
64
65 Aws::String m_logStreamName;
66 bool m_logStreamNameHasBeenSet = false;
67
68 bool m_searchedCompletely;
69 bool m_searchedCompletelyHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace CloudWatchLogs
74} // namespace Aws
SearchedLogStream & WithLogStreamName(const char *value)
AWS_CLOUDWATCHLOGS_API SearchedLogStream(Aws::Utils::Json::JsonView jsonValue)
void SetLogStreamName(const Aws::String &value)
SearchedLogStream & WithSearchedCompletely(bool value)
AWS_CLOUDWATCHLOGS_API SearchedLogStream & operator=(Aws::Utils::Json::JsonView jsonValue)
SearchedLogStream & WithLogStreamName(const Aws::String &value)
SearchedLogStream & WithLogStreamName(Aws::String &&value)
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