AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3DeltaSource.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/glue/model/S3DirectSourceAdditionalOptions.h>
12#include <aws/glue/model/GlueSchema.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 S3DeltaSource();
43
44
46
49 inline const Aws::String& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline S3DeltaSource& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline S3DeltaSource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline S3DeltaSource& WithName(const char* value) { SetName(value); return *this;}
58
60
63 inline const Aws::Vector<Aws::String>& GetPaths() const{ return m_paths; }
64 inline bool PathsHasBeenSet() const { return m_pathsHasBeenSet; }
65 inline void SetPaths(const Aws::Vector<Aws::String>& value) { m_pathsHasBeenSet = true; m_paths = value; }
66 inline void SetPaths(Aws::Vector<Aws::String>&& value) { m_pathsHasBeenSet = true; m_paths = std::move(value); }
67 inline S3DeltaSource& WithPaths(const Aws::Vector<Aws::String>& value) { SetPaths(value); return *this;}
68 inline S3DeltaSource& WithPaths(Aws::Vector<Aws::String>&& value) { SetPaths(std::move(value)); return *this;}
69 inline S3DeltaSource& AddPaths(const Aws::String& value) { m_pathsHasBeenSet = true; m_paths.push_back(value); return *this; }
70 inline S3DeltaSource& AddPaths(Aws::String&& value) { m_pathsHasBeenSet = true; m_paths.push_back(std::move(value)); return *this; }
71 inline S3DeltaSource& AddPaths(const char* value) { m_pathsHasBeenSet = true; m_paths.push_back(value); return *this; }
73
75
78 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalDeltaOptions() const{ return m_additionalDeltaOptions; }
79 inline bool AdditionalDeltaOptionsHasBeenSet() const { return m_additionalDeltaOptionsHasBeenSet; }
80 inline void SetAdditionalDeltaOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions = value; }
81 inline void SetAdditionalDeltaOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions = std::move(value); }
84 inline S3DeltaSource& AddAdditionalDeltaOptions(const Aws::String& key, const Aws::String& value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions.emplace(key, value); return *this; }
85 inline S3DeltaSource& AddAdditionalDeltaOptions(Aws::String&& key, const Aws::String& value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions.emplace(std::move(key), value); return *this; }
86 inline S3DeltaSource& AddAdditionalDeltaOptions(const Aws::String& key, Aws::String&& value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions.emplace(key, std::move(value)); return *this; }
87 inline S3DeltaSource& AddAdditionalDeltaOptions(Aws::String&& key, Aws::String&& value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions.emplace(std::move(key), std::move(value)); return *this; }
88 inline S3DeltaSource& AddAdditionalDeltaOptions(const char* key, Aws::String&& value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions.emplace(key, std::move(value)); return *this; }
89 inline S3DeltaSource& AddAdditionalDeltaOptions(Aws::String&& key, const char* value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions.emplace(std::move(key), value); return *this; }
90 inline S3DeltaSource& AddAdditionalDeltaOptions(const char* key, const char* value) { m_additionalDeltaOptionsHasBeenSet = true; m_additionalDeltaOptions.emplace(key, value); return *this; }
92
94
97 inline const S3DirectSourceAdditionalOptions& GetAdditionalOptions() const{ return m_additionalOptions; }
98 inline bool AdditionalOptionsHasBeenSet() const { return m_additionalOptionsHasBeenSet; }
99 inline void SetAdditionalOptions(const S3DirectSourceAdditionalOptions& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions = value; }
100 inline void SetAdditionalOptions(S3DirectSourceAdditionalOptions&& value) { m_additionalOptionsHasBeenSet = true; m_additionalOptions = std::move(value); }
104
106
109 inline const Aws::Vector<GlueSchema>& GetOutputSchemas() const{ return m_outputSchemas; }
110 inline bool OutputSchemasHasBeenSet() const { return m_outputSchemasHasBeenSet; }
111 inline void SetOutputSchemas(const Aws::Vector<GlueSchema>& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas = value; }
112 inline void SetOutputSchemas(Aws::Vector<GlueSchema>&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas = std::move(value); }
113 inline S3DeltaSource& WithOutputSchemas(const Aws::Vector<GlueSchema>& value) { SetOutputSchemas(value); return *this;}
114 inline S3DeltaSource& WithOutputSchemas(Aws::Vector<GlueSchema>&& value) { SetOutputSchemas(std::move(value)); return *this;}
115 inline S3DeltaSource& AddOutputSchemas(const GlueSchema& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.push_back(value); return *this; }
116 inline S3DeltaSource& AddOutputSchemas(GlueSchema&& value) { m_outputSchemasHasBeenSet = true; m_outputSchemas.push_back(std::move(value)); return *this; }
118 private:
119
120 Aws::String m_name;
121 bool m_nameHasBeenSet = false;
122
124 bool m_pathsHasBeenSet = false;
125
126 Aws::Map<Aws::String, Aws::String> m_additionalDeltaOptions;
127 bool m_additionalDeltaOptionsHasBeenSet = false;
128
129 S3DirectSourceAdditionalOptions m_additionalOptions;
130 bool m_additionalOptionsHasBeenSet = false;
131
132 Aws::Vector<GlueSchema> m_outputSchemas;
133 bool m_outputSchemasHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace Glue
138} // namespace Aws
S3DeltaSource & AddAdditionalDeltaOptions(const char *key, const char *value)
bool AdditionalDeltaOptionsHasBeenSet() const
S3DeltaSource & AddAdditionalDeltaOptions(Aws::String &&key, Aws::String &&value)
AWS_GLUE_API S3DeltaSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAdditionalDeltaOptions(const Aws::Map< Aws::String, Aws::String > &value)
S3DeltaSource & WithAdditionalDeltaOptions(Aws::Map< Aws::String, Aws::String > &&value)
S3DeltaSource & AddPaths(const Aws::String &value)
S3DeltaSource & WithOutputSchemas(const Aws::Vector< GlueSchema > &value)
const Aws::String & GetName() const
S3DeltaSource & WithAdditionalDeltaOptions(const Aws::Map< Aws::String, Aws::String > &value)
void SetAdditionalOptions(S3DirectSourceAdditionalOptions &&value)
void SetName(const Aws::String &value)
S3DeltaSource & WithOutputSchemas(Aws::Vector< GlueSchema > &&value)
S3DeltaSource & AddAdditionalDeltaOptions(const Aws::String &key, Aws::String &&value)
void SetName(Aws::String &&value)
void SetName(const char *value)
S3DeltaSource & AddAdditionalDeltaOptions(Aws::String &&key, const char *value)
S3DeltaSource & WithPaths(Aws::Vector< Aws::String > &&value)
S3DeltaSource & WithName(const char *value)
const Aws::Vector< GlueSchema > & GetOutputSchemas() const
AWS_GLUE_API S3DeltaSource(Aws::Utils::Json::JsonView jsonValue)
S3DeltaSource & AddOutputSchemas(const GlueSchema &value)
void SetAdditionalDeltaOptions(Aws::Map< Aws::String, Aws::String > &&value)
S3DeltaSource & AddPaths(Aws::String &&value)
S3DeltaSource & AddOutputSchemas(GlueSchema &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetAdditionalDeltaOptions() const
void SetAdditionalOptions(const S3DirectSourceAdditionalOptions &value)
void SetPaths(Aws::Vector< Aws::String > &&value)
void SetOutputSchemas(const Aws::Vector< GlueSchema > &value)
void SetPaths(const Aws::Vector< Aws::String > &value)
S3DeltaSource & AddAdditionalDeltaOptions(Aws::String &&key, const Aws::String &value)
S3DeltaSource & WithAdditionalOptions(const S3DirectSourceAdditionalOptions &value)
S3DeltaSource & WithAdditionalOptions(S3DirectSourceAdditionalOptions &&value)
const Aws::Vector< Aws::String > & GetPaths() const
S3DeltaSource & WithName(Aws::String &&value)
S3DeltaSource & AddPaths(const char *value)
S3DeltaSource & WithPaths(const Aws::Vector< Aws::String > &value)
S3DeltaSource & AddAdditionalDeltaOptions(const Aws::String &key, const Aws::String &value)
void SetOutputSchemas(Aws::Vector< GlueSchema > &&value)
const S3DirectSourceAdditionalOptions & GetAdditionalOptions() const
S3DeltaSource & WithName(const Aws::String &value)
S3DeltaSource & AddAdditionalDeltaOptions(const char *key, Aws::String &&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