7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/eventbridge/EventBridge_EXPORTS.h>
10#include <aws/eventbridge/model/Connection.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace EventBridge {
37 template <
typename ConnectionsT = Aws::Vector<Connection>>
39 m_connectionsHasBeenSet =
true;
40 m_connections = std::forward<ConnectionsT>(value);
42 template <
typename ConnectionsT = Aws::Vector<Connection>>
47 template <
typename ConnectionsT = Connection>
49 m_connectionsHasBeenSet =
true;
50 m_connections.emplace_back(std::forward<ConnectionsT>(value));
65 template <
typename NextTokenT = Aws::String>
67 m_nextTokenHasBeenSet =
true;
68 m_nextToken = std::forward<NextTokenT>(value);
70 template <
typename NextTokenT = Aws::String>
80 template <
typename RequestIdT = Aws::String>
82 m_requestIdHasBeenSet =
true;
83 m_requestId = std::forward<RequestIdT>(value);
85 template <
typename RequestIdT = Aws::String>
97 bool m_connectionsHasBeenSet =
false;
98 bool m_nextTokenHasBeenSet =
false;
99 bool m_requestIdHasBeenSet =
false;
ListConnectionsResult & WithNextToken(NextTokenT &&value)
ListConnectionsResult & WithRequestId(RequestIdT &&value)
AWS_EVENTBRIDGE_API ListConnectionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListConnectionsResult & AddConnections(ConnectionsT &&value)
const Aws::String & GetRequestId() const
AWS_EVENTBRIDGE_API ListConnectionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Connection > & GetConnections() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetNextToken() const
ListConnectionsResult & WithConnections(ConnectionsT &&value)
void SetNextToken(NextTokenT &&value)
AWS_EVENTBRIDGE_API ListConnectionsResult()=default
void SetConnections(ConnectionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue