AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
46 inline const Aws::String& GetConnectionName() const{ return m_connectionName; }
47 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
48 inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; }
49 inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); }
50 inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); }
51 inline MongoDBTarget& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;}
52 inline MongoDBTarget& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;}
53 inline MongoDBTarget& WithConnectionName(const char* value) { SetConnectionName(value); return *this;}
55
57
61 inline const Aws::String& GetPath() const{ return m_path; }
62 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
63 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
64 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
65 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
66 inline MongoDBTarget& WithPath(const Aws::String& value) { SetPath(value); return *this;}
67 inline MongoDBTarget& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
68 inline MongoDBTarget& WithPath(const char* value) { SetPath(value); return *this;}
70
72
79 inline bool GetScanAll() const{ return m_scanAll; }
80 inline bool ScanAllHasBeenSet() const { return m_scanAllHasBeenSet; }
81 inline void SetScanAll(bool value) { m_scanAllHasBeenSet = true; m_scanAll = value; }
82 inline MongoDBTarget& WithScanAll(bool value) { SetScanAll(value); return *this;}
84 private:
85
86 Aws::String m_connectionName;
87 bool m_connectionNameHasBeenSet = false;
88
89 Aws::String m_path;
90 bool m_pathHasBeenSet = false;
91
92 bool m_scanAll;
93 bool m_scanAllHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Glue
98} // namespace Aws
void SetConnectionName(const char *value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPath(Aws::String &&value)
MongoDBTarget & WithScanAll(bool value)
MongoDBTarget & WithPath(const Aws::String &value)
void SetConnectionName(const Aws::String &value)
MongoDBTarget & WithPath(const char *value)
const Aws::String & GetConnectionName() const
void SetConnectionName(Aws::String &&value)
const Aws::String & GetPath() const
MongoDBTarget & WithConnectionName(const Aws::String &value)
AWS_GLUE_API MongoDBTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API MongoDBTarget(Aws::Utils::Json::JsonView jsonValue)
MongoDBTarget & WithConnectionName(Aws::String &&value)
MongoDBTarget & WithPath(Aws::String &&value)
void SetPath(const char *value)
MongoDBTarget & WithConnectionName(const char *value)
void SetPath(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue