AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PrefixConfig.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/PrefixType.h>
9#include <aws/appflow/model/PrefixFormat.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/appflow/model/PathPrefix.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Appflow
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_APPFLOW_API PrefixConfig() = default;
39 AWS_APPFLOW_API PrefixConfig(Aws::Utils::Json::JsonView jsonValue);
41 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline PrefixType GetPrefixType() const { return m_prefixType; }
50 inline bool PrefixTypeHasBeenSet() const { return m_prefixTypeHasBeenSet; }
51 inline void SetPrefixType(PrefixType value) { m_prefixTypeHasBeenSet = true; m_prefixType = value; }
52 inline PrefixConfig& WithPrefixType(PrefixType value) { SetPrefixType(value); return *this;}
54
56
60 inline PrefixFormat GetPrefixFormat() const { return m_prefixFormat; }
61 inline bool PrefixFormatHasBeenSet() const { return m_prefixFormatHasBeenSet; }
62 inline void SetPrefixFormat(PrefixFormat value) { m_prefixFormatHasBeenSet = true; m_prefixFormat = value; }
63 inline PrefixConfig& WithPrefixFormat(PrefixFormat value) { SetPrefixFormat(value); return *this;}
65
67
77 inline const Aws::Vector<PathPrefix>& GetPathPrefixHierarchy() const { return m_pathPrefixHierarchy; }
78 inline bool PathPrefixHierarchyHasBeenSet() const { return m_pathPrefixHierarchyHasBeenSet; }
79 template<typename PathPrefixHierarchyT = Aws::Vector<PathPrefix>>
80 void SetPathPrefixHierarchy(PathPrefixHierarchyT&& value) { m_pathPrefixHierarchyHasBeenSet = true; m_pathPrefixHierarchy = std::forward<PathPrefixHierarchyT>(value); }
81 template<typename PathPrefixHierarchyT = Aws::Vector<PathPrefix>>
82 PrefixConfig& WithPathPrefixHierarchy(PathPrefixHierarchyT&& value) { SetPathPrefixHierarchy(std::forward<PathPrefixHierarchyT>(value)); return *this;}
83 inline PrefixConfig& AddPathPrefixHierarchy(PathPrefix value) { m_pathPrefixHierarchyHasBeenSet = true; m_pathPrefixHierarchy.push_back(value); return *this; }
85 private:
86
87 PrefixType m_prefixType{PrefixType::NOT_SET};
88 bool m_prefixTypeHasBeenSet = false;
89
90 PrefixFormat m_prefixFormat{PrefixFormat::NOT_SET};
91 bool m_prefixFormatHasBeenSet = false;
92
93 Aws::Vector<PathPrefix> m_pathPrefixHierarchy;
94 bool m_pathPrefixHierarchyHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Appflow
99} // namespace Aws
void SetPrefixType(PrefixType value)
PrefixConfig & WithPrefixType(PrefixType value)
PrefixConfig & AddPathPrefixHierarchy(PathPrefix value)
PrefixConfig & WithPathPrefixHierarchy(PathPrefixHierarchyT &&value)
AWS_APPFLOW_API PrefixConfig(Aws::Utils::Json::JsonView jsonValue)
PrefixConfig & WithPrefixFormat(PrefixFormat value)
void SetPathPrefixHierarchy(PathPrefixHierarchyT &&value)
AWS_APPFLOW_API PrefixConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
PrefixFormat GetPrefixFormat() const
void SetPrefixFormat(PrefixFormat value)
const Aws::Vector< PathPrefix > & GetPathPrefixHierarchy() const
AWS_APPFLOW_API PrefixConfig()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue