AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
MongoDBTarget.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GLUE_API MongoDBTarget() = default;
39
40
42
46 inline const Aws::String& GetConnectionName() const { return m_connectionName; }
47 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
48 template<typename ConnectionNameT = Aws::String>
49 void SetConnectionName(ConnectionNameT&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::forward<ConnectionNameT>(value); }
50 template<typename ConnectionNameT = Aws::String>
51 MongoDBTarget& WithConnectionName(ConnectionNameT&& value) { SetConnectionName(std::forward<ConnectionNameT>(value)); return *this;}
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) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
63 template<typename PathT = Aws::String>
64 MongoDBTarget& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
66
68
75 inline bool GetScanAll() const { return m_scanAll; }
76 inline bool ScanAllHasBeenSet() const { return m_scanAllHasBeenSet; }
77 inline void SetScanAll(bool value) { m_scanAllHasBeenSet = true; m_scanAll = value; }
78 inline MongoDBTarget& WithScanAll(bool value) { SetScanAll(value); return *this;}
80 private:
81
82 Aws::String m_connectionName;
83 bool m_connectionNameHasBeenSet = false;
84
85 Aws::String m_path;
86 bool m_pathHasBeenSet = false;
87
88 bool m_scanAll{false};
89 bool m_scanAllHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Glue
94} // 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