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