AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFolders(const Aws::Vector<Aws::String>& value) { m_foldersHasBeenSet = true; m_folders = value; }
50 inline void SetFolders(Aws::Vector<Aws::String>&& value) { m_foldersHasBeenSet = true; m_folders = std::move(value); }
51 inline FileConfiguration& WithFolders(const Aws::Vector<Aws::String>& value) { SetFolders(value); return *this;}
52 inline FileConfiguration& WithFolders(Aws::Vector<Aws::String>&& value) { SetFolders(std::move(value)); return *this;}
53 inline FileConfiguration& AddFolders(const Aws::String& value) { m_foldersHasBeenSet = true; m_folders.push_back(value); return *this; }
54 inline FileConfiguration& AddFolders(Aws::String&& value) { m_foldersHasBeenSet = true; m_folders.push_back(std::move(value)); return *this; }
55 inline FileConfiguration& AddFolders(const char* value) { m_foldersHasBeenSet = true; m_folders.push_back(value); return *this; }
57
59
62 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetFilters() const{ return m_filters; }
63 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
64 inline void SetFilters(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_filtersHasBeenSet = true; m_filters = value; }
65 inline void SetFilters(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
67 inline FileConfiguration& WithFilters(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { SetFilters(std::move(value)); return *this;}
68 inline FileConfiguration& AddFilters(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_filtersHasBeenSet = true; m_filters.emplace(key, value); return *this; }
69 inline FileConfiguration& AddFilters(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_filtersHasBeenSet = true; m_filters.emplace(std::move(key), value); return *this; }
70 inline FileConfiguration& AddFilters(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_filtersHasBeenSet = true; m_filters.emplace(key, std::move(value)); return *this; }
71 inline FileConfiguration& AddFilters(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_filtersHasBeenSet = true; m_filters.emplace(std::move(key), std::move(value)); return *this; }
72 inline FileConfiguration& AddFilters(const char* key, Aws::Vector<Aws::String>&& value) { m_filtersHasBeenSet = true; m_filters.emplace(key, std::move(value)); return *this; }
73 inline FileConfiguration& AddFilters(const char* key, const Aws::Vector<Aws::String>& value) { m_filtersHasBeenSet = true; m_filters.emplace(key, value); return *this; }
75 private:
76
78 bool m_foldersHasBeenSet = false;
79
81 bool m_filtersHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace AppIntegrationsService
86} // namespace Aws
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetFilters() const
FileConfiguration & AddFilters(const char *key, Aws::Vector< Aws::String > &&value)
FileConfiguration & AddFilters(const Aws::String &key, Aws::Vector< Aws::String > &&value)
FileConfiguration & WithFilters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
FileConfiguration & WithFilters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetFolders(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetFolders() const
FileConfiguration & AddFolders(const Aws::String &value)
FileConfiguration & AddFilters(const Aws::String &key, const Aws::Vector< Aws::String > &value)
AWS_APPINTEGRATIONSSERVICE_API FileConfiguration()
FileConfiguration & AddFilters(Aws::String &&key, Aws::Vector< Aws::String > &&value)
FileConfiguration & AddFilters(Aws::String &&key, const Aws::Vector< Aws::String > &value)
void SetFilters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
AWS_APPINTEGRATIONSSERVICE_API FileConfiguration(Aws::Utils::Json::JsonView jsonValue)
FileConfiguration & AddFilters(const char *key, const Aws::Vector< Aws::String > &value)
void SetFolders(const Aws::Vector< Aws::String > &value)
FileConfiguration & AddFolders(Aws::String &&value)
AWS_APPINTEGRATIONSSERVICE_API FileConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
FileConfiguration & WithFolders(Aws::Vector< Aws::String > &&value)
FileConfiguration & AddFolders(const char *value)
FileConfiguration & WithFolders(const Aws::Vector< Aws::String > &value)
AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFilters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue