This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files

134 lines
3.9 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/rekognition/Rekognition_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Rekognition
{
namespace Model
{
/**
* <p>The S3 bucket and folder location where training output is
* placed.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/rekognition-2016-06-27/OutputConfig">AWS
* API Reference</a></p>
*/
class AWS_REKOGNITION_API OutputConfig
{
public:
OutputConfig();
OutputConfig(Aws::Utils::Json::JsonView jsonValue);
OutputConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The S3 bucket where training output is placed.</p>
*/
inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
/**
* <p>The S3 bucket where training output is placed.</p>
*/
inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
/**
* <p>The S3 bucket where training output is placed.</p>
*/
inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
/**
* <p>The S3 bucket where training output is placed.</p>
*/
inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
/**
* <p>The S3 bucket where training output is placed.</p>
*/
inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
/**
* <p>The S3 bucket where training output is placed.</p>
*/
inline OutputConfig& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
/**
* <p>The S3 bucket where training output is placed.</p>
*/
inline OutputConfig& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
/**
* <p>The S3 bucket where training output is placed.</p>
*/
inline OutputConfig& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
/**
* <p>The prefix applied to the training output files. </p>
*/
inline const Aws::String& GetS3KeyPrefix() const{ return m_s3KeyPrefix; }
/**
* <p>The prefix applied to the training output files. </p>
*/
inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
/**
* <p>The prefix applied to the training output files. </p>
*/
inline void SetS3KeyPrefix(const Aws::String& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = value; }
/**
* <p>The prefix applied to the training output files. </p>
*/
inline void SetS3KeyPrefix(Aws::String&& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = std::move(value); }
/**
* <p>The prefix applied to the training output files. </p>
*/
inline void SetS3KeyPrefix(const char* value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix.assign(value); }
/**
* <p>The prefix applied to the training output files. </p>
*/
inline OutputConfig& WithS3KeyPrefix(const Aws::String& value) { SetS3KeyPrefix(value); return *this;}
/**
* <p>The prefix applied to the training output files. </p>
*/
inline OutputConfig& WithS3KeyPrefix(Aws::String&& value) { SetS3KeyPrefix(std::move(value)); return *this;}
/**
* <p>The prefix applied to the training output files. </p>
*/
inline OutputConfig& WithS3KeyPrefix(const char* value) { SetS3KeyPrefix(value); return *this;}
private:
Aws::String m_s3Bucket;
bool m_s3BucketHasBeenSet;
Aws::String m_s3KeyPrefix;
bool m_s3KeyPrefixHasBeenSet;
};
} // namespace Model
} // namespace Rekognition
} // namespace Aws