7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/logs/model/DataProtectionStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/logs/model/LogGroupClass.h>
12#include <aws/logs/model/InheritedProperty.h>
25namespace CloudWatchLogs
52 inline void SetLogGroupName(
const char* value) { m_logGroupNameHasBeenSet =
true; m_logGroupName.assign(value); }
65 inline void SetCreationTime(
long long value) { m_creationTimeHasBeenSet =
true; m_creationTime = value; }
73 inline void SetRetentionInDays(
int value) { m_retentionInDaysHasBeenSet =
true; m_retentionInDays = value; }
83 inline void SetMetricFilterCount(
int value) { m_metricFilterCountHasBeenSet =
true; m_metricFilterCount = value; }
105 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
117 inline void SetStoredBytes(
long long value) { m_storedBytesHasBeenSet =
true; m_storedBytes = value; }
130 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
203 inline void SetLogGroupArn(
const char* value) { m_logGroupArnHasBeenSet =
true; m_logGroupArn.assign(value); }
211 bool m_logGroupNameHasBeenSet =
false;
213 long long m_creationTime;
214 bool m_creationTimeHasBeenSet =
false;
216 int m_retentionInDays;
217 bool m_retentionInDaysHasBeenSet =
false;
219 int m_metricFilterCount;
220 bool m_metricFilterCountHasBeenSet =
false;
223 bool m_arnHasBeenSet =
false;
225 long long m_storedBytes;
226 bool m_storedBytesHasBeenSet =
false;
229 bool m_kmsKeyIdHasBeenSet =
false;
232 bool m_dataProtectionStatusHasBeenSet =
false;
235 bool m_inheritedPropertiesHasBeenSet =
false;
238 bool m_logGroupClassHasBeenSet =
false;
241 bool m_logGroupArnHasBeenSet =
false;
LogGroup & WithKmsKeyId(Aws::String &&value)
LogGroup & AddInheritedProperties(InheritedProperty &&value)
bool ArnHasBeenSet() const
void SetDataProtectionStatus(const DataProtectionStatus &value)
LogGroup & AddInheritedProperties(const InheritedProperty &value)
const DataProtectionStatus & GetDataProtectionStatus() const
LogGroup & WithArn(const Aws::String &value)
long long GetCreationTime() const
void SetRetentionInDays(int value)
const Aws::String & GetKmsKeyId() const
const Aws::String & GetArn() const
LogGroup & WithInheritedProperties(Aws::Vector< InheritedProperty > &&value)
LogGroup & WithDataProtectionStatus(DataProtectionStatus &&value)
void SetInheritedProperties(const Aws::Vector< InheritedProperty > &value)
bool DataProtectionStatusHasBeenSet() const
void SetLogGroupArn(const char *value)
void SetMetricFilterCount(int value)
bool LogGroupClassHasBeenSet() const
bool LogGroupArnHasBeenSet() const
const Aws::Vector< InheritedProperty > & GetInheritedProperties() const
void SetArn(const Aws::String &value)
void SetKmsKeyId(const char *value)
LogGroup & WithArn(const char *value)
const Aws::String & GetLogGroupName() const
int GetRetentionInDays() const
LogGroup & WithKmsKeyId(const Aws::String &value)
LogGroup & WithRetentionInDays(int value)
LogGroup & WithLogGroupName(Aws::String &&value)
bool StoredBytesHasBeenSet() const
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
bool KmsKeyIdHasBeenSet() const
void SetLogGroupClass(LogGroupClass &&value)
AWS_CLOUDWATCHLOGS_API LogGroup()
LogGroup & WithLogGroupClass(const LogGroupClass &value)
void SetDataProtectionStatus(DataProtectionStatus &&value)
void SetStoredBytes(long long value)
LogGroup & WithLogGroupName(const char *value)
void SetLogGroupName(const char *value)
void SetKmsKeyId(const Aws::String &value)
LogGroup & WithInheritedProperties(const Aws::Vector< InheritedProperty > &value)
LogGroup & WithLogGroupArn(Aws::String &&value)
bool CreationTimeHasBeenSet() const
LogGroup & WithCreationTime(long long value)
void SetArn(const char *value)
LogGroup & WithLogGroupName(const Aws::String &value)
const LogGroupClass & GetLogGroupClass() const
const Aws::String & GetLogGroupArn() const
void SetLogGroupArn(const Aws::String &value)
LogGroup & WithDataProtectionStatus(const DataProtectionStatus &value)
void SetArn(Aws::String &&value)
void SetKmsKeyId(Aws::String &&value)
void SetLogGroupClass(const LogGroupClass &value)
void SetLogGroupName(Aws::String &&value)
LogGroup & WithMetricFilterCount(int value)
bool InheritedPropertiesHasBeenSet() const
LogGroup & WithArn(Aws::String &&value)
bool RetentionInDaysHasBeenSet() const
LogGroup & WithStoredBytes(long long value)
void SetCreationTime(long long value)
LogGroup & WithKmsKeyId(const char *value)
bool MetricFilterCountHasBeenSet() const
AWS_CLOUDWATCHLOGS_API LogGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLogGroupName(const Aws::String &value)
void SetInheritedProperties(Aws::Vector< InheritedProperty > &&value)
LogGroup & WithLogGroupArn(const Aws::String &value)
AWS_CLOUDWATCHLOGS_API LogGroup(Aws::Utils::Json::JsonView jsonValue)
long long GetStoredBytes() const
LogGroup & WithLogGroupClass(LogGroupClass &&value)
void SetLogGroupArn(Aws::String &&value)
bool LogGroupNameHasBeenSet() const
int GetMetricFilterCount() const
LogGroup & WithLogGroupArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue