7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetObjectArn(
const char* value) { m_objectArnHasBeenSet =
true; m_objectArn.assign(value); }
62 inline void SetKey(
Aws::String&& value) { m_keyHasBeenSet =
true; m_key = std::move(value); }
63 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
78 inline void SetETag(
const char* value) { m_eTagHasBeenSet =
true; m_eTag.assign(value); }
92 inline void SetHash(
const char* value) { m_hashHasBeenSet =
true; m_hash.assign(value); }
106 inline void SetVersionId(
const char* value) { m_versionIdHasBeenSet =
true; m_versionId.assign(value); }
114 bool m_objectArnHasBeenSet =
false;
117 bool m_keyHasBeenSet =
false;
120 bool m_eTagHasBeenSet =
false;
123 bool m_hashHasBeenSet =
false;
126 bool m_versionIdHasBeenSet =
false;
S3ObjectDetail & WithKey(const char *value)
const Aws::String & GetHash() const
AWS_GUARDDUTY_API S3ObjectDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVersionId(const Aws::String &value)
void SetETag(const Aws::String &value)
void SetHash(const Aws::String &value)
void SetObjectArn(Aws::String &&value)
void SetObjectArn(const char *value)
void SetKey(const char *value)
void SetHash(Aws::String &&value)
S3ObjectDetail & WithObjectArn(const char *value)
const Aws::String & GetVersionId() const
void SetKey(Aws::String &&value)
void SetETag(const char *value)
bool KeyHasBeenSet() const
void SetETag(Aws::String &&value)
S3ObjectDetail & WithETag(Aws::String &&value)
S3ObjectDetail & WithObjectArn(Aws::String &&value)
S3ObjectDetail & WithHash(const Aws::String &value)
AWS_GUARDDUTY_API S3ObjectDetail(Aws::Utils::Json::JsonView jsonValue)
S3ObjectDetail & WithHash(const char *value)
S3ObjectDetail & WithVersionId(const char *value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
S3ObjectDetail & WithKey(Aws::String &&value)
S3ObjectDetail & WithHash(Aws::String &&value)
void SetObjectArn(const Aws::String &value)
void SetKey(const Aws::String &value)
S3ObjectDetail & WithObjectArn(const Aws::String &value)
S3ObjectDetail & WithVersionId(const Aws::String &value)
bool HashHasBeenSet() const
bool VersionIdHasBeenSet() const
const Aws::String & GetKey() const
S3ObjectDetail & WithVersionId(Aws::String &&value)
S3ObjectDetail & WithETag(const char *value)
void SetHash(const char *value)
S3ObjectDetail & WithKey(const Aws::String &value)
const Aws::String & GetETag() const
void SetVersionId(const char *value)
bool ETagHasBeenSet() const
bool ObjectArnHasBeenSet() const
void SetVersionId(Aws::String &&value)
AWS_GUARDDUTY_API S3ObjectDetail()
S3ObjectDetail & WithETag(const Aws::String &value)
const Aws::String & GetObjectArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue