7#include <aws/codeconnections/CodeConnections_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codeconnections/model/Connection.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace CodeConnections
43 template<
typename ConnectionsT = Aws::Vector<Connection>>
44 void SetConnections(ConnectionsT&& value) { m_connectionsHasBeenSet =
true; m_connections = std::forward<ConnectionsT>(value); }
45 template<
typename ConnectionsT = Aws::Vector<Connection>>
47 template<
typename ConnectionsT = Connection>
58 template<
typename NextTokenT = Aws::String>
59 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
60 template<
typename NextTokenT = Aws::String>
67 template<
typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
69 template<
typename RequestIdT = Aws::String>
75 bool m_connectionsHasBeenSet =
false;
78 bool m_nextTokenHasBeenSet =
false;
81 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
ListConnectionsResult & AddConnections(ConnectionsT &&value)
const Aws::Vector< Connection > & GetConnections() const
const Aws::String & GetRequestId() const
void SetConnections(ConnectionsT &&value)
const Aws::String & GetNextToken() const
AWS_CODECONNECTIONS_API ListConnectionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListConnectionsResult & WithConnections(ConnectionsT &&value)
AWS_CODECONNECTIONS_API ListConnectionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListConnectionsResult & WithRequestId(RequestIdT &&value)
void SetNextToken(NextTokenT &&value)
AWS_CODECONNECTIONS_API ListConnectionsResult()=default
ListConnectionsResult & WithNextToken(NextTokenT &&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