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

The S3 bucket and folder location where training output is * placed.

See Also:

AWS * API Reference

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

The S3 bucket where training output is placed.

*/ inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; } /** *

The S3 bucket where training output is placed.

*/ inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; } /** *

The S3 bucket where training output is placed.

*/ inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; } /** *

The S3 bucket where training output is placed.

*/ inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); } /** *

The S3 bucket where training output is placed.

*/ inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); } /** *

The S3 bucket where training output is placed.

*/ inline OutputConfig& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;} /** *

The S3 bucket where training output is placed.

*/ inline OutputConfig& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;} /** *

The S3 bucket where training output is placed.

*/ inline OutputConfig& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;} /** *

The prefix applied to the training output files.

*/ inline const Aws::String& GetS3KeyPrefix() const{ return m_s3KeyPrefix; } /** *

The prefix applied to the training output files.

*/ inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; } /** *

The prefix applied to the training output files.

*/ inline void SetS3KeyPrefix(const Aws::String& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = value; } /** *

The prefix applied to the training output files.

*/ inline void SetS3KeyPrefix(Aws::String&& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = std::move(value); } /** *

The prefix applied to the training output files.

*/ inline void SetS3KeyPrefix(const char* value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix.assign(value); } /** *

The prefix applied to the training output files.

*/ inline OutputConfig& WithS3KeyPrefix(const Aws::String& value) { SetS3KeyPrefix(value); return *this;} /** *

The prefix applied to the training output files.

*/ inline OutputConfig& WithS3KeyPrefix(Aws::String&& value) { SetS3KeyPrefix(std::move(value)); return *this;} /** *

The prefix applied to the training output files.

*/ inline OutputConfig& WithS3KeyPrefix(const char* value) { SetS3KeyPrefix(value); return *this;} private: Aws::String m_s3Bucket; bool m_s3BucketHasBeenSet = false; Aws::String m_s3KeyPrefix; bool m_s3KeyPrefixHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws