/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that is used to specify a connection to create or
* update.See Also:
AWS
* API Reference
The name of the connection.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the connection.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the connection.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the connection.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the connection.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the connection.
*/ inline ConnectionInput& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the connection.
*/ inline ConnectionInput& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the connection.
*/ inline ConnectionInput& WithName(const char* value) { SetName(value); return *this;} /** *The description of the connection.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the connection.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the connection.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the connection.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the connection.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the connection.
*/ inline ConnectionInput& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the connection.
*/ inline ConnectionInput& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the connection.
*/ inline ConnectionInput& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The type of the connection. Currently, these types are supported:
JDBC - Designates a connection to a database through Java
* Database Connectivity (JDBC).
KAFKA - Designates
* a connection to an Apache Kafka streaming platform.
* MONGODB - Designates a connection to a MongoDB document
* database.
NETWORK - Designates a network
* connection to a data source within an Amazon Virtual Private Cloud environment
* (Amazon VPC).
SFTP is not supported.
*/ inline const ConnectionType& GetConnectionType() const{ return m_connectionType; } /** *The type of the connection. Currently, these types are supported:
JDBC - Designates a connection to a database through Java
* Database Connectivity (JDBC).
KAFKA - Designates
* a connection to an Apache Kafka streaming platform.
* MONGODB - Designates a connection to a MongoDB document
* database.
NETWORK - Designates a network
* connection to a data source within an Amazon Virtual Private Cloud environment
* (Amazon VPC).
SFTP is not supported.
*/ inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; } /** *The type of the connection. Currently, these types are supported:
JDBC - Designates a connection to a database through Java
* Database Connectivity (JDBC).
KAFKA - Designates
* a connection to an Apache Kafka streaming platform.
* MONGODB - Designates a connection to a MongoDB document
* database.
NETWORK - Designates a network
* connection to a data source within an Amazon Virtual Private Cloud environment
* (Amazon VPC).
SFTP is not supported.
*/ inline void SetConnectionType(const ConnectionType& value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; } /** *The type of the connection. Currently, these types are supported:
JDBC - Designates a connection to a database through Java
* Database Connectivity (JDBC).
KAFKA - Designates
* a connection to an Apache Kafka streaming platform.
* MONGODB - Designates a connection to a MongoDB document
* database.
NETWORK - Designates a network
* connection to a data source within an Amazon Virtual Private Cloud environment
* (Amazon VPC).
SFTP is not supported.
*/ inline void SetConnectionType(ConnectionType&& value) { m_connectionTypeHasBeenSet = true; m_connectionType = std::move(value); } /** *The type of the connection. Currently, these types are supported:
JDBC - Designates a connection to a database through Java
* Database Connectivity (JDBC).
KAFKA - Designates
* a connection to an Apache Kafka streaming platform.
* MONGODB - Designates a connection to a MongoDB document
* database.
NETWORK - Designates a network
* connection to a data source within an Amazon Virtual Private Cloud environment
* (Amazon VPC).
SFTP is not supported.
*/ inline ConnectionInput& WithConnectionType(const ConnectionType& value) { SetConnectionType(value); return *this;} /** *The type of the connection. Currently, these types are supported:
JDBC - Designates a connection to a database through Java
* Database Connectivity (JDBC).
KAFKA - Designates
* a connection to an Apache Kafka streaming platform.
* MONGODB - Designates a connection to a MongoDB document
* database.
NETWORK - Designates a network
* connection to a data source within an Amazon Virtual Private Cloud environment
* (Amazon VPC).
SFTP is not supported.
*/ inline ConnectionInput& WithConnectionType(ConnectionType&& value) { SetConnectionType(std::move(value)); return *this;} /** *A list of criteria that can be used in selecting this connection.
*/ inline const Aws::VectorA list of criteria that can be used in selecting this connection.
*/ inline bool MatchCriteriaHasBeenSet() const { return m_matchCriteriaHasBeenSet; } /** *A list of criteria that can be used in selecting this connection.
*/ inline void SetMatchCriteria(const Aws::VectorA list of criteria that can be used in selecting this connection.
*/ inline void SetMatchCriteria(Aws::VectorA list of criteria that can be used in selecting this connection.
*/ inline ConnectionInput& WithMatchCriteria(const Aws::VectorA list of criteria that can be used in selecting this connection.
*/ inline ConnectionInput& WithMatchCriteria(Aws::VectorA list of criteria that can be used in selecting this connection.
*/ inline ConnectionInput& AddMatchCriteria(const Aws::String& value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria.push_back(value); return *this; } /** *A list of criteria that can be used in selecting this connection.
*/ inline ConnectionInput& AddMatchCriteria(Aws::String&& value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria.push_back(std::move(value)); return *this; } /** *A list of criteria that can be used in selecting this connection.
*/ inline ConnectionInput& AddMatchCriteria(const char* value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria.push_back(value); return *this; } /** *These key-value pairs define parameters for the connection.
*/ inline const Aws::MapThese key-value pairs define parameters for the connection.
*/ inline bool ConnectionPropertiesHasBeenSet() const { return m_connectionPropertiesHasBeenSet; } /** *These key-value pairs define parameters for the connection.
*/ inline void SetConnectionProperties(const Aws::MapThese key-value pairs define parameters for the connection.
*/ inline void SetConnectionProperties(Aws::MapThese key-value pairs define parameters for the connection.
*/ inline ConnectionInput& WithConnectionProperties(const Aws::MapThese key-value pairs define parameters for the connection.
*/ inline ConnectionInput& WithConnectionProperties(Aws::MapThese key-value pairs define parameters for the connection.
*/ inline ConnectionInput& AddConnectionProperties(const ConnectionPropertyKey& key, const Aws::String& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, value); return *this; } /** *These key-value pairs define parameters for the connection.
*/ inline ConnectionInput& AddConnectionProperties(ConnectionPropertyKey&& key, const Aws::String& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::move(key), value); return *this; } /** *These key-value pairs define parameters for the connection.
*/ inline ConnectionInput& AddConnectionProperties(const ConnectionPropertyKey& key, Aws::String&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, std::move(value)); return *this; } /** *These key-value pairs define parameters for the connection.
*/ inline ConnectionInput& AddConnectionProperties(ConnectionPropertyKey&& key, Aws::String&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::move(key), std::move(value)); return *this; } /** *These key-value pairs define parameters for the connection.
*/ inline ConnectionInput& AddConnectionProperties(ConnectionPropertyKey&& key, const char* value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::move(key), value); return *this; } /** *These key-value pairs define parameters for the connection.
*/ inline ConnectionInput& AddConnectionProperties(const ConnectionPropertyKey& key, const char* value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, value); return *this; } /** *A map of physical connection requirements, such as virtual private cloud
* (VPC) and SecurityGroup, that are needed to successfully make this
* connection.
A map of physical connection requirements, such as virtual private cloud
* (VPC) and SecurityGroup, that are needed to successfully make this
* connection.
A map of physical connection requirements, such as virtual private cloud
* (VPC) and SecurityGroup, that are needed to successfully make this
* connection.
A map of physical connection requirements, such as virtual private cloud
* (VPC) and SecurityGroup, that are needed to successfully make this
* connection.
A map of physical connection requirements, such as virtual private cloud
* (VPC) and SecurityGroup, that are needed to successfully make this
* connection.
A map of physical connection requirements, such as virtual private cloud
* (VPC) and SecurityGroup, that are needed to successfully make this
* connection.