AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PartitionIndex.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GLUE_API PartitionIndex() = default;
39
40
42
45 inline const Aws::Vector<Aws::String>& GetKeys() const { return m_keys; }
46 inline bool KeysHasBeenSet() const { return m_keysHasBeenSet; }
47 template<typename KeysT = Aws::Vector<Aws::String>>
48 void SetKeys(KeysT&& value) { m_keysHasBeenSet = true; m_keys = std::forward<KeysT>(value); }
49 template<typename KeysT = Aws::Vector<Aws::String>>
50 PartitionIndex& WithKeys(KeysT&& value) { SetKeys(std::forward<KeysT>(value)); return *this;}
51 template<typename KeysT = Aws::String>
52 PartitionIndex& AddKeys(KeysT&& value) { m_keysHasBeenSet = true; m_keys.emplace_back(std::forward<KeysT>(value)); return *this; }
54
56
59 inline const Aws::String& GetIndexName() const { return m_indexName; }
60 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
61 template<typename IndexNameT = Aws::String>
62 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
63 template<typename IndexNameT = Aws::String>
64 PartitionIndex& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
66 private:
67
69 bool m_keysHasBeenSet = false;
70
71 Aws::String m_indexName;
72 bool m_indexNameHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Glue
77} // namespace Aws
PartitionIndex & WithIndexName(IndexNameT &&value)
PartitionIndex & AddKeys(KeysT &&value)
const Aws::String & GetIndexName() const
AWS_GLUE_API PartitionIndex()=default
PartitionIndex & WithKeys(KeysT &&value)
const Aws::Vector< Aws::String > & GetKeys() const
AWS_GLUE_API PartitionIndex & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIndexName(IndexNameT &&value)
AWS_GLUE_API PartitionIndex(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue