AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FieldIndex.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
33 {
34 public:
35 AWS_CLOUDWATCHLOGS_API FieldIndex() = default;
36 AWS_CLOUDWATCHLOGS_API FieldIndex(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDWATCHLOGS_API FieldIndex& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetLogGroupIdentifier() const { return m_logGroupIdentifier; }
47 inline bool LogGroupIdentifierHasBeenSet() const { return m_logGroupIdentifierHasBeenSet; }
48 template<typename LogGroupIdentifierT = Aws::String>
49 void SetLogGroupIdentifier(LogGroupIdentifierT&& value) { m_logGroupIdentifierHasBeenSet = true; m_logGroupIdentifier = std::forward<LogGroupIdentifierT>(value); }
50 template<typename LogGroupIdentifierT = Aws::String>
51 FieldIndex& WithLogGroupIdentifier(LogGroupIdentifierT&& value) { SetLogGroupIdentifier(std::forward<LogGroupIdentifierT>(value)); return *this;}
53
55
58 inline const Aws::String& GetFieldIndexName() const { return m_fieldIndexName; }
59 inline bool FieldIndexNameHasBeenSet() const { return m_fieldIndexNameHasBeenSet; }
60 template<typename FieldIndexNameT = Aws::String>
61 void SetFieldIndexName(FieldIndexNameT&& value) { m_fieldIndexNameHasBeenSet = true; m_fieldIndexName = std::forward<FieldIndexNameT>(value); }
62 template<typename FieldIndexNameT = Aws::String>
63 FieldIndex& WithFieldIndexName(FieldIndexNameT&& value) { SetFieldIndexName(std::forward<FieldIndexNameT>(value)); return *this;}
65
67
72 inline long long GetLastScanTime() const { return m_lastScanTime; }
73 inline bool LastScanTimeHasBeenSet() const { return m_lastScanTimeHasBeenSet; }
74 inline void SetLastScanTime(long long value) { m_lastScanTimeHasBeenSet = true; m_lastScanTime = value; }
75 inline FieldIndex& WithLastScanTime(long long value) { SetLastScanTime(value); return *this;}
77
79
83 inline long long GetFirstEventTime() const { return m_firstEventTime; }
84 inline bool FirstEventTimeHasBeenSet() const { return m_firstEventTimeHasBeenSet; }
85 inline void SetFirstEventTime(long long value) { m_firstEventTimeHasBeenSet = true; m_firstEventTime = value; }
86 inline FieldIndex& WithFirstEventTime(long long value) { SetFirstEventTime(value); return *this;}
88
90
94 inline long long GetLastEventTime() const { return m_lastEventTime; }
95 inline bool LastEventTimeHasBeenSet() const { return m_lastEventTimeHasBeenSet; }
96 inline void SetLastEventTime(long long value) { m_lastEventTimeHasBeenSet = true; m_lastEventTime = value; }
97 inline FieldIndex& WithLastEventTime(long long value) { SetLastEventTime(value); return *this;}
99 private:
100
101 Aws::String m_logGroupIdentifier;
102 bool m_logGroupIdentifierHasBeenSet = false;
103
104 Aws::String m_fieldIndexName;
105 bool m_fieldIndexNameHasBeenSet = false;
106
107 long long m_lastScanTime{0};
108 bool m_lastScanTimeHasBeenSet = false;
109
110 long long m_firstEventTime{0};
111 bool m_firstEventTimeHasBeenSet = false;
112
113 long long m_lastEventTime{0};
114 bool m_lastEventTimeHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace CloudWatchLogs
119} // namespace Aws
FieldIndex & WithFirstEventTime(long long value)
Definition FieldIndex.h:86
AWS_CLOUDWATCHLOGS_API FieldIndex(Aws::Utils::Json::JsonView jsonValue)
void SetFieldIndexName(FieldIndexNameT &&value)
Definition FieldIndex.h:61
const Aws::String & GetFieldIndexName() const
Definition FieldIndex.h:58
const Aws::String & GetLogGroupIdentifier() const
Definition FieldIndex.h:46
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLogGroupIdentifier(LogGroupIdentifierT &&value)
Definition FieldIndex.h:49
AWS_CLOUDWATCHLOGS_API FieldIndex & operator=(Aws::Utils::Json::JsonView jsonValue)
FieldIndex & WithLogGroupIdentifier(LogGroupIdentifierT &&value)
Definition FieldIndex.h:51
FieldIndex & WithLastScanTime(long long value)
Definition FieldIndex.h:75
void SetFirstEventTime(long long value)
Definition FieldIndex.h:85
FieldIndex & WithLastEventTime(long long value)
Definition FieldIndex.h:97
void SetLastScanTime(long long value)
Definition FieldIndex.h:74
AWS_CLOUDWATCHLOGS_API FieldIndex()=default
FieldIndex & WithFieldIndexName(FieldIndexNameT &&value)
Definition FieldIndex.h:63
void SetLastEventTime(long long value)
Definition FieldIndex.h:96
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue