AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
FileConfiguration.h
1
6#pragma once
7#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AppIntegrationsService
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_APPINTEGRATIONSSERVICE_API FileConfiguration() = default;
38 AWS_APPINTEGRATIONSSERVICE_API FileConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPINTEGRATIONSSERVICE_API FileConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<Aws::String>& GetFolders() const { return m_folders; }
48 inline bool FoldersHasBeenSet() const { return m_foldersHasBeenSet; }
49 template<typename FoldersT = Aws::Vector<Aws::String>>
50 void SetFolders(FoldersT&& value) { m_foldersHasBeenSet = true; m_folders = std::forward<FoldersT>(value); }
51 template<typename FoldersT = Aws::Vector<Aws::String>>
52 FileConfiguration& WithFolders(FoldersT&& value) { SetFolders(std::forward<FoldersT>(value)); return *this;}
53 template<typename FoldersT = Aws::String>
54 FileConfiguration& AddFolders(FoldersT&& value) { m_foldersHasBeenSet = true; m_folders.emplace_back(std::forward<FoldersT>(value)); return *this; }
56
58
61 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetFilters() const { return m_filters; }
62 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
63 template<typename FiltersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
64 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
65 template<typename FiltersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
66 FileConfiguration& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
67 template<typename FiltersKeyT = Aws::String, typename FiltersValueT = Aws::Vector<Aws::String>>
68 FileConfiguration& AddFilters(FiltersKeyT&& key, FiltersValueT&& value) {
69 m_filtersHasBeenSet = true; m_filters.emplace(std::forward<FiltersKeyT>(key), std::forward<FiltersValueT>(value)); return *this;
70 }
72 private:
73
75 bool m_foldersHasBeenSet = false;
76
78 bool m_filtersHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace AppIntegrationsService
83} // namespace Aws
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetFilters() const
FileConfiguration & AddFolders(FoldersT &&value)
FileConfiguration & WithFilters(FiltersT &&value)
FileConfiguration & WithFolders(FoldersT &&value)
AWS_APPINTEGRATIONSSERVICE_API FileConfiguration()=default
const Aws::Vector< Aws::String > & GetFolders() const
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
FileConfiguration & AddFilters(FiltersKeyT &&key, FiltersValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue