/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the location of training output or the output of a model
* packaging job.See Also:
AWS
* API Reference
The S3 bucket that contains the training or model packaging job output. If * you are training a model, the bucket must in your AWS account. If you use an S3 * bucket for a model packaging job, the S3 bucket must be in the same AWS Region * and AWS account in which you use AWS IoT Greengrass.
*/ inline const Aws::String& GetBucket() const{ return m_bucket; } /** *The S3 bucket that contains the training or model packaging job output. If * you are training a model, the bucket must in your AWS account. If you use an S3 * bucket for a model packaging job, the S3 bucket must be in the same AWS Region * and AWS account in which you use AWS IoT Greengrass.
*/ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** *The S3 bucket that contains the training or model packaging job output. If * you are training a model, the bucket must in your AWS account. If you use an S3 * bucket for a model packaging job, the S3 bucket must be in the same AWS Region * and AWS account in which you use AWS IoT Greengrass.
*/ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** *The S3 bucket that contains the training or model packaging job output. If * you are training a model, the bucket must in your AWS account. If you use an S3 * bucket for a model packaging job, the S3 bucket must be in the same AWS Region * and AWS account in which you use AWS IoT Greengrass.
*/ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } /** *The S3 bucket that contains the training or model packaging job output. If * you are training a model, the bucket must in your AWS account. If you use an S3 * bucket for a model packaging job, the S3 bucket must be in the same AWS Region * and AWS account in which you use AWS IoT Greengrass.
*/ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } /** *The S3 bucket that contains the training or model packaging job output. If * you are training a model, the bucket must in your AWS account. If you use an S3 * bucket for a model packaging job, the S3 bucket must be in the same AWS Region * and AWS account in which you use AWS IoT Greengrass.
*/ inline S3Location& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** *The S3 bucket that contains the training or model packaging job output. If * you are training a model, the bucket must in your AWS account. If you use an S3 * bucket for a model packaging job, the S3 bucket must be in the same AWS Region * and AWS account in which you use AWS IoT Greengrass.
*/ inline S3Location& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** *The S3 bucket that contains the training or model packaging job output. If * you are training a model, the bucket must in your AWS account. If you use an S3 * bucket for a model packaging job, the S3 bucket must be in the same AWS Region * and AWS account in which you use AWS IoT Greengrass.
*/ inline S3Location& WithBucket(const char* value) { SetBucket(value); return *this;} /** *The path of the folder, within the S3 bucket, that contains the output.
*/ inline const Aws::String& GetPrefix() const{ return m_prefix; } /** *The path of the folder, within the S3 bucket, that contains the output.
*/ inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } /** *The path of the folder, within the S3 bucket, that contains the output.
*/ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** *The path of the folder, within the S3 bucket, that contains the output.
*/ inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } /** *The path of the folder, within the S3 bucket, that contains the output.
*/ inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } /** *The path of the folder, within the S3 bucket, that contains the output.
*/ inline S3Location& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} /** *The path of the folder, within the S3 bucket, that contains the output.
*/ inline S3Location& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} /** *The path of the folder, within the S3 bucket, that contains the output.
*/ inline S3Location& 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 LookoutforVision } // namespace Aws