AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SkewedInfo.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/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.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 Glue
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GLUE_API SkewedInfo();
38 AWS_GLUE_API SkewedInfo(Aws::Utils::Json::JsonView jsonValue);
41
42
44
47 inline const Aws::Vector<Aws::String>& GetSkewedColumnNames() const{ return m_skewedColumnNames; }
48 inline bool SkewedColumnNamesHasBeenSet() const { return m_skewedColumnNamesHasBeenSet; }
49 inline void SetSkewedColumnNames(const Aws::Vector<Aws::String>& value) { m_skewedColumnNamesHasBeenSet = true; m_skewedColumnNames = value; }
50 inline void SetSkewedColumnNames(Aws::Vector<Aws::String>&& value) { m_skewedColumnNamesHasBeenSet = true; m_skewedColumnNames = std::move(value); }
52 inline SkewedInfo& WithSkewedColumnNames(Aws::Vector<Aws::String>&& value) { SetSkewedColumnNames(std::move(value)); return *this;}
53 inline SkewedInfo& AddSkewedColumnNames(const Aws::String& value) { m_skewedColumnNamesHasBeenSet = true; m_skewedColumnNames.push_back(value); return *this; }
54 inline SkewedInfo& AddSkewedColumnNames(Aws::String&& value) { m_skewedColumnNamesHasBeenSet = true; m_skewedColumnNames.push_back(std::move(value)); return *this; }
55 inline SkewedInfo& AddSkewedColumnNames(const char* value) { m_skewedColumnNamesHasBeenSet = true; m_skewedColumnNames.push_back(value); return *this; }
57
59
62 inline const Aws::Vector<Aws::String>& GetSkewedColumnValues() const{ return m_skewedColumnValues; }
63 inline bool SkewedColumnValuesHasBeenSet() const { return m_skewedColumnValuesHasBeenSet; }
64 inline void SetSkewedColumnValues(const Aws::Vector<Aws::String>& value) { m_skewedColumnValuesHasBeenSet = true; m_skewedColumnValues = value; }
65 inline void SetSkewedColumnValues(Aws::Vector<Aws::String>&& value) { m_skewedColumnValuesHasBeenSet = true; m_skewedColumnValues = std::move(value); }
67 inline SkewedInfo& WithSkewedColumnValues(Aws::Vector<Aws::String>&& value) { SetSkewedColumnValues(std::move(value)); return *this;}
68 inline SkewedInfo& AddSkewedColumnValues(const Aws::String& value) { m_skewedColumnValuesHasBeenSet = true; m_skewedColumnValues.push_back(value); return *this; }
69 inline SkewedInfo& AddSkewedColumnValues(Aws::String&& value) { m_skewedColumnValuesHasBeenSet = true; m_skewedColumnValues.push_back(std::move(value)); return *this; }
70 inline SkewedInfo& AddSkewedColumnValues(const char* value) { m_skewedColumnValuesHasBeenSet = true; m_skewedColumnValues.push_back(value); return *this; }
72
74
77 inline const Aws::Map<Aws::String, Aws::String>& GetSkewedColumnValueLocationMaps() const{ return m_skewedColumnValueLocationMaps; }
78 inline bool SkewedColumnValueLocationMapsHasBeenSet() const { return m_skewedColumnValueLocationMapsHasBeenSet; }
79 inline void SetSkewedColumnValueLocationMaps(const Aws::Map<Aws::String, Aws::String>& value) { m_skewedColumnValueLocationMapsHasBeenSet = true; m_skewedColumnValueLocationMaps = value; }
80 inline void SetSkewedColumnValueLocationMaps(Aws::Map<Aws::String, Aws::String>&& value) { m_skewedColumnValueLocationMapsHasBeenSet = true; m_skewedColumnValueLocationMaps = std::move(value); }
83 inline SkewedInfo& AddSkewedColumnValueLocationMaps(const Aws::String& key, const Aws::String& value) { m_skewedColumnValueLocationMapsHasBeenSet = true; m_skewedColumnValueLocationMaps.emplace(key, value); return *this; }
84 inline SkewedInfo& AddSkewedColumnValueLocationMaps(Aws::String&& key, const Aws::String& value) { m_skewedColumnValueLocationMapsHasBeenSet = true; m_skewedColumnValueLocationMaps.emplace(std::move(key), value); return *this; }
85 inline SkewedInfo& AddSkewedColumnValueLocationMaps(const Aws::String& key, Aws::String&& value) { m_skewedColumnValueLocationMapsHasBeenSet = true; m_skewedColumnValueLocationMaps.emplace(key, std::move(value)); return *this; }
86 inline SkewedInfo& AddSkewedColumnValueLocationMaps(Aws::String&& key, Aws::String&& value) { m_skewedColumnValueLocationMapsHasBeenSet = true; m_skewedColumnValueLocationMaps.emplace(std::move(key), std::move(value)); return *this; }
87 inline SkewedInfo& AddSkewedColumnValueLocationMaps(const char* key, Aws::String&& value) { m_skewedColumnValueLocationMapsHasBeenSet = true; m_skewedColumnValueLocationMaps.emplace(key, std::move(value)); return *this; }
88 inline SkewedInfo& AddSkewedColumnValueLocationMaps(Aws::String&& key, const char* value) { m_skewedColumnValueLocationMapsHasBeenSet = true; m_skewedColumnValueLocationMaps.emplace(std::move(key), value); return *this; }
89 inline SkewedInfo& AddSkewedColumnValueLocationMaps(const char* key, const char* value) { m_skewedColumnValueLocationMapsHasBeenSet = true; m_skewedColumnValueLocationMaps.emplace(key, value); return *this; }
91 private:
92
93 Aws::Vector<Aws::String> m_skewedColumnNames;
94 bool m_skewedColumnNamesHasBeenSet = false;
95
96 Aws::Vector<Aws::String> m_skewedColumnValues;
97 bool m_skewedColumnValuesHasBeenSet = false;
98
99 Aws::Map<Aws::String, Aws::String> m_skewedColumnValueLocationMaps;
100 bool m_skewedColumnValueLocationMapsHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Glue
105} // namespace Aws
SkewedInfo & AddSkewedColumnValueLocationMaps(const Aws::String &key, const Aws::String &value)
Definition SkewedInfo.h:83
SkewedInfo & AddSkewedColumnValueLocationMaps(Aws::String &&key, const Aws::String &value)
Definition SkewedInfo.h:84
AWS_GLUE_API SkewedInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
SkewedInfo & WithSkewedColumnValues(const Aws::Vector< Aws::String > &value)
Definition SkewedInfo.h:66
void SetSkewedColumnValues(const Aws::Vector< Aws::String > &value)
Definition SkewedInfo.h:64
SkewedInfo & WithSkewedColumnValueLocationMaps(const Aws::Map< Aws::String, Aws::String > &value)
Definition SkewedInfo.h:81
SkewedInfo & WithSkewedColumnNames(Aws::Vector< Aws::String > &&value)
Definition SkewedInfo.h:52
SkewedInfo & WithSkewedColumnValueLocationMaps(Aws::Map< Aws::String, Aws::String > &&value)
Definition SkewedInfo.h:82
SkewedInfo & AddSkewedColumnNames(const Aws::String &value)
Definition SkewedInfo.h:53
const Aws::Map< Aws::String, Aws::String > & GetSkewedColumnValueLocationMaps() const
Definition SkewedInfo.h:77
bool SkewedColumnNamesHasBeenSet() const
Definition SkewedInfo.h:48
SkewedInfo & AddSkewedColumnValues(const char *value)
Definition SkewedInfo.h:70
SkewedInfo & AddSkewedColumnNames(const char *value)
Definition SkewedInfo.h:55
void SetSkewedColumnNames(Aws::Vector< Aws::String > &&value)
Definition SkewedInfo.h:50
SkewedInfo & AddSkewedColumnValueLocationMaps(Aws::String &&key, Aws::String &&value)
Definition SkewedInfo.h:86
void SetSkewedColumnValueLocationMaps(const Aws::Map< Aws::String, Aws::String > &value)
Definition SkewedInfo.h:79
SkewedInfo & AddSkewedColumnValueLocationMaps(const char *key, const char *value)
Definition SkewedInfo.h:89
SkewedInfo & AddSkewedColumnNames(Aws::String &&value)
Definition SkewedInfo.h:54
SkewedInfo & AddSkewedColumnValueLocationMaps(const Aws::String &key, Aws::String &&value)
Definition SkewedInfo.h:85
SkewedInfo & WithSkewedColumnValues(Aws::Vector< Aws::String > &&value)
Definition SkewedInfo.h:67
void SetSkewedColumnValueLocationMaps(Aws::Map< Aws::String, Aws::String > &&value)
Definition SkewedInfo.h:80
bool SkewedColumnValueLocationMapsHasBeenSet() const
Definition SkewedInfo.h:78
AWS_GLUE_API SkewedInfo(Aws::Utils::Json::JsonView jsonValue)
void SetSkewedColumnValues(Aws::Vector< Aws::String > &&value)
Definition SkewedInfo.h:65
void SetSkewedColumnNames(const Aws::Vector< Aws::String > &value)
Definition SkewedInfo.h:49
SkewedInfo & WithSkewedColumnNames(const Aws::Vector< Aws::String > &value)
Definition SkewedInfo.h:51
SkewedInfo & AddSkewedColumnValueLocationMaps(const char *key, Aws::String &&value)
Definition SkewedInfo.h:87
SkewedInfo & AddSkewedColumnValues(const Aws::String &value)
Definition SkewedInfo.h:68
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetSkewedColumnValues() const
Definition SkewedInfo.h:62
bool SkewedColumnValuesHasBeenSet() const
Definition SkewedInfo.h:63
const Aws::Vector< Aws::String > & GetSkewedColumnNames() const
Definition SkewedInfo.h:47
SkewedInfo & AddSkewedColumnValueLocationMaps(Aws::String &&key, const char *value)
Definition SkewedInfo.h:88
SkewedInfo & AddSkewedColumnValues(Aws::String &&value)
Definition SkewedInfo.h:69
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