7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogs_EXPORTS.h>
9#include <aws/logs/model/IndexCategory.h>
10#include <aws/logs/model/IndexType.h>
21namespace CloudWatchLogs {
44 template <
typename LogGroupIdentifierT = Aws::String>
46 m_logGroupIdentifierHasBeenSet =
true;
47 m_logGroupIdentifier = std::forward<LogGroupIdentifierT>(value);
49 template <
typename LogGroupIdentifierT = Aws::String>
62 template <
typename FieldIndexNameT = Aws::String>
64 m_fieldIndexNameHasBeenSet =
true;
65 m_fieldIndexName = std::forward<FieldIndexNameT>(value);
67 template <
typename FieldIndexNameT = Aws::String>
83 m_lastScanTimeHasBeenSet =
true;
84 m_lastScanTime = value;
100 m_firstEventTimeHasBeenSet =
true;
101 m_firstEventTime = value;
117 m_lastEventTimeHasBeenSet =
true;
118 m_lastEventTime = value;
135 m_typeHasBeenSet =
true;
167 m_indexCategoryHasBeenSet =
true;
168 m_indexCategory = value;
180 long long m_lastScanTime{0};
182 long long m_firstEventTime{0};
184 long long m_lastEventTime{0};
189 bool m_logGroupIdentifierHasBeenSet =
false;
190 bool m_fieldIndexNameHasBeenSet =
false;
191 bool m_lastScanTimeHasBeenSet =
false;
192 bool m_firstEventTimeHasBeenSet =
false;
193 bool m_lastEventTimeHasBeenSet =
false;
194 bool m_typeHasBeenSet =
false;
195 bool m_indexCategoryHasBeenSet =
false;
long long GetLastEventTime() const
IndexCategory GetIndexCategory() const
FieldIndex & WithFirstEventTime(long long value)
AWS_CLOUDWATCHLOGS_API FieldIndex(Aws::Utils::Json::JsonView jsonValue)
void SetFieldIndexName(FieldIndexNameT &&value)
FieldIndex & WithType(IndexType value)
const Aws::String & GetFieldIndexName() const
bool FirstEventTimeHasBeenSet() const
bool IndexCategoryHasBeenSet() const
const Aws::String & GetLogGroupIdentifier() const
long long GetLastScanTime() const
void SetIndexCategory(IndexCategory value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLogGroupIdentifier(LogGroupIdentifierT &&value)
AWS_CLOUDWATCHLOGS_API FieldIndex & operator=(Aws::Utils::Json::JsonView jsonValue)
FieldIndex & WithLogGroupIdentifier(LogGroupIdentifierT &&value)
FieldIndex & WithLastScanTime(long long value)
void SetFirstEventTime(long long value)
FieldIndex & WithLastEventTime(long long value)
void SetLastScanTime(long long value)
IndexType GetType() const
AWS_CLOUDWATCHLOGS_API FieldIndex()=default
bool LogGroupIdentifierHasBeenSet() const
bool LastEventTimeHasBeenSet() const
FieldIndex & WithFieldIndexName(FieldIndexNameT &&value)
void SetLastEventTime(long long value)
bool LastScanTimeHasBeenSet() const
bool FieldIndexNameHasBeenSet() const
FieldIndex & WithIndexCategory(IndexCategory value)
bool TypeHasBeenSet() const
long long GetFirstEventTime() const
void SetType(IndexType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue