AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PartitionValueList.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 PartitionValueList() = default;
39
40
42
45 inline const Aws::Vector<Aws::String>& GetValues() const { return m_values; }
46 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
47 template<typename ValuesT = Aws::Vector<Aws::String>>
48 void SetValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values = std::forward<ValuesT>(value); }
49 template<typename ValuesT = Aws::Vector<Aws::String>>
50 PartitionValueList& WithValues(ValuesT&& value) { SetValues(std::forward<ValuesT>(value)); return *this;}
51 template<typename ValuesT = Aws::String>
52 PartitionValueList& AddValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values.emplace_back(std::forward<ValuesT>(value)); return *this; }
54 private:
55
57 bool m_valuesHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace Glue
62} // namespace Aws
AWS_GLUE_API PartitionValueList()=default
const Aws::Vector< Aws::String > & GetValues() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
PartitionValueList & AddValues(ValuesT &&value)
AWS_GLUE_API PartitionValueList & operator=(Aws::Utils::Json::JsonView jsonValue)
PartitionValueList & WithValues(ValuesT &&value)
AWS_GLUE_API PartitionValueList(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue