AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ConnectionsList.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GLUE_API ConnectionsList() = default;
39
40
42
45 inline const Aws::Vector<Aws::String>& GetConnections() const { return m_connections; }
46 inline bool ConnectionsHasBeenSet() const { return m_connectionsHasBeenSet; }
47 template<typename ConnectionsT = Aws::Vector<Aws::String>>
48 void SetConnections(ConnectionsT&& value) { m_connectionsHasBeenSet = true; m_connections = std::forward<ConnectionsT>(value); }
49 template<typename ConnectionsT = Aws::Vector<Aws::String>>
50 ConnectionsList& WithConnections(ConnectionsT&& value) { SetConnections(std::forward<ConnectionsT>(value)); return *this;}
51 template<typename ConnectionsT = Aws::String>
52 ConnectionsList& AddConnections(ConnectionsT&& value) { m_connectionsHasBeenSet = true; m_connections.emplace_back(std::forward<ConnectionsT>(value)); return *this; }
54 private:
55
56 Aws::Vector<Aws::String> m_connections;
57 bool m_connectionsHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace Glue
62} // namespace Aws
ConnectionsList & WithConnections(ConnectionsT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectionsList & AddConnections(ConnectionsT &&value)
AWS_GLUE_API ConnectionsList & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConnections(ConnectionsT &&value)
AWS_GLUE_API ConnectionsList()=default
AWS_GLUE_API ConnectionsList(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetConnections() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue