7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/logs/model/Entity.h>
12#include <aws/logs/model/InputLogEvent.h>
17namespace CloudWatchLogs
48 inline void SetLogGroupName(
const char* value) { m_logGroupNameHasBeenSet =
true; m_logGroupName.assign(value); }
62 inline void SetLogStreamName(
const char* value) { m_logStreamNameHasBeenSet =
true; m_logStreamName.assign(value); }
96 inline void SetSequenceToken(
const char* value) { m_sequenceTokenHasBeenSet =
true; m_sequenceToken.assign(value); }
108 inline void SetEntity(
const Entity& value) { m_entityHasBeenSet =
true; m_entity = value; }
109 inline void SetEntity(
Entity&& value) { m_entityHasBeenSet =
true; m_entity = std::move(value); }
116 bool m_logGroupNameHasBeenSet =
false;
119 bool m_logStreamNameHasBeenSet =
false;
122 bool m_logEventsHasBeenSet =
false;
125 bool m_sequenceTokenHasBeenSet =
false;
128 bool m_entityHasBeenSet =
false;
PutLogEventsRequest & AddLogEvents(const InputLogEvent &value)
bool LogEventsHasBeenSet() const
PutLogEventsRequest & WithEntity(Entity &&value)
virtual const char * GetServiceRequestName() const override
PutLogEventsRequest & WithLogStreamName(const Aws::String &value)
void SetEntity(const Entity &value)
const Aws::String & GetSequenceToken() const
void SetLogGroupName(Aws::String &&value)
const Aws::String & GetLogStreamName() const
PutLogEventsRequest & WithLogStreamName(const char *value)
void SetSequenceToken(const Aws::String &value)
PutLogEventsRequest & WithSequenceToken(const char *value)
void SetLogEvents(const Aws::Vector< InputLogEvent > &value)
PutLogEventsRequest & AddLogEvents(InputLogEvent &&value)
void SetEntity(Entity &&value)
const Entity & GetEntity() const
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
PutLogEventsRequest & WithLogGroupName(const char *value)
PutLogEventsRequest & WithLogEvents(const Aws::Vector< InputLogEvent > &value)
void SetLogGroupName(const char *value)
AWS_CLOUDWATCHLOGS_API PutLogEventsRequest()
void SetLogStreamName(const Aws::String &value)
bool SequenceTokenHasBeenSet() const
bool LogGroupNameHasBeenSet() const
bool LogStreamNameHasBeenSet() const
const Aws::String & GetLogGroupName() const
PutLogEventsRequest & WithLogGroupName(Aws::String &&value)
void SetLogStreamName(Aws::String &&value)
void SetLogStreamName(const char *value)
PutLogEventsRequest & WithLogStreamName(Aws::String &&value)
PutLogEventsRequest & WithSequenceToken(const Aws::String &value)
void SetLogEvents(Aws::Vector< InputLogEvent > &&value)
PutLogEventsRequest & WithEntity(const Entity &value)
PutLogEventsRequest & WithLogGroupName(const Aws::String &value)
PutLogEventsRequest & WithSequenceToken(Aws::String &&value)
const Aws::Vector< InputLogEvent > & GetLogEvents() const
void SetSequenceToken(Aws::String &&value)
void SetSequenceToken(const char *value)
PutLogEventsRequest & WithLogEvents(Aws::Vector< InputLogEvent > &&value)
bool EntityHasBeenSet() const
void SetLogGroupName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector