7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsS3BucketObjectLockConfigurationRuleDetails.h>
51 inline void SetObjectLockEnabled(
const char* value) { m_objectLockEnabledHasBeenSet =
true; m_objectLockEnabled.assign(value); }
71 bool m_objectLockEnabledHasBeenSet =
false;
74 bool m_ruleHasBeenSet =
false;
AwsS3BucketObjectLockConfiguration & WithObjectLockEnabled(Aws::String &&value)
AwsS3BucketObjectLockConfiguration & WithObjectLockEnabled(const char *value)
AWS_SECURITYHUB_API AwsS3BucketObjectLockConfiguration(Aws::Utils::Json::JsonView jsonValue)
AwsS3BucketObjectLockConfiguration & WithRule(const AwsS3BucketObjectLockConfigurationRuleDetails &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool RuleHasBeenSet() const
AWS_SECURITYHUB_API AwsS3BucketObjectLockConfiguration()
AWS_SECURITYHUB_API AwsS3BucketObjectLockConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsS3BucketObjectLockConfiguration & WithRule(AwsS3BucketObjectLockConfigurationRuleDetails &&value)
const AwsS3BucketObjectLockConfigurationRuleDetails & GetRule() const
void SetObjectLockEnabled(Aws::String &&value)
void SetObjectLockEnabled(const char *value)
AwsS3BucketObjectLockConfiguration & WithObjectLockEnabled(const Aws::String &value)
const Aws::String & GetObjectLockEnabled() const
void SetRule(const AwsS3BucketObjectLockConfigurationRuleDetails &value)
bool ObjectLockEnabledHasBeenSet() const
void SetRule(AwsS3BucketObjectLockConfigurationRuleDetails &&value)
void SetObjectLockEnabled(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue