/** * 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 LicenseManager { namespace Model { /** *

Details of the S3 bucket that report generator reports are published * to.

See Also:

AWS * API Reference

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

Name of the S3 bucket reports are published to.

*/ inline const Aws::String& GetBucket() const{ return m_bucket; } /** *

Name of the S3 bucket reports are published to.

*/ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** *

Name of the S3 bucket reports are published to.

*/ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** *

Name of the S3 bucket reports are published to.

*/ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } /** *

Name of the S3 bucket reports are published to.

*/ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } /** *

Name of the S3 bucket reports are published to.

*/ inline S3Location& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** *

Name of the S3 bucket reports are published to.

*/ inline S3Location& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** *

Name of the S3 bucket reports are published to.

*/ inline S3Location& WithBucket(const char* value) { SetBucket(value); return *this;} /** *

Prefix of the S3 bucket reports are published to.

*/ inline const Aws::String& GetKeyPrefix() const{ return m_keyPrefix; } /** *

Prefix of the S3 bucket reports are published to.

*/ inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; } /** *

Prefix of the S3 bucket reports are published to.

*/ inline void SetKeyPrefix(const Aws::String& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = value; } /** *

Prefix of the S3 bucket reports are published to.

*/ inline void SetKeyPrefix(Aws::String&& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = std::move(value); } /** *

Prefix of the S3 bucket reports are published to.

*/ inline void SetKeyPrefix(const char* value) { m_keyPrefixHasBeenSet = true; m_keyPrefix.assign(value); } /** *

Prefix of the S3 bucket reports are published to.

*/ inline S3Location& WithKeyPrefix(const Aws::String& value) { SetKeyPrefix(value); return *this;} /** *

Prefix of the S3 bucket reports are published to.

*/ inline S3Location& WithKeyPrefix(Aws::String&& value) { SetKeyPrefix(std::move(value)); return *this;} /** *

Prefix of the S3 bucket reports are published to.

*/ inline S3Location& WithKeyPrefix(const char* value) { SetKeyPrefix(value); return *this;} private: Aws::String m_bucket; bool m_bucketHasBeenSet = false; Aws::String m_keyPrefix; bool m_keyPrefixHasBeenSet = false; }; } // namespace Model } // namespace LicenseManager } // namespace Aws