7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogs_EXPORTS.h>
9#include <aws/logs/model/IndexType.h>
20namespace CloudWatchLogs {
43 template <
typename LogGroupIdentifierT = Aws::String>
45 m_logGroupIdentifierHasBeenSet =
true;
46 m_logGroupIdentifier = std::forward<LogGroupIdentifierT>(value);
48 template <
typename LogGroupIdentifierT = Aws::String>
61 template <
typename FieldIndexNameT = Aws::String>
63 m_fieldIndexNameHasBeenSet =
true;
64 m_fieldIndexName = std::forward<FieldIndexNameT>(value);
66 template <
typename FieldIndexNameT = Aws::String>
82 m_lastScanTimeHasBeenSet =
true;
83 m_lastScanTime = value;
99 m_firstEventTimeHasBeenSet =
true;
100 m_firstEventTime = value;
116 m_lastEventTimeHasBeenSet =
true;
117 m_lastEventTime = value;
134 m_typeHasBeenSet =
true;
147 long long m_lastScanTime{0};
149 long long m_firstEventTime{0};
151 long long m_lastEventTime{0};
154 bool m_logGroupIdentifierHasBeenSet =
false;
155 bool m_fieldIndexNameHasBeenSet =
false;
156 bool m_lastScanTimeHasBeenSet =
false;
157 bool m_firstEventTimeHasBeenSet =
false;
158 bool m_lastEventTimeHasBeenSet =
false;
159 bool m_typeHasBeenSet =
false;
long long GetLastEventTime() 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
const Aws::String & GetLogGroupIdentifier() const
long long GetLastScanTime() const
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
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