AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
FileConfiguration.h
1
6#pragma once
7#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppIntegrationsService {
22namespace Model {
23
31 public:
32 AWS_APPINTEGRATIONSSERVICE_API FileConfiguration() = default;
33 AWS_APPINTEGRATIONSSERVICE_API FileConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_APPINTEGRATIONSSERVICE_API FileConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<Aws::String>& GetFolders() const { return m_folders; }
42 inline bool FoldersHasBeenSet() const { return m_foldersHasBeenSet; }
43 template <typename FoldersT = Aws::Vector<Aws::String>>
44 void SetFolders(FoldersT&& value) {
45 m_foldersHasBeenSet = true;
46 m_folders = std::forward<FoldersT>(value);
47 }
48 template <typename FoldersT = Aws::Vector<Aws::String>>
49 FileConfiguration& WithFolders(FoldersT&& value) {
50 SetFolders(std::forward<FoldersT>(value));
51 return *this;
52 }
53 template <typename FoldersT = Aws::String>
54 FileConfiguration& AddFolders(FoldersT&& value) {
55 m_foldersHasBeenSet = true;
56 m_folders.emplace_back(std::forward<FoldersT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetFilters() const { return m_filters; }
66 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
67 template <typename FiltersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
68 void SetFilters(FiltersT&& value) {
69 m_filtersHasBeenSet = true;
70 m_filters = std::forward<FiltersT>(value);
71 }
72 template <typename FiltersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
73 FileConfiguration& WithFilters(FiltersT&& value) {
74 SetFilters(std::forward<FiltersT>(value));
75 return *this;
76 }
77 template <typename FiltersKeyT = Aws::String, typename FiltersValueT = Aws::Vector<Aws::String>>
78 FileConfiguration& AddFilters(FiltersKeyT&& key, FiltersValueT&& value) {
79 m_filtersHasBeenSet = true;
80 m_filters.emplace(std::forward<FiltersKeyT>(key), std::forward<FiltersValueT>(value));
81 return *this;
82 }
84 private:
86
88 bool m_foldersHasBeenSet = false;
89 bool m_filtersHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace AppIntegrationsService
94} // 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