AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
PrefixConfig.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/PathPrefix.h>
9#include <aws/appflow/model/PrefixFormat.h>
10#include <aws/appflow/model/PrefixType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Appflow {
23namespace Model {
24
32 public:
33 AWS_APPFLOW_API PrefixConfig() = default;
34 AWS_APPFLOW_API PrefixConfig(Aws::Utils::Json::JsonView jsonValue);
36 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline PrefixType GetPrefixType() const { return m_prefixType; }
44 inline bool PrefixTypeHasBeenSet() const { return m_prefixTypeHasBeenSet; }
45 inline void SetPrefixType(PrefixType value) {
46 m_prefixTypeHasBeenSet = true;
47 m_prefixType = value;
48 }
50 SetPrefixType(value);
51 return *this;
52 }
54
56
60 inline PrefixFormat GetPrefixFormat() const { return m_prefixFormat; }
61 inline bool PrefixFormatHasBeenSet() const { return m_prefixFormatHasBeenSet; }
62 inline void SetPrefixFormat(PrefixFormat value) {
63 m_prefixFormatHasBeenSet = true;
64 m_prefixFormat = value;
65 }
67 SetPrefixFormat(value);
68 return *this;
69 }
71
73
83 inline const Aws::Vector<PathPrefix>& GetPathPrefixHierarchy() const { return m_pathPrefixHierarchy; }
84 inline bool PathPrefixHierarchyHasBeenSet() const { return m_pathPrefixHierarchyHasBeenSet; }
85 template <typename PathPrefixHierarchyT = Aws::Vector<PathPrefix>>
86 void SetPathPrefixHierarchy(PathPrefixHierarchyT&& value) {
87 m_pathPrefixHierarchyHasBeenSet = true;
88 m_pathPrefixHierarchy = std::forward<PathPrefixHierarchyT>(value);
89 }
90 template <typename PathPrefixHierarchyT = Aws::Vector<PathPrefix>>
91 PrefixConfig& WithPathPrefixHierarchy(PathPrefixHierarchyT&& value) {
92 SetPathPrefixHierarchy(std::forward<PathPrefixHierarchyT>(value));
93 return *this;
94 }
96 m_pathPrefixHierarchyHasBeenSet = true;
97 m_pathPrefixHierarchy.push_back(value);
98 return *this;
99 }
101 private:
102 PrefixType m_prefixType{PrefixType::NOT_SET};
103
104 PrefixFormat m_prefixFormat{PrefixFormat::NOT_SET};
105
106 Aws::Vector<PathPrefix> m_pathPrefixHierarchy;
107 bool m_prefixTypeHasBeenSet = false;
108 bool m_prefixFormatHasBeenSet = false;
109 bool m_pathPrefixHierarchyHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace Appflow
114} // 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