AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::Vector<Aws::String>& GetKeys() const{ return m_keys; }
46 inline bool KeysHasBeenSet() const { return m_keysHasBeenSet; }
47 inline void SetKeys(const Aws::Vector<Aws::String>& value) { m_keysHasBeenSet = true; m_keys = value; }
48 inline void SetKeys(Aws::Vector<Aws::String>&& value) { m_keysHasBeenSet = true; m_keys = std::move(value); }
49 inline PartitionIndex& WithKeys(const Aws::Vector<Aws::String>& value) { SetKeys(value); return *this;}
50 inline PartitionIndex& WithKeys(Aws::Vector<Aws::String>&& value) { SetKeys(std::move(value)); return *this;}
51 inline PartitionIndex& AddKeys(const Aws::String& value) { m_keysHasBeenSet = true; m_keys.push_back(value); return *this; }
52 inline PartitionIndex& AddKeys(Aws::String&& value) { m_keysHasBeenSet = true; m_keys.push_back(std::move(value)); return *this; }
53 inline PartitionIndex& AddKeys(const char* value) { m_keysHasBeenSet = true; m_keys.push_back(value); return *this; }
55
57
60 inline const Aws::String& GetIndexName() const{ return m_indexName; }
61 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
62 inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
63 inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
64 inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
65 inline PartitionIndex& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
66 inline PartitionIndex& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
67 inline PartitionIndex& WithIndexName(const char* value) { SetIndexName(value); return *this;}
69 private:
70
72 bool m_keysHasBeenSet = false;
73
74 Aws::String m_indexName;
75 bool m_indexNameHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Glue
80} // namespace Aws
PartitionIndex & AddKeys(const Aws::String &value)
const Aws::String & GetIndexName() const
void SetIndexName(const Aws::String &value)
PartitionIndex & WithIndexName(Aws::String &&value)
PartitionIndex & WithKeys(const Aws::Vector< Aws::String > &value)
PartitionIndex & AddKeys(const char *value)
void SetIndexName(const char *value)
const Aws::Vector< Aws::String > & GetKeys() const
AWS_GLUE_API PartitionIndex & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKeys(const Aws::Vector< Aws::String > &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
PartitionIndex & WithKeys(Aws::Vector< Aws::String > &&value)
PartitionIndex & WithIndexName(const char *value)
PartitionIndex & WithIndexName(const Aws::String &value)
void SetIndexName(Aws::String &&value)
void SetKeys(Aws::Vector< Aws::String > &&value)
AWS_GLUE_API PartitionIndex(Aws::Utils::Json::JsonView jsonValue)
PartitionIndex & AddKeys(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue