AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
PartitionValueList.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/Glue_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
29 public:
30 AWS_GLUE_API PartitionValueList() = default;
34
36
39 inline const Aws::Vector<Aws::String>& GetValues() const { return m_values; }
40 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
41 template <typename ValuesT = Aws::Vector<Aws::String>>
42 void SetValues(ValuesT&& value) {
43 m_valuesHasBeenSet = true;
44 m_values = std::forward<ValuesT>(value);
45 }
46 template <typename ValuesT = Aws::Vector<Aws::String>>
47 PartitionValueList& WithValues(ValuesT&& value) {
48 SetValues(std::forward<ValuesT>(value));
49 return *this;
50 }
51 template <typename ValuesT = Aws::String>
52 PartitionValueList& AddValues(ValuesT&& value) {
53 m_valuesHasBeenSet = true;
54 m_values.emplace_back(std::forward<ValuesT>(value));
55 return *this;
56 }
58 private:
60 bool m_valuesHasBeenSet = false;
61};
62
63} // namespace Model
64} // namespace Glue
65} // 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