/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace LexModelsV2 { namespace Model { /** *

The object that contains a path format that will be applied when Amazon Lex * reads the transcript file in the bucket you provide. Specify this object if you * only want Lex to read a subset of files in your Amazon S3 bucket.

See * Also:

AWS * API Reference

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

A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 * bucket. Specify this list if you only want Lex to read the files under this set * of sub-folders.

*/ inline const Aws::Vector& GetObjectPrefixes() const{ return m_objectPrefixes; } /** *

A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 * bucket. Specify this list if you only want Lex to read the files under this set * of sub-folders.

*/ inline bool ObjectPrefixesHasBeenSet() const { return m_objectPrefixesHasBeenSet; } /** *

A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 * bucket. Specify this list if you only want Lex to read the files under this set * of sub-folders.

*/ inline void SetObjectPrefixes(const Aws::Vector& value) { m_objectPrefixesHasBeenSet = true; m_objectPrefixes = value; } /** *

A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 * bucket. Specify this list if you only want Lex to read the files under this set * of sub-folders.

*/ inline void SetObjectPrefixes(Aws::Vector&& value) { m_objectPrefixesHasBeenSet = true; m_objectPrefixes = std::move(value); } /** *

A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 * bucket. Specify this list if you only want Lex to read the files under this set * of sub-folders.

*/ inline PathFormat& WithObjectPrefixes(const Aws::Vector& value) { SetObjectPrefixes(value); return *this;} /** *

A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 * bucket. Specify this list if you only want Lex to read the files under this set * of sub-folders.

*/ inline PathFormat& WithObjectPrefixes(Aws::Vector&& value) { SetObjectPrefixes(std::move(value)); return *this;} /** *

A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 * bucket. Specify this list if you only want Lex to read the files under this set * of sub-folders.

*/ inline PathFormat& AddObjectPrefixes(const Aws::String& value) { m_objectPrefixesHasBeenSet = true; m_objectPrefixes.push_back(value); return *this; } /** *

A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 * bucket. Specify this list if you only want Lex to read the files under this set * of sub-folders.

*/ inline PathFormat& AddObjectPrefixes(Aws::String&& value) { m_objectPrefixesHasBeenSet = true; m_objectPrefixes.push_back(std::move(value)); return *this; } /** *

A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 * bucket. Specify this list if you only want Lex to read the files under this set * of sub-folders.

*/ inline PathFormat& AddObjectPrefixes(const char* value) { m_objectPrefixesHasBeenSet = true; m_objectPrefixes.push_back(value); return *this; } private: Aws::Vector m_objectPrefixes; bool m_objectPrefixesHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws