/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { namespace Model { /** *

Specifies the connections used by a job.

See Also:

AWS * API Reference

*/ class ConnectionsList { public: AWS_GLUE_API ConnectionsList(); AWS_GLUE_API ConnectionsList(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API ConnectionsList& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A list of connections used by the job.

*/ inline const Aws::Vector& GetConnections() const{ return m_connections; } /** *

A list of connections used by the job.

*/ inline bool ConnectionsHasBeenSet() const { return m_connectionsHasBeenSet; } /** *

A list of connections used by the job.

*/ inline void SetConnections(const Aws::Vector& value) { m_connectionsHasBeenSet = true; m_connections = value; } /** *

A list of connections used by the job.

*/ inline void SetConnections(Aws::Vector&& value) { m_connectionsHasBeenSet = true; m_connections = std::move(value); } /** *

A list of connections used by the job.

*/ inline ConnectionsList& WithConnections(const Aws::Vector& value) { SetConnections(value); return *this;} /** *

A list of connections used by the job.

*/ inline ConnectionsList& WithConnections(Aws::Vector&& value) { SetConnections(std::move(value)); return *this;} /** *

A list of connections used by the job.

*/ inline ConnectionsList& AddConnections(const Aws::String& value) { m_connectionsHasBeenSet = true; m_connections.push_back(value); return *this; } /** *

A list of connections used by the job.

*/ inline ConnectionsList& AddConnections(Aws::String&& value) { m_connectionsHasBeenSet = true; m_connections.push_back(std::move(value)); return *this; } /** *

A list of connections used by the job.

*/ inline ConnectionsList& AddConnections(const char* value) { m_connectionsHasBeenSet = true; m_connections.push_back(value); return *this; } private: Aws::Vector m_connections; bool m_connectionsHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws