AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PartitionObjects.h
1
6#pragma once
7#include <aws/lakeformation/LakeFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lakeformation/model/TableObject.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LakeFormation
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_LAKEFORMATION_API PartitionObjects();
38 AWS_LAKEFORMATION_API PartitionObjects(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LAKEFORMATION_API PartitionObjects& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<Aws::String>& GetPartitionValues() const{ return m_partitionValues; }
48 inline bool PartitionValuesHasBeenSet() const { return m_partitionValuesHasBeenSet; }
49 inline void SetPartitionValues(const Aws::Vector<Aws::String>& value) { m_partitionValuesHasBeenSet = true; m_partitionValues = value; }
50 inline void SetPartitionValues(Aws::Vector<Aws::String>&& value) { m_partitionValuesHasBeenSet = true; m_partitionValues = std::move(value); }
52 inline PartitionObjects& WithPartitionValues(Aws::Vector<Aws::String>&& value) { SetPartitionValues(std::move(value)); return *this;}
53 inline PartitionObjects& AddPartitionValues(const Aws::String& value) { m_partitionValuesHasBeenSet = true; m_partitionValues.push_back(value); return *this; }
54 inline PartitionObjects& AddPartitionValues(Aws::String&& value) { m_partitionValuesHasBeenSet = true; m_partitionValues.push_back(std::move(value)); return *this; }
55 inline PartitionObjects& AddPartitionValues(const char* value) { m_partitionValuesHasBeenSet = true; m_partitionValues.push_back(value); return *this; }
57
59
62 inline const Aws::Vector<TableObject>& GetObjects() const{ return m_objects; }
63 inline bool ObjectsHasBeenSet() const { return m_objectsHasBeenSet; }
64 inline void SetObjects(const Aws::Vector<TableObject>& value) { m_objectsHasBeenSet = true; m_objects = value; }
65 inline void SetObjects(Aws::Vector<TableObject>&& value) { m_objectsHasBeenSet = true; m_objects = std::move(value); }
66 inline PartitionObjects& WithObjects(const Aws::Vector<TableObject>& value) { SetObjects(value); return *this;}
67 inline PartitionObjects& WithObjects(Aws::Vector<TableObject>&& value) { SetObjects(std::move(value)); return *this;}
68 inline PartitionObjects& AddObjects(const TableObject& value) { m_objectsHasBeenSet = true; m_objects.push_back(value); return *this; }
69 inline PartitionObjects& AddObjects(TableObject&& value) { m_objectsHasBeenSet = true; m_objects.push_back(std::move(value)); return *this; }
71 private:
72
73 Aws::Vector<Aws::String> m_partitionValues;
74 bool m_partitionValuesHasBeenSet = false;
75
77 bool m_objectsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace LakeFormation
82} // namespace Aws
PartitionObjects & WithPartitionValues(const Aws::Vector< Aws::String > &value)
PartitionObjects & AddPartitionValues(const Aws::String &value)
PartitionObjects & AddObjects(const TableObject &value)
PartitionObjects & WithObjects(const Aws::Vector< TableObject > &value)
PartitionObjects & AddPartitionValues(Aws::String &&value)
AWS_LAKEFORMATION_API PartitionObjects & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetObjects(const Aws::Vector< TableObject > &value)
PartitionObjects & AddObjects(TableObject &&value)
PartitionObjects & WithPartitionValues(Aws::Vector< Aws::String > &&value)
void SetPartitionValues(Aws::Vector< Aws::String > &&value)
void SetObjects(Aws::Vector< TableObject > &&value)
const Aws::Vector< Aws::String > & GetPartitionValues() const
void SetPartitionValues(const Aws::Vector< Aws::String > &value)
AWS_LAKEFORMATION_API PartitionObjects(Aws::Utils::Json::JsonView jsonValue)
AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const
PartitionObjects & WithObjects(Aws::Vector< TableObject > &&value)
const Aws::Vector< TableObject > & GetObjects() const
PartitionObjects & AddPartitionValues(const char *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