AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ConnectionsList.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/Glue_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
29 public:
30 AWS_GLUE_API ConnectionsList() = default;
34
36
39 inline const Aws::Vector<Aws::String>& GetConnections() const { return m_connections; }
40 inline bool ConnectionsHasBeenSet() const { return m_connectionsHasBeenSet; }
41 template <typename ConnectionsT = Aws::Vector<Aws::String>>
42 void SetConnections(ConnectionsT&& value) {
43 m_connectionsHasBeenSet = true;
44 m_connections = std::forward<ConnectionsT>(value);
45 }
46 template <typename ConnectionsT = Aws::Vector<Aws::String>>
47 ConnectionsList& WithConnections(ConnectionsT&& value) {
48 SetConnections(std::forward<ConnectionsT>(value));
49 return *this;
50 }
51 template <typename ConnectionsT = Aws::String>
52 ConnectionsList& AddConnections(ConnectionsT&& value) {
53 m_connectionsHasBeenSet = true;
54 m_connections.emplace_back(std::forward<ConnectionsT>(value));
55 return *this;
56 }
58 private:
59 Aws::Vector<Aws::String> m_connections;
60 bool m_connectionsHasBeenSet = false;
61};
62
63} // namespace Model
64} // namespace Glue
65} // 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