7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace CloudWatchLogs
45 inline void SetLogGroupName(
const char* value) { m_logGroupNameHasBeenSet =
true; m_logGroupName.assign(value); }
55 inline void SetRetentionInDays(
int value) { m_retentionInDaysHasBeenSet =
true; m_retentionInDays = value; }
61 bool m_logGroupNameHasBeenSet =
false;
63 int m_retentionInDays;
64 bool m_retentionInDaysHasBeenSet =
false;
bool RetentionInDaysHasBeenSet() const
const Aws::String & GetLogGroupName() const
int GetRetentionInDays() const
PutRetentionPolicyRequest & WithRetentionInDays(int value)
bool LogGroupNameHasBeenSet() const
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetLogGroupName(Aws::String &&value)
PutRetentionPolicyRequest & WithLogGroupName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_CLOUDWATCHLOGS_API PutRetentionPolicyRequest()
PutRetentionPolicyRequest & WithLogGroupName(Aws::String &&value)
void SetLogGroupName(const char *value)
void SetRetentionInDays(int value)
void SetLogGroupName(const Aws::String &value)
PutRetentionPolicyRequest & WithLogGroupName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String