/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the data store that you manage, which stores data
* used by IoT SiteWise. See Also:
AWS
* API Reference
The name of the Amazon S3 bucket where your data is stored.
*/ inline const Aws::String& GetBucket() const{ return m_bucket; } /** *The name of the Amazon S3 bucket where your data is stored.
*/ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** *The name of the Amazon S3 bucket where your data is stored.
*/ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** *The name of the Amazon S3 bucket where your data is stored.
*/ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } /** *The name of the Amazon S3 bucket where your data is stored.
*/ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } /** *The name of the Amazon S3 bucket where your data is stored.
*/ inline IotSiteWiseCustomerManagedDatastoreS3StorageSummary& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** *The name of the Amazon S3 bucket where your data is stored.
*/ inline IotSiteWiseCustomerManagedDatastoreS3StorageSummary& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** *The name of the Amazon S3 bucket where your data is stored.
*/ inline IotSiteWiseCustomerManagedDatastoreS3StorageSummary& WithBucket(const char* value) { SetBucket(value); return *this;} /** *(Optional) The prefix used to create the keys of the data store data * objects. Each object in an Amazon S3 bucket has a key that is its unique * identifier in the bucket. Each object in a bucket has exactly one key. The * prefix must end with a forward slash (/).
*/ inline const Aws::String& GetKeyPrefix() const{ return m_keyPrefix; } /** *(Optional) The prefix used to create the keys of the data store data * objects. Each object in an Amazon S3 bucket has a key that is its unique * identifier in the bucket. Each object in a bucket has exactly one key. The * prefix must end with a forward slash (/).
*/ inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; } /** *(Optional) The prefix used to create the keys of the data store data * objects. Each object in an Amazon S3 bucket has a key that is its unique * identifier in the bucket. Each object in a bucket has exactly one key. The * prefix must end with a forward slash (/).
*/ inline void SetKeyPrefix(const Aws::String& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = value; } /** *(Optional) The prefix used to create the keys of the data store data * objects. Each object in an Amazon S3 bucket has a key that is its unique * identifier in the bucket. Each object in a bucket has exactly one key. The * prefix must end with a forward slash (/).
*/ inline void SetKeyPrefix(Aws::String&& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = std::move(value); } /** *(Optional) The prefix used to create the keys of the data store data * objects. Each object in an Amazon S3 bucket has a key that is its unique * identifier in the bucket. Each object in a bucket has exactly one key. The * prefix must end with a forward slash (/).
*/ inline void SetKeyPrefix(const char* value) { m_keyPrefixHasBeenSet = true; m_keyPrefix.assign(value); } /** *(Optional) The prefix used to create the keys of the data store data * objects. Each object in an Amazon S3 bucket has a key that is its unique * identifier in the bucket. Each object in a bucket has exactly one key. The * prefix must end with a forward slash (/).
*/ inline IotSiteWiseCustomerManagedDatastoreS3StorageSummary& WithKeyPrefix(const Aws::String& value) { SetKeyPrefix(value); return *this;} /** *(Optional) The prefix used to create the keys of the data store data * objects. Each object in an Amazon S3 bucket has a key that is its unique * identifier in the bucket. Each object in a bucket has exactly one key. The * prefix must end with a forward slash (/).
*/ inline IotSiteWiseCustomerManagedDatastoreS3StorageSummary& WithKeyPrefix(Aws::String&& value) { SetKeyPrefix(std::move(value)); return *this;} /** *(Optional) The prefix used to create the keys of the data store data * objects. Each object in an Amazon S3 bucket has a key that is its unique * identifier in the bucket. Each object in a bucket has exactly one key. The * prefix must end with a forward slash (/).
*/ inline IotSiteWiseCustomerManagedDatastoreS3StorageSummary& 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 IoTAnalytics } // namespace Aws