AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PartitionInput.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/DateTime.h>
10#include <aws/glue/model/StorageDescriptor.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Glue
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_GLUE_API PartitionInput();
43
44
46
53 inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
54 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
55 inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
56 inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
57 inline PartitionInput& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
58 inline PartitionInput& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
59 inline PartitionInput& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
60 inline PartitionInput& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
61 inline PartitionInput& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
63
65
68 inline const Aws::Utils::DateTime& GetLastAccessTime() const{ return m_lastAccessTime; }
69 inline bool LastAccessTimeHasBeenSet() const { return m_lastAccessTimeHasBeenSet; }
70 inline void SetLastAccessTime(const Aws::Utils::DateTime& value) { m_lastAccessTimeHasBeenSet = true; m_lastAccessTime = value; }
71 inline void SetLastAccessTime(Aws::Utils::DateTime&& value) { m_lastAccessTimeHasBeenSet = true; m_lastAccessTime = std::move(value); }
72 inline PartitionInput& WithLastAccessTime(const Aws::Utils::DateTime& value) { SetLastAccessTime(value); return *this;}
73 inline PartitionInput& WithLastAccessTime(Aws::Utils::DateTime&& value) { SetLastAccessTime(std::move(value)); return *this;}
75
77
81 inline const StorageDescriptor& GetStorageDescriptor() const{ return m_storageDescriptor; }
82 inline bool StorageDescriptorHasBeenSet() const { return m_storageDescriptorHasBeenSet; }
83 inline void SetStorageDescriptor(const StorageDescriptor& value) { m_storageDescriptorHasBeenSet = true; m_storageDescriptor = value; }
84 inline void SetStorageDescriptor(StorageDescriptor&& value) { m_storageDescriptorHasBeenSet = true; m_storageDescriptor = std::move(value); }
85 inline PartitionInput& WithStorageDescriptor(const StorageDescriptor& value) { SetStorageDescriptor(value); return *this;}
86 inline PartitionInput& WithStorageDescriptor(StorageDescriptor&& value) { SetStorageDescriptor(std::move(value)); return *this;}
88
90
93 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
94 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
95 inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
96 inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
98 inline PartitionInput& WithParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetParameters(std::move(value)); return *this;}
99 inline PartitionInput& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
100 inline PartitionInput& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
101 inline PartitionInput& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
102 inline PartitionInput& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
103 inline PartitionInput& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
104 inline PartitionInput& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
105 inline PartitionInput& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
107
109
113 inline const Aws::Utils::DateTime& GetLastAnalyzedTime() const{ return m_lastAnalyzedTime; }
114 inline bool LastAnalyzedTimeHasBeenSet() const { return m_lastAnalyzedTimeHasBeenSet; }
115 inline void SetLastAnalyzedTime(const Aws::Utils::DateTime& value) { m_lastAnalyzedTimeHasBeenSet = true; m_lastAnalyzedTime = value; }
116 inline void SetLastAnalyzedTime(Aws::Utils::DateTime&& value) { m_lastAnalyzedTimeHasBeenSet = true; m_lastAnalyzedTime = std::move(value); }
118 inline PartitionInput& WithLastAnalyzedTime(Aws::Utils::DateTime&& value) { SetLastAnalyzedTime(std::move(value)); return *this;}
120 private:
121
123 bool m_valuesHasBeenSet = false;
124
125 Aws::Utils::DateTime m_lastAccessTime;
126 bool m_lastAccessTimeHasBeenSet = false;
127
128 StorageDescriptor m_storageDescriptor;
129 bool m_storageDescriptorHasBeenSet = false;
130
132 bool m_parametersHasBeenSet = false;
133
134 Aws::Utils::DateTime m_lastAnalyzedTime;
135 bool m_lastAnalyzedTimeHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace Glue
140} // namespace Aws
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
PartitionInput & AddParameters(Aws::String &&key, const char *value)
const Aws::Utils::DateTime & GetLastAnalyzedTime() const
PartitionInput & AddParameters(const char *key, const char *value)
AWS_GLUE_API PartitionInput(Aws::Utils::Json::JsonView jsonValue)
void SetLastAnalyzedTime(const Aws::Utils::DateTime &value)
AWS_GLUE_API PartitionInput & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastAccessTime(Aws::Utils::DateTime &&value)
PartitionInput & WithStorageDescriptor(const StorageDescriptor &value)
PartitionInput & AddParameters(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
PartitionInput & AddValues(const Aws::String &value)
const StorageDescriptor & GetStorageDescriptor() const
void SetLastAnalyzedTime(Aws::Utils::DateTime &&value)
PartitionInput & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
PartitionInput & WithLastAnalyzedTime(Aws::Utils::DateTime &&value)
PartitionInput & WithValues(const Aws::Vector< Aws::String > &value)
const Aws::Utils::DateTime & GetLastAccessTime() const
PartitionInput & AddParameters(Aws::String &&key, Aws::String &&value)
PartitionInput & WithValues(Aws::Vector< Aws::String > &&value)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
PartitionInput & AddParameters(const char *key, Aws::String &&value)
PartitionInput & AddValues(Aws::String &&value)
PartitionInput & AddValues(const char *value)
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
PartitionInput & WithLastAccessTime(const Aws::Utils::DateTime &value)
const Aws::Vector< Aws::String > & GetValues() const
void SetStorageDescriptor(StorageDescriptor &&value)
PartitionInput & AddParameters(Aws::String &&key, const Aws::String &value)
PartitionInput & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetLastAccessTime(const Aws::Utils::DateTime &value)
void SetValues(const Aws::Vector< Aws::String > &value)
void SetValues(Aws::Vector< Aws::String > &&value)
void SetStorageDescriptor(const StorageDescriptor &value)
PartitionInput & WithLastAccessTime(Aws::Utils::DateTime &&value)
PartitionInput & WithStorageDescriptor(StorageDescriptor &&value)
PartitionInput & AddParameters(const Aws::String &key, const Aws::String &value)
PartitionInput & WithLastAnalyzedTime(const Aws::Utils::DateTime &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue