AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
MongoDBTarget.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
29 public:
30 AWS_GLUE_API MongoDBTarget() = default;
34
36
40 inline const Aws::String& GetConnectionName() const { return m_connectionName; }
41 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
42 template <typename ConnectionNameT = Aws::String>
43 void SetConnectionName(ConnectionNameT&& value) {
44 m_connectionNameHasBeenSet = true;
45 m_connectionName = std::forward<ConnectionNameT>(value);
46 }
47 template <typename ConnectionNameT = Aws::String>
48 MongoDBTarget& WithConnectionName(ConnectionNameT&& value) {
49 SetConnectionName(std::forward<ConnectionNameT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetPath() const { return m_path; }
60 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
61 template <typename PathT = Aws::String>
62 void SetPath(PathT&& value) {
63 m_pathHasBeenSet = true;
64 m_path = std::forward<PathT>(value);
65 }
66 template <typename PathT = Aws::String>
67 MongoDBTarget& WithPath(PathT&& value) {
68 SetPath(std::forward<PathT>(value));
69 return *this;
70 }
72
74
81 inline bool GetScanAll() const { return m_scanAll; }
82 inline bool ScanAllHasBeenSet() const { return m_scanAllHasBeenSet; }
83 inline void SetScanAll(bool value) {
84 m_scanAllHasBeenSet = true;
85 m_scanAll = value;
86 }
87 inline MongoDBTarget& WithScanAll(bool value) {
88 SetScanAll(value);
89 return *this;
90 }
92 private:
93 Aws::String m_connectionName;
94
95 Aws::String m_path;
96
97 bool m_scanAll{false};
98 bool m_connectionNameHasBeenSet = false;
99 bool m_pathHasBeenSet = false;
100 bool m_scanAllHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace Glue
105} // namespace Aws
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API MongoDBTarget()=default
MongoDBTarget & WithConnectionName(ConnectionNameT &&value)
MongoDBTarget & WithScanAll(bool value)
void SetConnectionName(ConnectionNameT &&value)
const Aws::String & GetConnectionName() const
MongoDBTarget & WithPath(PathT &&value)
const Aws::String & GetPath() const
AWS_GLUE_API MongoDBTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API MongoDBTarget(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue