7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/model/RetentionAction.h>
19namespace ElasticsearchService {
46 m_retentionInHoursHasBeenSet =
true;
47 m_retentionInHours = value;
62 m_retentionActionHasBeenSet =
true;
63 m_retentionAction = value;
71 int m_retentionInHours{0};
74 bool m_retentionInHoursHasBeenSet =
false;
75 bool m_retentionActionHasBeenSet =
false;
int GetRetentionInHours() const
RetentionOptions & WithRetentionAction(RetentionAction value)
void SetRetentionInHours(int value)
void SetRetentionAction(RetentionAction value)
bool RetentionActionHasBeenSet() const
RetentionOptions & WithRetentionInHours(int value)
bool RetentionInHoursHasBeenSet() const
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICSEARCHSERVICE_API RetentionOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API RetentionOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
RetentionAction GetRetentionAction() const
AWS_ELASTICSEARCHSERVICE_API RetentionOptions()=default
Aws::Utils::Json::JsonValue JsonValue