AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const PrefixType& GetPrefixType() const{ return m_prefixType; }
50 inline bool PrefixTypeHasBeenSet() const { return m_prefixTypeHasBeenSet; }
51 inline void SetPrefixType(const PrefixType& value) { m_prefixTypeHasBeenSet = true; m_prefixType = value; }
52 inline void SetPrefixType(PrefixType&& value) { m_prefixTypeHasBeenSet = true; m_prefixType = std::move(value); }
53 inline PrefixConfig& WithPrefixType(const PrefixType& value) { SetPrefixType(value); return *this;}
54 inline PrefixConfig& WithPrefixType(PrefixType&& value) { SetPrefixType(std::move(value)); return *this;}
56
58
62 inline const PrefixFormat& GetPrefixFormat() const{ return m_prefixFormat; }
63 inline bool PrefixFormatHasBeenSet() const { return m_prefixFormatHasBeenSet; }
64 inline void SetPrefixFormat(const PrefixFormat& value) { m_prefixFormatHasBeenSet = true; m_prefixFormat = value; }
65 inline void SetPrefixFormat(PrefixFormat&& value) { m_prefixFormatHasBeenSet = true; m_prefixFormat = std::move(value); }
66 inline PrefixConfig& WithPrefixFormat(const PrefixFormat& value) { SetPrefixFormat(value); return *this;}
67 inline PrefixConfig& WithPrefixFormat(PrefixFormat&& value) { SetPrefixFormat(std::move(value)); return *this;}
69
71
81 inline const Aws::Vector<PathPrefix>& GetPathPrefixHierarchy() const{ return m_pathPrefixHierarchy; }
82 inline bool PathPrefixHierarchyHasBeenSet() const { return m_pathPrefixHierarchyHasBeenSet; }
83 inline void SetPathPrefixHierarchy(const Aws::Vector<PathPrefix>& value) { m_pathPrefixHierarchyHasBeenSet = true; m_pathPrefixHierarchy = value; }
84 inline void SetPathPrefixHierarchy(Aws::Vector<PathPrefix>&& value) { m_pathPrefixHierarchyHasBeenSet = true; m_pathPrefixHierarchy = std::move(value); }
86 inline PrefixConfig& WithPathPrefixHierarchy(Aws::Vector<PathPrefix>&& value) { SetPathPrefixHierarchy(std::move(value)); return *this;}
87 inline PrefixConfig& AddPathPrefixHierarchy(const PathPrefix& value) { m_pathPrefixHierarchyHasBeenSet = true; m_pathPrefixHierarchy.push_back(value); return *this; }
88 inline PrefixConfig& AddPathPrefixHierarchy(PathPrefix&& value) { m_pathPrefixHierarchyHasBeenSet = true; m_pathPrefixHierarchy.push_back(std::move(value)); return *this; }
90 private:
91
92 PrefixType m_prefixType;
93 bool m_prefixTypeHasBeenSet = false;
94
95 PrefixFormat m_prefixFormat;
96 bool m_prefixFormatHasBeenSet = false;
97
98 Aws::Vector<PathPrefix> m_pathPrefixHierarchy;
99 bool m_pathPrefixHierarchyHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace Appflow
104} // namespace Aws
PrefixConfig & AddPathPrefixHierarchy(PathPrefix &&value)
PrefixConfig & WithPathPrefixHierarchy(Aws::Vector< PathPrefix > &&value)
void SetPrefixFormat(PrefixFormat &&value)
PrefixConfig & WithPrefixFormat(const PrefixFormat &value)
AWS_APPFLOW_API PrefixConfig(Aws::Utils::Json::JsonView jsonValue)
void SetPathPrefixHierarchy(const Aws::Vector< PathPrefix > &value)
PrefixConfig & WithPrefixFormat(PrefixFormat &&value)
AWS_APPFLOW_API PrefixConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const PrefixType & GetPrefixType() const
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
PrefixConfig & WithPrefixType(PrefixType &&value)
void SetPrefixType(const PrefixType &value)
PrefixConfig & AddPathPrefixHierarchy(const PathPrefix &value)
void SetPathPrefixHierarchy(Aws::Vector< PathPrefix > &&value)
PrefixConfig & WithPrefixType(const PrefixType &value)
const Aws::Vector< PathPrefix > & GetPathPrefixHierarchy() const
void SetPrefixType(PrefixType &&value)
const PrefixFormat & GetPrefixFormat() const
void SetPrefixFormat(const PrefixFormat &value)
PrefixConfig & WithPathPrefixHierarchy(const Aws::Vector< PathPrefix > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue