/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The Amazon S3 destination where errors associated with the job creation
* request are saved.See Also:
AWS
* API Reference
The name of the Amazon S3 bucket to which errors associated with the bulk * import job are sent.
*/ inline const Aws::String& GetBucket() const{ return m_bucket; } /** *The name of the Amazon S3 bucket to which errors associated with the bulk * import job are sent.
*/ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** *The name of the Amazon S3 bucket to which errors associated with the bulk * import job are sent.
*/ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** *The name of the Amazon S3 bucket to which errors associated with the bulk * import job are sent.
*/ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } /** *The name of the Amazon S3 bucket to which errors associated with the bulk * import job are sent.
*/ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } /** *The name of the Amazon S3 bucket to which errors associated with the bulk * import job are sent.
*/ inline ErrorReportLocation& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** *The name of the Amazon S3 bucket to which errors associated with the bulk * import job are sent.
*/ inline ErrorReportLocation& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** *The name of the Amazon S3 bucket to which errors associated with the bulk * import job are sent.
*/ inline ErrorReportLocation& WithBucket(const char* value) { SetBucket(value); return *this;} /** *Amazon S3 uses the prefix as a folder name to organize data in the bucket. * Each Amazon S3 object 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 (/). For more information, see Organizing * objects using prefixes in the Amazon Simple Storage Service User * Guide.
*/ inline const Aws::String& GetPrefix() const{ return m_prefix; } /** *Amazon S3 uses the prefix as a folder name to organize data in the bucket. * Each Amazon S3 object 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 (/). For more information, see Organizing * objects using prefixes in the Amazon Simple Storage Service User * Guide.
*/ inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } /** *Amazon S3 uses the prefix as a folder name to organize data in the bucket. * Each Amazon S3 object 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 (/). For more information, see Organizing * objects using prefixes in the Amazon Simple Storage Service User * Guide.
*/ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** *Amazon S3 uses the prefix as a folder name to organize data in the bucket. * Each Amazon S3 object 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 (/). For more information, see Organizing * objects using prefixes in the Amazon Simple Storage Service User * Guide.
*/ inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } /** *Amazon S3 uses the prefix as a folder name to organize data in the bucket. * Each Amazon S3 object 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 (/). For more information, see Organizing * objects using prefixes in the Amazon Simple Storage Service User * Guide.
*/ inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } /** *Amazon S3 uses the prefix as a folder name to organize data in the bucket. * Each Amazon S3 object 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 (/). For more information, see Organizing * objects using prefixes in the Amazon Simple Storage Service User * Guide.
*/ inline ErrorReportLocation& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} /** *Amazon S3 uses the prefix as a folder name to organize data in the bucket. * Each Amazon S3 object 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 (/). For more information, see Organizing * objects using prefixes in the Amazon Simple Storage Service User * Guide.
*/ inline ErrorReportLocation& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} /** *Amazon S3 uses the prefix as a folder name to organize data in the bucket. * Each Amazon S3 object 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 (/). For more information, see Organizing * objects using prefixes in the Amazon Simple Storage Service User * Guide.
*/ inline ErrorReportLocation& WithPrefix(const char* value) { SetPrefix(value); return *this;} private: Aws::String m_bucket; bool m_bucketHasBeenSet = false; Aws::String m_prefix; bool m_prefixHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws