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

The configuration for what files should be pulled from the * source.

See Also:

AWS * API Reference

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

Identifiers for the source folders to pull all files from recursively.

*/ inline const Aws::Vector& GetFolders() const{ return m_folders; } /** *

Identifiers for the source folders to pull all files from recursively.

*/ inline bool FoldersHasBeenSet() const { return m_foldersHasBeenSet; } /** *

Identifiers for the source folders to pull all files from recursively.

*/ inline void SetFolders(const Aws::Vector& value) { m_foldersHasBeenSet = true; m_folders = value; } /** *

Identifiers for the source folders to pull all files from recursively.

*/ inline void SetFolders(Aws::Vector&& value) { m_foldersHasBeenSet = true; m_folders = std::move(value); } /** *

Identifiers for the source folders to pull all files from recursively.

*/ inline FileConfiguration& WithFolders(const Aws::Vector& value) { SetFolders(value); return *this;} /** *

Identifiers for the source folders to pull all files from recursively.

*/ inline FileConfiguration& WithFolders(Aws::Vector&& value) { SetFolders(std::move(value)); return *this;} /** *

Identifiers for the source folders to pull all files from recursively.

*/ inline FileConfiguration& AddFolders(const Aws::String& value) { m_foldersHasBeenSet = true; m_folders.push_back(value); return *this; } /** *

Identifiers for the source folders to pull all files from recursively.

*/ inline FileConfiguration& AddFolders(Aws::String&& value) { m_foldersHasBeenSet = true; m_folders.push_back(std::move(value)); return *this; } /** *

Identifiers for the source folders to pull all files from recursively.

*/ inline FileConfiguration& AddFolders(const char* value) { m_foldersHasBeenSet = true; m_folders.push_back(value); return *this; } /** *

Restrictions for what files should be pulled from the source.

*/ inline const Aws::Map>& GetFilters() const{ return m_filters; } /** *

Restrictions for what files should be pulled from the source.

*/ inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } /** *

Restrictions for what files should be pulled from the source.

*/ inline void SetFilters(const Aws::Map>& value) { m_filtersHasBeenSet = true; m_filters = value; } /** *

Restrictions for what files should be pulled from the source.

*/ inline void SetFilters(Aws::Map>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); } /** *

Restrictions for what files should be pulled from the source.

*/ inline FileConfiguration& WithFilters(const Aws::Map>& value) { SetFilters(value); return *this;} /** *

Restrictions for what files should be pulled from the source.

*/ inline FileConfiguration& WithFilters(Aws::Map>&& value) { SetFilters(std::move(value)); return *this;} /** *

Restrictions for what files should be pulled from the source.

*/ inline FileConfiguration& AddFilters(const Aws::String& key, const Aws::Vector& value) { m_filtersHasBeenSet = true; m_filters.emplace(key, value); return *this; } /** *

Restrictions for what files should be pulled from the source.

*/ inline FileConfiguration& AddFilters(Aws::String&& key, const Aws::Vector& value) { m_filtersHasBeenSet = true; m_filters.emplace(std::move(key), value); return *this; } /** *

Restrictions for what files should be pulled from the source.

*/ inline FileConfiguration& AddFilters(const Aws::String& key, Aws::Vector&& value) { m_filtersHasBeenSet = true; m_filters.emplace(key, std::move(value)); return *this; } /** *

Restrictions for what files should be pulled from the source.

*/ inline FileConfiguration& AddFilters(Aws::String&& key, Aws::Vector&& value) { m_filtersHasBeenSet = true; m_filters.emplace(std::move(key), std::move(value)); return *this; } /** *

Restrictions for what files should be pulled from the source.

*/ inline FileConfiguration& AddFilters(const char* key, Aws::Vector&& value) { m_filtersHasBeenSet = true; m_filters.emplace(key, std::move(value)); return *this; } /** *

Restrictions for what files should be pulled from the source.

*/ inline FileConfiguration& AddFilters(const char* key, const Aws::Vector& value) { m_filtersHasBeenSet = true; m_filters.emplace(key, value); return *this; } private: Aws::Vector m_folders; bool m_foldersHasBeenSet = false; Aws::Map> m_filters; bool m_filtersHasBeenSet = false; }; } // namespace Model } // namespace AppIntegrationsService } // namespace Aws