/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Macie2 { namespace Model { /** *

Provides information about an S3 object that lists specific text to * ignore.

See Also:

AWS * API Reference

*/ class S3WordsList { public: AWS_MACIE2_API S3WordsList(); AWS_MACIE2_API S3WordsList(Aws::Utils::Json::JsonView jsonValue); AWS_MACIE2_API S3WordsList& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The full name of the S3 bucket that contains the object.

*/ inline const Aws::String& GetBucketName() const{ return m_bucketName; } /** *

The full name of the S3 bucket that contains the object.

*/ inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; } /** *

The full name of the S3 bucket that contains the object.

*/ inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; } /** *

The full name of the S3 bucket that contains the object.

*/ inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); } /** *

The full name of the S3 bucket that contains the object.

*/ inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); } /** *

The full name of the S3 bucket that contains the object.

*/ inline S3WordsList& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;} /** *

The full name of the S3 bucket that contains the object.

*/ inline S3WordsList& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;} /** *

The full name of the S3 bucket that contains the object.

*/ inline S3WordsList& WithBucketName(const char* value) { SetBucketName(value); return *this;} /** *

The full name (key) of the object.

*/ inline const Aws::String& GetObjectKey() const{ return m_objectKey; } /** *

The full name (key) of the object.

*/ inline bool ObjectKeyHasBeenSet() const { return m_objectKeyHasBeenSet; } /** *

The full name (key) of the object.

*/ inline void SetObjectKey(const Aws::String& value) { m_objectKeyHasBeenSet = true; m_objectKey = value; } /** *

The full name (key) of the object.

*/ inline void SetObjectKey(Aws::String&& value) { m_objectKeyHasBeenSet = true; m_objectKey = std::move(value); } /** *

The full name (key) of the object.

*/ inline void SetObjectKey(const char* value) { m_objectKeyHasBeenSet = true; m_objectKey.assign(value); } /** *

The full name (key) of the object.

*/ inline S3WordsList& WithObjectKey(const Aws::String& value) { SetObjectKey(value); return *this;} /** *

The full name (key) of the object.

*/ inline S3WordsList& WithObjectKey(Aws::String&& value) { SetObjectKey(std::move(value)); return *this;} /** *

The full name (key) of the object.

*/ inline S3WordsList& WithObjectKey(const char* value) { SetObjectKey(value); return *this;} private: Aws::String m_bucketName; bool m_bucketNameHasBeenSet = false; Aws::String m_objectKey; bool m_objectKeyHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws