/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies an Amazon DocumentDB or MongoDB data store to crawl.See
* Also:
AWS
* API Reference
The name of the connection to use to connect to the Amazon DocumentDB or * MongoDB target.
*/ inline const Aws::String& GetConnectionName() const{ return m_connectionName; } /** *The name of the connection to use to connect to the Amazon DocumentDB or * MongoDB target.
*/ inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; } /** *The name of the connection to use to connect to the Amazon DocumentDB or * MongoDB target.
*/ inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; } /** *The name of the connection to use to connect to the Amazon DocumentDB or * MongoDB target.
*/ inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); } /** *The name of the connection to use to connect to the Amazon DocumentDB or * MongoDB target.
*/ inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); } /** *The name of the connection to use to connect to the Amazon DocumentDB or * MongoDB target.
*/ inline MongoDBTarget& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;} /** *The name of the connection to use to connect to the Amazon DocumentDB or * MongoDB target.
*/ inline MongoDBTarget& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;} /** *The name of the connection to use to connect to the Amazon DocumentDB or * MongoDB target.
*/ inline MongoDBTarget& WithConnectionName(const char* value) { SetConnectionName(value); return *this;} /** *The path of the Amazon DocumentDB or MongoDB target * (database/collection).
*/ inline const Aws::String& GetPath() const{ return m_path; } /** *The path of the Amazon DocumentDB or MongoDB target * (database/collection).
*/ inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } /** *The path of the Amazon DocumentDB or MongoDB target * (database/collection).
*/ inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; } /** *The path of the Amazon DocumentDB or MongoDB target * (database/collection).
*/ inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } /** *The path of the Amazon DocumentDB or MongoDB target * (database/collection).
*/ inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); } /** *The path of the Amazon DocumentDB or MongoDB target * (database/collection).
*/ inline MongoDBTarget& WithPath(const Aws::String& value) { SetPath(value); return *this;} /** *The path of the Amazon DocumentDB or MongoDB target * (database/collection).
*/ inline MongoDBTarget& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} /** *The path of the Amazon DocumentDB or MongoDB target * (database/collection).
*/ inline MongoDBTarget& WithPath(const char* value) { SetPath(value); return *this;} /** *Indicates whether to scan all the records, or to sample rows from the table. * Scanning all the records can take a long time when the table is not a high * throughput table.
A value of true
means to scan all records,
* while a value of false
means to sample the records. If no value is
* specified, the value defaults to true
.
Indicates whether to scan all the records, or to sample rows from the table. * Scanning all the records can take a long time when the table is not a high * throughput table.
A value of true
means to scan all records,
* while a value of false
means to sample the records. If no value is
* specified, the value defaults to true
.
Indicates whether to scan all the records, or to sample rows from the table. * Scanning all the records can take a long time when the table is not a high * throughput table.
A value of true
means to scan all records,
* while a value of false
means to sample the records. If no value is
* specified, the value defaults to true
.
Indicates whether to scan all the records, or to sample rows from the table. * Scanning all the records can take a long time when the table is not a high * throughput table.
A value of true
means to scan all records,
* while a value of false
means to sample the records. If no value is
* specified, the value defaults to true
.