7#include <aws/emr-containers/EMRContainers_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace EMRContainers
48 inline void SetRotationSize(
const char* value) { m_rotationSizeHasBeenSet =
true; m_rotationSize.assign(value); }
60 inline void SetMaxFilesToKeep(
int value) { m_maxFilesToKeepHasBeenSet =
true; m_maxFilesToKeep = value; }
66 bool m_rotationSizeHasBeenSet =
false;
69 bool m_maxFilesToKeepHasBeenSet =
false;
AWS_EMRCONTAINERS_API ContainerLogRotationConfiguration(Aws::Utils::Json::JsonView jsonValue)
ContainerLogRotationConfiguration & WithRotationSize(const char *value)
AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const
ContainerLogRotationConfiguration & WithMaxFilesToKeep(int value)
void SetRotationSize(const Aws::String &value)
int GetMaxFilesToKeep() const
void SetRotationSize(const char *value)
bool MaxFilesToKeepHasBeenSet() const
void SetRotationSize(Aws::String &&value)
AWS_EMRCONTAINERS_API ContainerLogRotationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ContainerLogRotationConfiguration & WithRotationSize(const Aws::String &value)
const Aws::String & GetRotationSize() const
bool RotationSizeHasBeenSet() const
ContainerLogRotationConfiguration & WithRotationSize(Aws::String &&value)
AWS_EMRCONTAINERS_API ContainerLogRotationConfiguration()
void SetMaxFilesToKeep(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue